Class Inheritance Metrics-An Analytical and Empirical Approach
Main Article Content
Abstract
Inheritance is a powerful mechanism in Object-Oriented (OO) programming. This mechanism supports the class hierarchy design and captures the IS-A relationship between a super class and its subclass. Several OO metrics have been proposed and their reviews are available in the literature. Among the various measurements of OO characteristics, this paper focuses on the metrics of class inheritance hierarchies. In this paper first a class inheritance metric DITC (Depth of Inheritance Tree of a Class) metric based on finding the depth of inheritance tree of a class (DITC) metric for class inheritance hierarchy in terms of sum of the attributes (private, protected, public and inherited) and methods (private, protected, public and inherited) at each level is proposed, then an analytical evaluation of DITC metric against Weyuker’s axioms [18] is given in discussion part and then attempt has been made to define an empirical relation between development time with respect to its dependence on classes in class inheritance hierarchy at each level. Attempt has also been made to analyze the various dependencies of development time of class in class inheritance hierarchy at each level upon its different class inheritance metric values. Data for several class inheritance hierarchies has been collected from various resources
Article Details
How to Cite
Rajnish, K., & Bhattacherjee, V. (2008). Class Inheritance Metrics-An Analytical and Empirical Approach. INFOCOMP Journal of Computer Science, 7(3), 25–34. Retrieved from https://infocomp.dcc.ufla.br/index.php/infocomp/article/view/226
Section
Articles
Upon receipt of accepted manuscripts, authors will be invited to complete a copyright license to publish the paper. At least the corresponding author must send the copyright form signed for publication. It is a condition of publication that authors grant an exclusive licence to the the INFOCOMP Journal of Computer Science. This ensures that requests from third parties to reproduce articles are handled efficiently and consistently and will also allow the article to be as widely disseminated as possible. In assigning the copyright license, authors may use their own material in other publications and ensure that the INFOCOMP Journal of Computer Science is acknowledged as the original publication place.