Developing a Nested Class Complexity Metric for Nested Classes

In Object-oriented programming languages like Java; it is the basic need to define a class within another class. These classes are known as nested classes or inner classes. The scope of a nested class is limited to its outer class. All the variables and methods of outer class are accessible inside inner class enhances encapsulation. Nested classes also help in packaging of the classes. In this paper, we propose a new metric, namely, Nested Class Complexity Metric (NCCM) to measure the complexity of nested classes and the results are compared with existing metrics, which are quite encouraging. 

[1]  Sanjay Misra An Object Oriented Complexity Metric Based on Cognitive Weights , 2007, 6th IEEE International Conference on Cognitive Informatics.

[2]  Chris F. Kemerer,et al.  Towards a metrics suite for object oriented design , 2017, OOPSLA '91.

[3]  Sandro Morasca,et al.  Defining and Validating Measures for Object-Based High-Level Design , 1999, IEEE Trans. Software Eng..

[4]  Richard H. Carver,et al.  An Evaluation of the MOOD Set of Object-Oriented Software Metrics , 1998, IEEE Trans. Software Eng..

[5]  A. Ghani,et al.  DEVELOPING A COMPLEXITY METRIC FOR INNER CLASSES , 2009 .

[6]  K. K. Aggarwal,et al.  Empirical Study of Object-Oriented Metrics , 2006, J. Object Technol..

[7]  Sim Hui Tee Developing a Maintainability Metric for Inner Classes , 2010 .

[8]  John D. Musa,et al.  Software Reliability Engineering , 1998 .

[9]  Teri Roberts Metrics for object-oriented software development , 1992, OOPSLA '92.

[10]  Roger S. Pressman,et al.  Software Engineering: A Practitioner's Approach , 1982 .

[11]  Mei-Hwa Chen,et al.  An empirical study on object-oriented metrics , 1999, Proceedings Sixth International Software Metrics Symposium (Cat. No.PR00403).

[12]  Sallie M. Henry,et al.  Object-oriented metrics that predict maintainability , 1993, J. Syst. Softw..

[13]  Chris F. Kemerer,et al.  A Metrics Suite for Object Oriented Design , 2015, IEEE Trans. Software Eng..

[14]  David P. Darcy,et al.  Managerial Use of Metrics for Object-Oriented Software: An Exploratory Analysis , 1998, IEEE Trans. Software Eng..

[15]  Usha Chhillar,et al.  Establishing Relationship between Complexity and Faults for Object-Oriented Software Systems , 2011 .