Measurement of Dynamic Complexity using Aspect Oriented Approach

Authors

  • Manju
  • Pradeep Kumar Bhatia

DOI:

https://doi.org/10.46243/jstj.2020.v5.i2.291

Keywords:

Dynamic, complexity, quality, aspect

Abstract

Complexity plays a vital role to find quality of software. There are lots of static or compile time metrics available in literature to find complexity of software, but very few metrics are available to find runtime complexity of software. In this paper, value of existing complexity metric is calculated by using CodeMR tool which is an Eclipse plugin. Further, we introduced a new metric named DWMC, dynamic weighted method complexity to measure complexity of a class at run time. A new tool is purposed named DynaDwmc implemented in AspectJusing aspect oriented programming to measure the value of purposed metric. After that, comparison of static WMC and runtime DWMC metric values is done. An experimental study is done on 15 java classes and it is concluded that purposed metric DWMC plays a significant role to find complexity, hence quality of software system.

References

AspectJ<http://www.eclipse.org/aspectj>

S.R. Chidamber and C.F. Kemerer, “Towards a Metrics Suite for Object Oriented Design”, Proc. 6th ACM Conf. Object-Oriented Programming: Systems, Languages and Applications (OOPSLA), Phoenix, AZ, pp. 197-211, Oct.1991

S.R. Chidamber and C. F. Kemerer, “A Metrics Suite for Object-OrientedDesign”, IEEE Transactions on Software Engineering, vol. 20, no. 6, pp. 476-493, 1994. [4]S. Yacoub, H. Ammar, and T. Robinson, “Dynamic Metrics for Object-Oriented designs”, Proc. 5th International Software Metrics Symposium, Boca Raton, Florida, USA, pp.50–61,1999

J. Tian, and M.V. Zelkowitz, “A Formal Program Complexity Model and its Application”, Journal of Systems and Software, vol. 17, no. 3, pp. 253-266,1992

D.P. Tegarden, S.D. Sheetz, D.E. Monarchi, “A Software Complexity Model of Object-Oriented Systems”, Decision Support Systems: the International Journal, vol. 13, pp. 241-262,1995

J.C. Munson and T.M. Khoshgoftaar, “Measuring Dynamic ProgramComplexity”,IEEE Software, vol. 9, no. 6, pp. 48-55, 1992

https://o7planning.org/en/10257/java-aspect-oriented-programming-tutorial-with-aspectj

https://www.codemr.co.uk/docs/codemr-intellij-userguide.pdf

https://www.eclipse.org/aspectj/doc/next/progguide/printable.html [11]https://www.geeksforgeeks.org/

Published

2020-04-09

How to Cite

Manju, & Bhatia, P. K. (2020). Measurement of Dynamic Complexity using Aspect Oriented Approach. Journal of Science & Technology , 5(2), 71–75. https://doi.org/10.46243/jstj.2020.v5.i2.291