3 results
Search Results
Now showing 1 - 3 of 3
Article Citation - WoS: 4Citation - Scopus: 5Object-Oriented Inheritance Metrics in the Context of Cognitive Complexity(Ios Press, 2011) Mishra, Deepti; Mishra, AlokIt is important to identify modules that are fault prone or exhibit evidence of high cognitive complexity as these modules require corrective actions such as increased source code inspection, refactoring or performing more exhaustive testing. This can lead to a better quality software system. It has been found that inheritance has an impact on the cognitive complexity of a software system. In this paper, two inheritance metrics based on cognitive complexity, one at class level CCI (Class Complexity due to Inheritance) and another at program level ACI (Average Complexity of a program due to Inheritance), have been proposed for object-oriented software systems. Additionally, one more metric MC (Method Complexity) has been proposed to calculate the complexity of a method. These proposed metrics are compared with some well known object-oriented inheritance metrics by calculating their values for three random C++ programs. It has been observed that CCI and ACT are better to represent cognitive complexity due to inheritance than other well known class level and program level inheritance metrics.Article Citation - WoS: 11Citation - Scopus: 12Estimating Quality of Javascript(Zarka Private Univ, 2012) Misra, Sanjay; Cafer, Ferid; Computer EngineeringThis paper proposes a complexity metric for Java script since JavaScript is the most popular scripting language that can run in all of the major web browsers. The proposed metric "JavaScript Cognitive Complexity Measure (JCCM)" is intended to assess the design quality of scripts. The metrics has been evaluated theoretically and validated empirically through real test cases. The metric has also been compared with other similar metrics. The theoretical, empirical validation and comparative study prove the worth and robustness of the metric.Article Citation - WoS: 32Citation - Scopus: 46Weighted Class Complexity: a Measure of Complexity for Object Oriented System(inst information Science, 2008) Misra, Sanjay; Akman, K. Ibrahim; Computer EngineeringSoftware complexity metrics are used to predict critical information about reliability and maintainability of software systems. Object oriented software development requires a different approach to software complexity metrics. In this paper, we propose a metric to compute the structural and cognitive complexity of class by associating a weight to the class, called as Weighted Class Complexity (WCC). On the contrary, of the other metrics used for object oriented systems, proposed metric calculates the complexity of a class due to methods and attributes in terms of cognitive weight. The proposed metric has been demonstrated with 00 examples. The theoretical and practical evaluations based on the information theory have shown that the proposed metric is on ratio scale and satisfies most of the parameters required by the measurement theory.

