This Article 
   
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
2009 IEEE International Conference on Software Maintenance
Modeling class cohesion as mixtures of latent topics
Edmonton, AB, Canada
September 20-September 26
ISBN: 978-1-4244-4897-5
Yixun Liu, Computer Science Department, The College of William and Mary, Williamsburg, VA 23185
Denys Poshyvanyk, Computer Science Department, The College of William and Mary, Williamsburg, VA 23185
Rudolf Ferenc, Department of Software Engineering, University of Szeged, Szeged, Hungary
Tibor Gyimothy, Department of Software Engineering, University of Szeged, Szeged, Hungary
Nikos Chrisochoides, Computer Science Department, The College of William and Mary, Williamsburg, VA 23185
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.
Citation:
Yixun Liu, Denys Poshyvanyk, Rudolf Ferenc, Tibor Gyimothy, Nikos Chrisochoides, "Modeling class cohesion as mixtures of latent topics," icsm, pp.233-242, 2009 IEEE International Conference on Software Maintenance, 2009
Usage of this product signifies your acceptance of the Terms of Use.