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 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 theoretically validate six lack-of-cohesion based metrics. Results show that most of the metrics considered satisfy the majority of the class cohesion necessary properties. Key-Words: object-oriented class, software quality, class cohesion metric, class cohesion.
منابع مشابه
Improving the quality of software cohesion metrics through dynamic analysis
Class cohesion is an important object oriented software quality attribute. Assessing the class cohesion and improving the class quality accordingly during the object oriented design phase allows for cheaper management of the later phases. Most of the cohesion metrics planned in the journalism describes static cohesion measurement at design level. Static metrics is a measure that is applied at t...
متن کاملA Knowledge-Based Cohesion Metric for Object-Oriented Software
This paper presents Percentage of Shared Ideas (PSI), a metric for measuring the semantic cohesion of a class in object-oriented software. PSI uses information in a knowledge base to quantify the cohesiveness of a class’s task in the problem domain, allowing a clearer view of cohesion than code syntax provides. Furthermore, this metric is independent of code structure and could be calculated be...
متن کاملTheoretical Validation of Cohesion Metrics in Object Oriented Systems
One of the fundamental concepts of object-oriented (OO) systems is to build high quality software especially in the software industry. Therefore, the software developed using this paradigm is expected to be more reliable, easier to maintain, and more likely to be reused. Furthermore, effective control of development projects requires the use of sophisticated metrics for software quality. This, ...
متن کاملRun-Time Cohesion Metrics: An Empirical Investigation
Cohesion is one of the fundamental measures of the ’goodness’ of a software design. The most accepted and widely studied object-oriented cohesion metric is Chidamber and Kemerer’s Lack of Cohesion in Methods measure. However due to the nature of object-oriented programs, static design metrics fail to quantify all the underlying dimensions of cohesion, as program behaviour is a function of it op...
متن کاملBetter Object Oriented Paradigm Inheritance and Interface through Cohesion Metrics
Measurement is fundamental to any engineering discipline. Cohesion metrics play an important role in empirical software engineering research as well as in industrial measurement programs. The Cohesion metrics presented in this paper measure the difference between class inheritance and interface programming.. This paper presents a measurement to measure cohesion by Lack of Cohesion in Methods (L...
متن کامل