Improving object-oriented lack-of-cohesion metric by excluding special methods

作者: Jehad Al Dallal

DOI:

关键词: Cohesion (computer science)Empirical researchSoftware qualityData miningRestructuringInformation retrievalClass cohesionObject-oriented programmingComputer scienceJavaSoftware

摘要: Classes are the basic units in object-oriented programs, and therefore, their quality has impact on overall of software. Class cohesion is a key factor, it refers to degree relatedness class attributes methods. Software developers use measure assess products guide restructuring poorly designed classes. Several metrics proposed literature, considering special methods (i.e., constructors, destructors, access methods) calculation not empirically studied for most them. In this paper, we address issue one popular metrics, referenced as Lack Cohesion (LCOM). Our empirical study involves applying metric with without classes two open source Java applications statistically analyzing results. The results show that ability LCOM indicating slightly improves when excluding from computation.

参考文章(24)
Letha H. Etzkorn, Wei Li, Jagdish Bansiya, Carl G. Davis, Clarifying specialized forms of association in UML and OML Journal of Object-oriented Programming. ,vol. 11, pp. 47- 50 ,(1998)
Lionel C. Briand, Jürgen Wüst, Hakim Lounis, Replicated Case Studies for Investigating Quality Factorsin Object-Oriented Designs Empirical Software Engineering. ,vol. 6, pp. 11- 58 ,(2001) , 10.1023/A:1009815306478
Kunjung Sim, Kunho Sim, Heeae Ko, Yonghwan Lim, Jongkeun Kim, A Study on the Mobile Web Generating using Element of User Experience World Academy of Science, Engineering and Technology, International Journal of Computer, Electrical, Automation, Control and Information Engineering. ,vol. 1, pp. 3016- 3022 ,(2007)
Stanley Lemeshow, David W. Hosmer, Applied Logistic Regression ,(1989)
Steve Counsell, Stephen Swift, Jason Crampton, The interpretation and utility of three cohesion metrics for object-oriented design ACM Transactions on Software Engineering and Methodology. ,vol. 15, pp. 123- 149 ,(2006) , 10.1145/1131421.1131422
Jehad Al Dallal, Improving the applicability of object-oriented class cohesion metrics Information & Software Technology. ,vol. 53, pp. 914- 928 ,(2011) , 10.1016/J.INFSOF.2011.03.004
Jehad Al Dallal, Lionel C. Briand, A Precise Method-Method Interaction-Based Cohesion Metric for Object-Oriented Classes ACM Transactions on Software Engineering and Methodology. ,vol. 21, pp. 8- ,(2012) , 10.1145/2089116.2089118
James M. Bieman, Byung-Kyoo Kang, Cohesion and reuse in an object-oriented system symposium on software reusability. ,vol. 20, pp. 259- 262 ,(1995) , 10.1145/211782.211856
Challa Bonja, Eyob Kidanmariam, Metrics for class cohesion and similarity between methods Proceedings of the 44th annual southeast regional conference on - ACM-SE 44. pp. 91- 95 ,(2006) , 10.1145/1185448.1185469
Shyam R. Chidamber, Chris F. Kemerer, Towards a metrics suite for object oriented design ,(2011)