Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Information and software technology, 2020-10, Vol.126, p.106332, Article 106332
2020

Details

Autor(en) / Beteiligte
Titel
Recommending refactorings via commit message analysis
Ist Teil von
  • Information and software technology, 2020-10, Vol.126, p.106332, Article 106332
Ort / Verlag
Elsevier B.V
Erscheinungsjahr
2020
Link zum Volltext
Quelle
Elsevier ScienceDirect Journals Complete
Beschreibungen/Notizen
  • The purpose of software restructuring, or refactoring, is to improve software quality and developer productivity. Prior studies have relied mainly on static and dynamic analysis of code to detect and recommend refactoring opportunities, such as code smells. Once identified, these smells are fixed by applying refactorings which then improve a set of quality metrics. While this approach has value and has shown promising results, many detected refactoring opportunities may not be related to a developer’s current context and intention. Recent studies have shown that while developers document their refactoring intentions, they may miss relevant refactorings aligned with their rationale. In this paper, we first identify refactoring opportunities by analyzing developer commit messages and check the quality improvements in the changed files, then we distill this knowledge into usable context-driven refactoring recommendations to complement static and dynamic analysis of code. The evaluation of our approach, based on six open source projects, shows that we outperform prior studies that apply refactorings based on static and dynamic analysis of code alone. This study provides compelling evidence of the value of using the information contained in existing commit messages to recommend future refactorings.
Sprache
Englisch
Identifikatoren
ISSN: 0950-5849
eISSN: 1873-6025
DOI: 10.1016/j.infsof.2020.106332
Titel-ID: cdi_crossref_primary_10_1016_j_infsof_2020_106332

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX