Measurement of Dynamic Complexity using Aspect Oriented Approach
Keywords:
Dynamic, complexity, quality, aspectAbstract
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.