An Investigation of the Relationship between Extract Method and Change Metrics: A Case Study of JEdit
2018 25th Asia-Pacific Software Engineering Conference (APSEC)(2018)
摘要
Extract Method is one of the most widely used refactoring patterns. So far, low quality of source code has been regarded as an indicator for Extract Method opportunities. However, recent studies showed that there is no clear relationship between source code quality and Extract Method. Change metrics can be indicators for Extract Method because the characteristics of software evolution strongly affect software quality. However, there has been no study that investigated the relationship between change metrics and Extract Method. In this study, we conducted two studies investigating the relationship between Extract Method and change metrics. As a result, we found that (1) change metrics have a clear relationship with Extract Method and (2) both product and change metrics are necessary to recommend candidates for Extract Method with high accuracy.
更多查看译文
关键词
Measurement,Software quality,Tools,History,Java,Data mining
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络