Class Complexity Metric to Predict Understandability

Full Text (PDF, 1120KB), PP.69-76

Views: 0 Downloads: 0

Author(s)

Kumar Rajnish 1,*

1. Department of Information Technology, Birla Institute of Technology, Mesra, Ranchi, India

* Corresponding author.

DOI: https://doi.org/10.5815/ijieeb.2014.01.08

Received: 14 Nov. 2013 / Revised: 11 Dec. 2013 / Accepted: 6 Jan. 2014 / Published: 8 Feb. 2014

Index Terms

Complexity, Metrics, Object-Oriented, Classes, Understandability, Methods, Instance variables

Abstract

This paper presents a new class complexity metric of an Object-Oriented (OO) program which is used to predict the understandability of classes. The propose complexity metric is evaluated theoretically against Weyuker's properties to analyze the nature of metric and empirically evaluated against three small projects developed by Post Graduate (PG)/Under Graduate (UG) teams. Least Square Regression Analysis technique is performed to arrive at the result and find correlation coefficient of propose metric with the Degree of Understandability. The result indicates that the propose metric is a good predictor of understandability of classes. JHAWK TOOL (Java Code Metrics Tool) were used to evaluate the parameters values involved in propose metric and for analyzing the results of projects, Matlab6.1 and IBM SPSS software were used.

Cite This Paper

Kumar Rajnish, "Class Complexity Metric to Predict Understandability", International Journal of Information Engineering and Electronic Business(IJIEEB), vol.6, no.1, pp.69-76, 2014. DOI:10.5815/ijieeb.2014.01.08

Reference

[1]IEEE Std 1061-1998.,"Standard for software Quality Metrics Methodology", IEEE Computer society, 1998.

[2]Rajnish. K and Bhattacherjee. V, "Complexity of class and development time: A Study", Journal of theoretical and Applied Information Technology (JATIT), Asian Research Publication Network (ARPN), Scopus (Elsevier) Index, Vol. 3, No. 1, 2006, pp. 63-70.

[3]Rajnish. K and Bhattacherjee. V, "Object-Oriented Class Complexity Metric-A Case Study", Proceedings of 5th Anuual International Conference on Information Science Technology and Management (CISTM) 2020 pennsylvania NW, Ste 904, Washington DC, publish by the Information Institute, USA, 2007, pp.36-45.

[4]Kulkarni. L, Kalshetty. R. Y and Arde. V. G, "Validation of CK metrics for Object-Oriented design measurement", proceedings of third international conf. on Emerging Trends in Engineering and Technology, IEEE Computer Soceity, 2010, pp. 646-651.

[5]Misra. S, Akman. I and Koyuncu. M, "An inheritance complexity metric for object-oriented code:A cognitive approach", Indian Academy of Sciences, Vol. 36, Part 3, 2011, pp. 317–337.

[6]Chidamber. R. S and Kemerer. F. C, "A Metric Suite for Object-Oriented Design", IEEE Transaction on Software Engineering, Vol. 20, No. 6, 1994, pp. 476-493. 

[7]Alshayeb. M and Li. W, "An Empirical Validation of Object – Oriented Metrics in Two Different Iterative Software Processes", IEEE Trans. on Software Engineering, Vol. 29, No. 11, 2003, pp.1043 – 1049.

[8]Emam. EL. K, Benlarbi. S, Goel. N and Rai. N. S, "The Confounding Effect of Class Size on the Validity of Object – Oriented Metrics", IEEE Trans. Software Eng., Vol. 27, No.7, 2001, pp. 630 – 650.

[9]Evanco. M. W, Comments on "The Confounding Effect of Class Size on the Validity of Object-Oriented Metrics", IEEE Trans. on Software Engineering, Vol. 29, No.7, 2003, pp.670 – 672.

[10]Neville. I. C, Martin. J. S, "Comment on : A Metric Suite for Object-Oriented Design", IEEE Transaction on Software Engineering, Vol. 21, No. 3, 1995, pp.263-265.

[11]Agarwal. K. K, Singh. Y, Kaur. A and Malhotra. R, "Software Design Metrics for Object-Oriented Design", Journal of Object Technology, Vol. 6, No. 1, 2006, pp. 121-138.

[12]Koh. W. T, Selamat. H. M, Ghani. A. A. A, and Abdullah. R, "Review of Complexity Metrics for Object Oriented Software Products", IJCSNS International Journal of Computer Science and Network Security, VOL.8 No.11, 2008, pp. 317.337.

[13]Li. W, "Another Metric Suite for Object-Oriented Programming", The Journal of System and Software, Vol. 44, No. 2, 1998, pp. 155-162.

[14]Arisholm. E, Briand. C. L and Foyen. A, "Dynamic Coupling Measures for Object- Oriented Software", IEEE Trans. on Software Engineering, Vol. 30, No. 8, 2004, pp. 491 – 506.

[15]Chae. S. H, Kwon. R. Y and Bae. H. D, "Improving Cohesion Metrics for Classes by considering Dependent Instance Variables", IEEE Trans. on Software Engineering, Vol. 30, No.11, 2004, pp. 826 – 832

[16]Liu. D and Xu. S, "New Quality Metrics for Object-Oriented programs", Proceedings of Eighth ACIS Int. Conf. on Software Engineering, Artificial Intelligence, Networking, and parallel/ Distributing Computng, IEEE Computer Soceity, 2007, pp. 870-875. 

[17]Basilli. R. V and Melo. W. L, "A Validation of Object-Oriented Design Metrics as Quality indicators", IEEE Transaction on Software Engineering, Vol.22, No. 10, 1996, pp.751-761.

[18]Yacoub. S, Robinson. T and Ammar. H. H, "Dynamic Merics for Object-Oriented Design", Proceedings of 6th International Conf. on Software Metrics Symposium, 1999, pp. 50-61.

[19]Bansiya. J and Davis. C. G", A Hierarchical Model for Object-Oriented Design Quality Assessment", IEEE Transaction on Software Engineering, Vol. 28, No. 1, 2002, pp. 4-17.

[20]Munson. C. J and Khoshgoftaar. M. T", Measuring Dynamic program Complexity", IEEE Software, Vol. 9, No. 6, 1992, pp. 48-55.

[21]Mayo. A. K, Wake. S. A and Henry. S. M", Static and Dynamic Software Quality Metric tools", Department of Computer Science, Virginia Tech, Blacksburg, Technical Report, 1990.

[22]Mal. S and Rajnish. K, "Applicability of Weyuker's Property 9 to Inheritance Metric", International Journal of Computer Application", Foundation of Computer Science, USA, Vol. 66, No.12, 2013, pp.21-26 

[23]Mal. S and Rajnish. K, " New Quality Inheriatnce Metrics for Object-Oriented Design", International Journal of Software Engineering and its Application, SERSC, Scopus (Elsevier), Vol. 7, No. 6, pp. 185-200, November 2013.

[24]Weyuker. J. E, "Evaluating Software Complexity Measures", IEEE Trans. on Software Engineering, Vol.14, 1998, pp.1357-1365. 

[25]Abreu. B and Melo. W, "Evaluating the Impact of OO Design on Software Quality", presented at Third International Software Metrics Symposium, Berlin, 1996.