Show simple item record

dc.contributor.authorBavota, G
dc.contributor.authorMarcus, A
dc.contributor.authorOliveto, R
dc.contributor.authorDe Lucia, A
dc.description.abstractDuring software evolution the internal structure of the system undergoes continuous modifications. These continuous changes push away the source code from its original design, often reducing its quality, including class cohesion. In this paper we propose a method for automating the Extract Class refactoring. The proposed approach analyzes (structural and semantic) relationships between the methods in a class to identify chains of strongly related methods. The identified method chains are used to define new classes with higher cohesion than the original class, while preserving the overall coupling between the new classes and the classes interacting with the original class. The proposed approach has been first assessed in an artificial scenario in order to calibrate the parameters of the approach. The data was also used to compare the new approach with previous work. Then it has been empirically evaluated on real Blobs from existing open source systems in order to assess how good and useful the proposed refactoring solutions are considered by software engineers and how well the proposed refactorings approximate refactorings done by the original developers. We found that the new approach outperforms a previously proposed approach and that developers find the proposed solutions useful in guiding refactorings.en_US
dc.publisherSpringer Verlag (Germany)en_US
dc.titleAutomating Extract Class Refactoring: an Improved Method and its Evaluationen_US
dc.journal.titleEmpirical Software Engineering

Files in this item


There are no files associated with this item.

This item appears in the following Collection(s)

Show simple item record