ACM SIGSOFT Software Engineering Notes · 2005 · 79 citations · 13 references
ComputingChange ManagementChange MeasurementQuality EngineeringSoftware EngineeringSoftware DesignSoftware EvolutionSoftware MaintenanceSoftware RefactoringChange Dependency AnalysisChange History TrackingCode Smell DetectionCouplingsDependency AnalysisRefactoringRefactoring DetectionSource Code Evolution
Refactoring is one means of improving the structure of existing software. Locations for the application of refactoring are often based on subjective perceptions such as "bad smells", which are vague suspicions of design shortcomings. We exploit historical data extracted from repositories such as CVS and focus on change couplings: if some software parts change at the same time very often over several releases, this data can be used to point to candidates for refactoring. We adopt the concept of bad smells and provide additional change smells. Such a smell is hardly visible in the code, but easy to spot when viewing the change history. Our approach enables the detection of such smells allowing an engineer to apply refactoring on these parts of the source code to improve the evolvability of the software. For that, we analyzed the history of a large industrial system for a period of 15 months, proposed spots for refactorings based on change couplings, and performed them with the developers. After observing the system for another 15 months we finally analyzed the effectiveness of our approach. Our results support our hypothesis that the combination of change dependency analysis and refactoring is applicable and effective.
13
W. P. Stevens, G. J. Myers, Larry L. Constantine · IBM Systems Journal · 1974 · 1.2K citations
Mining Version Histories to Guide Software Changes
2004 · 495 citations
Predicting risk of software changes
Audris Mockus, David M. Weiss · Bell Labs Technical Journal · 2002 · 427 citations
Java quality assurance by detecting code smells
Eva van Emden, Leon Moonen · 2003 · 380 citations