DocumentCode
3197252
Title
Using structural and semantic metrics to improve class cohesion
Author
De Lucia, Andrea ; Oliveto, Rocco ; Vorraro, Luigi
Author_Institution
Dept. of Math. & Inf., Univ. of Salerno, Fisciano
fYear
2008
fDate
Sept. 28 2008-Oct. 4 2008
Firstpage
27
Lastpage
36
Abstract
Several refactoring methods have been proposed in the literature to improve the cohesion of classes. Very often, refactoring operations are guided by cohesion metrics based on the structural information of the source code, such as attribute references in methods. In this paper we present a novel approach to guide the extract class refactoring (M. Fowler, 1999), taking into account structural and semantic cohesion metrics. The proposed approach has been evaluated in a case study conducted on JHotDraw, an open source software system. The achieved results revealed that the performance achieved with the proposed approach significantly outperforms the results achieved with methods considering only structural or semantic information. The proposed approach has also been integrated in the Eclipse platform.
Keywords
object-oriented programming; programming language semantics; public domain software; software maintenance; Eclipse platform; JHotDraw; class cohesion; extract class refactoring; open source software system; refactoring methods; semantic metrics; source code; structural metrics; Data mining; Informatics; Information analysis; Information retrieval; Mathematics; Object oriented programming; Open source software; Programming profession; Software quality; Software systems;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2008. ICSM 2008. IEEE International Conference on
Conference_Location
Beijing
ISSN
1063-6773
Print_ISBN
978-1-4244-2613-3
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2008.4658051
Filename
4658051
Link To Document