An Empirical Study on the Impact of Code Duplication-aware Refactoring Practices on Quality Metrics

Eman Abdullah AlOmar · 2025

Read An Empirical Study on the Impact of Code Duplication-aware Refactoring Practices on Quality Metrics by Eman Abdullah AlOmar (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2502-04073.txt.

Description

Eman Abdullah AlOmar studied how removing duplicate code affects software quality metrics. Her 2025 arXiv paper looks at refactoring, the practice of improving code without changing its behavior. Developers often say in commit notes that they removed duplication. AlOmar asked whether standard quality metrics reflect that stated goal.

She gathered 332 refactoring commits from 128 open-source Java projects. From them she extracted structural metrics and the refactoring steps used. Statistical tests then tracked how each metric changed. Some metrics captured the intent to remove duplication well. Others were stressed more, and a few even moved in a worse direction. Most mapped metrics did match developer intent, the study concludes. A few did not fully capture it.

Catalog record

CREATOREman Abdullah AlOmar
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE79 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2502-04073

Browse the full library · About the Tower of Babel