In this paper, we review the design level class cohesion metrics with a special focus on metrics which use similarity of parameter types of methods of a class as the basis of its cohesiveness.Coupling and CohesionSource:Pfleeger, S., Software Engineering Theory and Practice. In comparison to source code level class cohesion metrics, only a few design level class cohesion metrics have been proposed.ĭesign level class cohesion metrics are based on the assumption that if all the methods of a class have access to similar parameter types then they all process closely related information.Ī class with a large number of parameter types common in its methods is more cohesive than a class with less number of parameter types common in its methods.
Cohesion And Coupling In Software Engineering Ppt Code Level Class View Show abstract Exploring Design Level Class Cohesion Metrics Article Full-text available Jan 2010 JSEA Kuljit Kaur Chahal Hardeep Singh In object oriented paradigm, cohesion of a class refers to the degree to which members of the class are interrelated. The discrimination metric measures the probability that a cohesion metric will produce distinct cohesion values for classes with the same number of attributes and methods but different CPCIs.Ī highly discriminating cohesion metric is more desirable because it exhibits a lower chance of incorrectly considering classes to be cohesively equal when they have different CPCIs.
Celestron 44300 driver for macįinally, we propose a metric and a simulation-based methodology to measure the discriminative power of cohesion metrics. In addition, we empirically study the frequent occurrence of the LDA problem when the considered metrics are applied to classes in five open source Java systems. In this paper, we list and discuss cases in which the LDA problem exists, as expressed through the use of 16 cohesion metrics. We refer to this as a lack of discrimination anomaly (LDA) problem. This leads to incorrectly considering the classes to be the same in terms of cohesion, even though their CPCIs clearly indicate that the degrees of cohesion are different. However, in some cases, these metrics obtain the same cohesion values for different classes that have the same number of methods and attributes but different CPCIs. Most of these metrics are normalized to allow for easy comparison of the cohesion of different classes. These metrics aim to measure the relationship between class members, namely, methods and attributes.ĭifferent metrics use different models to represent the connectivity pattern of cohesive interactions (CPCI) between class members.
View Show abstract Measuring the Discriminative Power of Object-Oriented Class Cohesion Metrics Article Full-text available Jan 2012 IEEE T SOFTWARE ENG Jehad Al Dallal Several object-oriented cohesion metrics have been proposed in the literature. H Object Oriented Design methodology is an emerging software development.
Request full-text PDF Citations (0) References (17) ResearchGate has not been able to resolve any citations for this publication.ĭesign Patterns as Quality Influencing Factor in Object Oriented Design Approach Article Full-text available Feb 2014 U.