Optimizing the Software Metrics for UML Structural and Behavioral Diagrams Using Metrics Tool


  • D. Singh Department of Computer Science and Engineering, Guru Nanak Dev Engineering College, Ludhiana, Punjab, India
  • H. J. S. Sidhu Department of Computer Applications, Desh Bhagat University, Mandi Gobindgarh, Punjab, India




UML diagrams, Object-oriented design, Metrics, Model-driven metrics


In this paper, we have proposed an efficient way to calculate the software metrics of structural and behavioural diagrams of unified modelling language (UML) with the help SD Metrics as a tool. This method is applied to measure the internal quality of attributes and functions of structural and behavioural diagrams of unified modelling language (UML). The SD metrics tool collect the information after parsing the XMI format generated by UML compiler of structural and behavioural UML diagrams. The object-oriented design made by structural and behavioural diagrams holds the important part of designing in the development process of the software. Early the measurement of metrics will lead to good quality of the software from coding, but now using the design metrics we calculate the cohesion, coupling and other metrics with easy and effective with the fewer efforts which improve the quality of software to be developed at the design phase.


S.V. Kumar, Santosh, “Impact of coupling and cohesion in object-oriented technology,” Journal of software engineering and applications, Vol. 5, pp. 671-676, 2012.

L. Kambow, D. Singh, “Visualizing the software metrics of state chart diagram using program slicing,” International Journal of Applied Information System (IJAIS), ISSN: 2249-0868, the foundation of computer science, New York, USA, Vol. 2, pp. 9, 2013.

T. Rani, M. Sanyal and S. Garg, “Measuring Software Design Class Metrics: A Tool Approach,” International Journal of Engineering Research &Technology (IJERT), ISSN: 2278-0181, Vol. 1, No. 7, September 2012.

Virtual Machinery, “Object-Oriented Software Metrics – Introduction and overview”, Virtual Machinery, [Online]. Available: http://www.virtualmachinery.com/jhawkmetrics.htm.

Kumar and S.K. Khalsa, “Determining cohesion and coupling for class diagram through slicing techniques”, IJACE, Vol. 4, No.1, pp. 19-24, Jan-June 2012.

D. Singh and A. Kamra, “Measuring Software design metrics of UML Structural and behavioural diagrams,” International Journal of computer &Mathematicl Sciences (IJCMS), ISSN: 2347-8527, Vol. 6, No. 5, May 2017.

M. Genero, “Defining and validating metrics for conceptual models,” [PhD thesis]. University of Castilla-La Mancha, 2002.

Weyuker, “Evaluating software complexity measures,” IEEE Transactions on Software Engineering, 14(9), pp.1357-1365, 1998.

S. Chidamber, “A metrics suite for object-oriented design”, IEEE Transactions on Software Engineering, June 1994.

M. Seyyed, “Object-Oriented Metrics”, Sharif University of Technology, International Journal of Science And Research, Department of Computer Engineering, January 2006.

T. Mythili, “Quality Metrics Tool for Object-Oriented Programming”, International Journal of Computer Theory and Engineering, Vol. 2, No. 5, October 2010.

P. Verma, “Effect of different UML diagrams to evaluate the size metrics for different software projects”, Global Journal of Computer Science and Technology Software and Engineering, Vol. 15, No. 8, version 1.0, February. 2015.

N. Ana, “Evolution of Object-Oriented Coupling Metrics: A Sampling of 25 Years of Research,” RWTH Aachen Univ., Aachen, Germany Horst Lichter , Yi Xu, pp. 16-18, May 2015.

Alshammari “A Hierarchical Security Assessment Model for Object-Oriented Programs,” Fac. of Science & Technol., Queensland Univ. of Technol., Brisbane, QLD, Australia, Colin Fidge, Diane Corney, pp. 13-14, July 2011.

S. Garg, K.S. Kahlon and P.K. Bansal, “How to Measure Coupling in AOP from UML Diagram” International Journal of Computer Science and Telecommunications, Vol. 2, No. 8, November 2011.

Jaiprakash, T. Lallchandani and R. Mall,“Static Slicing of UML Architectural Models,”Journal of Object Technology, vol. 8, No. 1, pages 159–188, January– February 2009.

P. Sikka and K. Kaur, “Mingling of Program Slicing to Designing Phase”, Indian Journal of Science and Technology, Vol. 9, No. 44, DOI: 10.17485/ijst/2016/v9i44/105091, November 2016.




How to Cite

Singh, D., & Sidhu, H. J. S. (2018). Optimizing the Software Metrics for UML Structural and Behavioral Diagrams Using Metrics Tool. Asian Journal of Computer Science and Technology, 7(2), 11–17. https://doi.org/10.51983/ajcst-2018.7.2.1877