DEVELOPING A COMPLEXITY METRIC FOR INNER CLASSES
Sim Hui Tee, Rodziah binti Atan, Abdul Azim, Abd Ghani · 2009
In some of the object-oriented programming languages such as Java, a regular class could contain one or more nested classes. These nested classes are called inner classes which are supposed to carry out more specific tasks for their outer class. However, extensive use of inner classes would result in increasing program complexity and costly maintenance. We propose a complexity metric to measure the complexity extent of inner classes. Our metric is able to measure the complexity of inner classes in term of breadth and depth.