Validating Object-Oriented Class Cohesion Metrics Mathematically
نویسنده
چکیده
Class cohesion refers to the extent to which the members of a class are related. Several class cohesion metrics are proposed in the literature to indicate class cohesion and a few of them are mathematically validated against the necessary properties of class cohesion. Metrics that violate class cohesion properties are not well defined, and their utility as indictors of the relatedness of class members is questionable. The purpose of this paper is to mathematically validate nine class cohesion metrics using class cohesion properties. Results show that the metrics differ considerably in satisfying the cohesion properties; some of them satisfy all properties and others satisfy none. Key-Words: object-oriented class, software quality, class cohesion metric, class cohesion.
منابع مشابه
Towards Cohesion-based Metrics as Early Quality Indicators of Faulty Classes and Components
Measuring structural design properties of an object-oriented system is a promising approach towards early quality assessments. In object-oriented systems, cohesion is an important factor of objectoriented design quality. A few researchers refer cohesion to the degree of the relatedness of the members in a class. In an object-oriented system, classes and components are key early artifacts that l...
متن کاملTheoretical Validation of Object-Oriented Lack-of-Cohesion Metrics
Class cohesion refers to the degree of relatedness of class attributes and methods. Software developers use class cohesion measure to assess the quality of their products and to guide the restructuring of poorly designed classes. Several class cohesion metrics are proposed in the literature, and a few of them are theoretically validated against the class cohesion necessary properties. Metrics t...
متن کاملDesign based Object-Oriented Metrics to Measure Coupling and Cohesion
The object oriented design and object oriented development environment are currently popular in software organizations due to the object oriented programming languages. As the object oriented technology enters into software organizations, it has created new challenges for the companies which used only product metrics as a tool for monitoring, controlling and maintaining the software product. Th...
متن کاملImproving Class Cohesion Measurement: Towards a Novel Approach Using Hierarchical Clustering
Class cohesion is considered as one of the most important object-oriented software attributes. High cohesion is, in fact, a desirable property of software. Many different metrics have been suggested in the last several years to measure the cohesion of classes in object-oriented systems. The class of structural object-oriented cohesion metrics is the most investigated category of cohesion metric...
متن کاملCoupling and Cohesion Measures in Object Oriented Programming
Many coupling and cohesion measures have been introduced in various surveys to identify and measure the design complexity of object oriented systems.A large numbers of metrics have been built and proposed for measuring properties of object-oriented software such as size, inheritance, cohesion and coupling.The coupling is an important aspect in the evaluation of reusability and maintainability o...
متن کامل