Loading...
Please wait, while we are loading the content...
Similar Documents
Improving object-oriented lack-of-cohesion metric by excluding special methods
| Content Provider | Semantic Scholar |
|---|---|
| Author | Dallal, Jehad Al |
| Copyright Year | 2011 |
| Abstract | Classes are the basic units in object-oriented programs, and therefore, their quality has impact on the overall quality of the software. Class cohesion is a key quality factor, and it 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 the impact of considering the special methods (i.e., constructors, destructors, and access methods) in cohesion calculation is not empirically studied for most of them. In this paper, we address this issue for one of the most popular class cohesion metrics, referenced as Lack of Cohesion (LCOM). Our empirical study involves applying the metric with and without considering special methods on classes of two open source Java applications and statistically analyzing the results. The empirical study results show that the ability of LCOM in indicating class quality slightly improves when excluding special methods from the LCOM computation. |
| Starting Page | 124 |
| Ending Page | 129 |
| Page Count | 6 |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://www.wseas.us/e-library/conferences/2011/Cambridge/SEPADS/SEPADS-18.pdf |
| Journal | ICSE 2011 |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |