Loading...
Thumbnail Image
Publication

Experimental assessment of software metrics using automated refactoring

Date
2012
Abstract
A large number of software metrics have been proposed in the literature, but there is little understanding of how these metrics relate to one another. We propose a novel experimental technique, based on search-based refactoring, to assess software metrics and to explore relationships between them. Our goal is not to improve the program being refactored, but to assess the software metrics that guide the automated refactoring through repeated refactoring experiments. We apply our approach to five popular cohesion metrics using eight real-world Java systems, involving 300,000 lines of code and over 3,000 refactorings. Our results demonstrate that cohesion metrics disagree with each other in 55% of cases, and show how our approach can be used to reveal novel and surprising insights into the software metrics under investigation.
Supervisor
Description
peer-reviewed
Publisher
Association for Computing Machinery
Citation
Proceedings of the ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM’12);pp. 49-58
Funding code
Funding Information
Science Foundation Ireland (SFI)
Sustainable Development Goals
External Link
License
Embedded videos