Inheritance and templates are key concepts in object-oriented programming (OOP), and are essential for achieving reusability and extendibility. The aim of this paper is to explore traditional Halstead's metrics and use them to propose more software metrics related to generic method and attributes in an object-oriented software. These metrics measure quantitative generic construct with inheritance in an object-oriented code. Two metrics GRr (Generic Reusability Ratio) and ERr (Effort Ratio) are proposed in this paper. First metric GRr (Generic Reusability Ratio) measures impact of template in program volume and second metric ERr (Effort Ratio) measures impact of template in development effort. These metrics will be a tool for estimating and evaluating costs of program design and program tests as well as program complexity.
In spite of large acceptance of object-oriented paradigm, many programmers don't have a firm grip on the design principles and the intimate mechanisms of object-orientation and this result into to a lot of poor designed large scale OO systems. Coupling in the software is one of the most vibrant internal quality attribute to measure the design performance. In this paper, we propose M essage Received Coupling (M RC) and Degree of Coupling (DC) metrics for the automatic detection of a set of design problems along with an algorithm to apply these metrics to redesign an object-oriented source code, if necessary. We also design a M ethod Calling Graph (M CG) that helps in calculating the value of proposed metrics. The revised set of metrics helps the developers to decide whether a design needs to be changed or left in its original form.
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.