How we refactor and how we document it? On the use of supervised machine learning algorithms to classify refactoring documentation

作者:

Highlights:

• This paper explores refactoring motivation and refactoring documentation.

• We apply machine learning to classify commit messages containing refactorings.

• Refactoring is solicited for several reasons, beyond its traditional definition.

• Developers use a variety of patterns to purposefully target refactoring activity.

摘要

•This paper explores refactoring motivation and refactoring documentation.•We apply machine learning to classify commit messages containing refactorings.•Refactoring is solicited for several reasons, beyond its traditional definition.•Developers use a variety of patterns to purposefully target refactoring activity.

论文关键词:Refactoring,Software quality,Software engineering,Machine learning

论文评审过程:Received 6 September 2020, Revised 25 October 2020, Accepted 26 October 2020, Available online 3 November 2020, Version of Record 10 February 2021.

论文官网地址:https://doi.org/10.1016/j.eswa.2020.114176