five

An Experimental Investigation on the Innate Relationship between Quality and Refactoring

收藏
DataCite Commons2020-09-04 更新2024-07-25 收录
下载链接:
https://figshare.com/articles/dataset/An_Experimental_Investigation_on_the_Innate_Relationship_between_Quality_and_Refactoring/1207916/1
下载链接
链接失效反馈
官方服务:
资源简介:
Previous research has investigated the reasons behind refactoring actions performed by developers, and proposed methods and tools to recommend refactoring actions based on quality metric profiles, or on the presence of poor design and implementation choices, i.e., code smells. Nevertheless, the existing literature lacks of observations about the relations between metrics/code smells and refactoring actions performed by developers. In otherwords, are unknown the characteristics of code artifacts pushing developers to refactor them. This paper aims at bridging this gap by analyzing which code characteristics triggers the application by developers of 52 different types of refactoring operations. To this aim, we mined the evolution history of three Java open source projects investigating if developers perception of code artifacts needing refactoring is inline with indications provided by quality metrics, change-proneness, and code smells presence. Moreover, we verify if developers are able to remove code smells from the system through refactoring. Results indicate that, more often than not, the developers' perception of which class needs to be refactored is not captured by quality metrics. Code artifacts having a high change-proneness attract more refactoring operations focused on improving code readability. Finally, 42% of refactoring operations are performed by developers on code smells. However, only 7% of the performed operations actually remove the code smells from the affected class.
提供机构:
figshare
创建时间:
2016-01-19
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作