DocumentCode
2209825
Title
Modeling class cohesion as mixtures of latent topics
Author
Liu, Yixun ; Poshyvanyk, Denys ; Ferenc, Rudolf ; Gyimóthy, Tibor ; Chrisochoides, Nikos
Author_Institution
Comput. Sci. Dept., Coll. of William & Mary, Williamsburg, VA, USA
fYear
2009
fDate
20-26 Sept. 2009
Firstpage
233
Lastpage
242
Abstract
The paper proposes a new measure for the cohesion of classes in object-oriented software systems. It is based on the analysis of latent topics embedded in comments and identifiers in source code. The measure, named as maximal weighted entropy, utilizes the latent Dirichlet allocation technique and information entropy measures to quantitatively evaluate the cohesion of classes in software. This paper presents the principles and the technology that stand behind the proposed measure. Two case studies on a large open source software system are presented. They compare the new measure with an extensive set of existing metrics and use them to construct models that predict software faults. The case studies indicate that the novel measure captures different aspects of class cohesion compared to the existing cohesion measures and improves fault prediction for most metrics, which are combined with maximal weighted entropy.
Keywords
object-oriented methods; public domain software; software fault tolerance; class cohesion modeling; large open source software system; latent Dirichlet allocation technique; maximal weighted entropy; object-oriented software system; software fault prediction; source code; Computer science; Educational institutions; Information entropy; Linear discriminant analysis; Object oriented modeling; Open source software; Software maintenance; Software measurement; Software quality; Software reusability;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance, 2009. ICSM 2009. IEEE International Conference on
Conference_Location
Edmonton, AB
ISSN
1063-6773
Print_ISBN
978-1-4244-4897-5
Electronic_ISBN
1063-6773
Type
conf
DOI
10.1109/ICSM.2009.5306318
Filename
5306318
Link To Document