International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 27 - Number 10 |
Year of Publication: 2011 |
Authors: Parul Gandhi, Pradeep Kumar Bhatia |
10.5120/3334-4585 |
Parul Gandhi, Pradeep Kumar Bhatia . Optimization of Object-Oriented Design using Coupling Metrics. International Journal of Computer Applications. 27, 10 ( August 2011), 41-44. DOI=10.5120/3334-4585
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 Message Received Coupling (MRC) 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 Method Calling Graph (MCG) 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.