Since the proposal for the six object-oriented metrics by Chidamber and Kemerer (1994), several studies have been conducted to validate their metrics and have discovered some deficiencies. Consequently, many new metrics for object-oriented systems have been proposed. Among the various measurements of objectoriented characteristics, we focus on the metrics of class inheritance hierarchies in design and maintenance. As such, we propose two simple and heuristic metrics for the class inheritance hierarchy for the maintenance of object-oriented software.In this paper we investigate the work of Chidamber and Kemerer (1994) and Li (1998), and extend their work to apply specifically to the maintenance of a class inheritance hierarchy. In doing so, we suggest new metrics for understandability and modifiability of a class inheritance hierarchy. The main contribution here includes the various comparisons that we have made. We discuss the advantages over Chidamber and Kemerer's (1994) metrics and Henderson-Sellers's (1996) metrics in the context of maintaining class inheritance hierarchies. Figure 6(a): (1 + 1 + 2 + 2 + 4)/5 = 2 AM of Figure 6(a): 2 + (2/2 + 2/2 + 1/2)/5 = 2.5 AU of Figure 6(b): (1 + 2 + 2 + 2)/4 = 1.75 AM of Figure 6(b): 1.75 + (3/2)/4 = 2.13 The understandability and modifiability of Figure 6(b) is better than Figure 6(a) in our metrics.
AU of
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.