Search Results

Now showing 1 - 6 of 6
  • Conference Object
    Comparative Study of Cognitive Complexity Measures
    (Ieee, 2008) Misra, Sanjay; Mısra, Sanjay; Akman, Ibrahim; Akman, Kamil İbrahim; Mısra, Sanjay; Akman, Kamil İbrahim; Computer Engineering; Computer Engineering
    Complexity metrics are used to predict critical information about reliability and maintainability of software systems. Cognitive complexity measure based on cognitive informatics, plays an important role in understanding the fundamental characteristics of software, therefore directly affects the understandability and maintainability of software systems. In this paper, we compared available cognitive complexity measures and evaluated cognitive weight complexity measure in terms of Weyuker's properties.
  • Conference Object
    Citation - WoS: 3
    Measuring Complexity of Object Oriented Programs
    (Springer-verlag Berlin, 2008) Misra, Sanjay; Akman, Ibrahim
    In this paper, a metric for object oriented language is formulated and validated. On the contrary of the other metrics used for object oriented programming (OOPS), the proposed metric calculates the complexity of a class at method level and hence considers the internal architecture of the classes, subclasses and member functions. The proposed metric is evaluated against Weyuker's proposed set of measurement principles through examples and validated through experimentation, case study and comparative study with similar measures. The practical usefulness of the metric is evaluated by a practical framework.
  • Conference Object
    Citation - WoS: 16
    Modified Cognitive Complexity Measure
    (Springer-verlag Berlin, 2006) Misra, Sanjay
    In cognitive functional size measure, the functional size is proportional to weighted cognitive complexity of all internal BCS's and number of input and output. This paper proposes the modification in cognitive functional size complexity measure. The proposed complexity measure is proportional to total occurrence of operators and operands and all internal BCS's. The operators and operands are equally important in design consideration. Thus, the contribution of the operators, operands and cognitive aspects complete the definition of a complexity measure in terms of cognitive. Accordingly, a new formula is developed for calculating the modified cognitive complexity measure. An attempt has also been made to evaluate modified cognitive complexity measure in terms of nine Weyuker's properties, through examples. It has been found that seven of nine Weyuker's properties have been satisfied by the modified cognitive complexity measure and hence establishes as a well-structured one.
  • Conference Object
    Citation - WoS: 14
    Citation - Scopus: 21
    Cognitive Program Complexity Measure
    (Ieee Computer Soc, 2007) Misra, Sanjay
    In cognitive informatics, the functional complexity of software depends on three factors: internal architecture, input, and output. In the earlier proposed metrics based on cognitive informatics, these above factors are not fully considered. This paper proposes an improved cognitive complexity measure. Accordingly, new formula is developed to calculate the cognitive complexity. An attempt has also been made to evaluate and validate the proposed measure through Weyuker's properties and a practical framework It has been found that seven of nine Weyuker's properties have been satisfied by the proposed cognitive complexity measure. It also satisfies most of the parameters required by the practical framework hence establishes as a well-structured one. Finally, a comparative study with similar measures has been made to prove its robustness.
  • Article
    Citation - WoS: 32
    Citation - Scopus: 46
    Weighted Class Complexity: a Measure of Complexity for Object Oriented System
    (inst information Science, 2008) Misra, Sanjay; Akman, K. Ibrahim; Computer Engineering
    Software 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.
  • Conference Object
    Citation - WoS: 12
    Citation - Scopus: 17
    An Object Oriented Complexity Metric Based on Cognitive Weights
    (Ieee Computer Soc, 2007) Misra, Sanjay
    Complexity in general is defined as "the degree to which a system or component has a design or implementation that is difficult to understand and verify". 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 metrics. In this paper, an attempt has been made to propose a metric for an object oriented code, which calculates the complexity of a class at method level. The proposed measure considers the internal architecture of the class, subclass, and member functions, while other proposed metrics for object oriented programming do not. An attempt has also been made to evaluate and validate the proposed measure in terms of Weyuker's properties and against the principles of measurement theory. It has been found that seven of nine Weyuker's properties have been satisfied by the proposed measure. It also satisfies most of the parameters required by the measurement theory perspective, hence establishes as a well-structured one.