Di, Zhang, Li, Bing, Li, Zengyang and Liang, Peng
(2018)
A Preliminary Investigation of Self-Admitted Refactorings in Open Source Software (S).
In: The 30th International Conference on Software Engineering and Knowledge Engineering.
Text
seke18paper_81.pdf - Published version Download (754kB) | Preview |
Abstract
In software development, developers commit code changes to the version control system. In a commit message, the committer may explicitly claim that the commit is a refactoring with the intention of code quality improvement. We defined such a commit as a self-Admitted refactoring (SAR). Currently, there is little knowledge about the SAR phenomenon, and the impact of SARs on software projects is not clear. In this work, we performed a preliminary investigation on SARs with an emphasis on their impact on code quality using the assessment of code smells. We used two non-Trivial open source software projects as cases and employed the PMD tool to detect code smells. The study results shows that: (1) SARs tend to improve code quality, though a small proportion of SARs introduced new code smells; and (2) projects that contain SARs have different results on frequently affected code smells.
Item Type: | Conference or Workshop Item (Unspecified) |
---|---|
Depositing User: | Symplectic Admin |
Date Deposited: | 03 Dec 2019 14:31 |
Last Modified: | 19 Jan 2023 00:17 |
DOI: | 10.18293/seke2018-081 |
Related URLs: | |
URI: | https://livrepository.liverpool.ac.uk/id/eprint/3064634 |