Does the Act of Refactoring Really Make Code Simpler? A Preliminary Study

SOKOL, F.; ANICHE, M. F.; GEROSA, MARCO A. "Does the Act of Refactoring Really Make Code Simpler? A Preliminary Study". WBMA 2013, 4th Brazilian Workshop on Agile Methods

Topics: Mining techniques and tools, Software evolution analysis , Agile Methods, Mining, Metric Miner

PDFPDF SlidesSlides

Abstract: Refactoring is the act of changing software code, usually to improve internal code quality, without changing its external behavior. Soetens and Demeyer (2010) analyzed one software and showed that code refactoring did not imply in better result for code quality metrics. In this work, we extend Soetens and Demeyer study, mining data from 256 software projects from Apache Software Foundation, using MetricMiner, a web application focused on supporting mining software repositories studies. The quantitative analysis showed that refactoring indeed does not decrease Cyclomatic Complexity. On the other hand, the qualitative analysis showed that a refactoring tends to improve code in terms of readability and maintainability