arrow
Return

Decomposing class responsibilities using distance-based method similarity

delete2016-05-14
delete3
PRE
AI
J
Jun-Ha Lee
D
Dae‐Kyoo Kim
S
Suntae Kim *
S
Sooyong Park
DOI:10.1007/s11704-015-5001-5delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Cohesion is a design quality that has a great impact on the posterior development and maintenance. As software evolves, the cohesion of the system becomes weaker due to the changes introduced during evolution. Over evolution, a single responsibility class may be unintentionally assigned other responsibilities, which makes the class less cohesive and more complex and consequently increases the complexity of the entire system. There has been much work on decomposing class responsibilities based on internal class relationships such as method-attribute referencing and internal method calls. However, object-oriented systems involve significant external class relationships carrying important behavioral semantics, which should be taken into account in identifying class responsibilities. In this paper, we present a novel approach for identifying and decomposing classes responsibilities based on method similarity using both internal and external class relationships.We extend the existing work for measuring similarity of internal class relationships and present a distance-based method for measuring external class relationships. We evaluate the approach using three open source applications - JMeter, JHotDraw, and ArgoUML. The evaluation shows that the presented approach improves precision over the existing work. We validate the results using independent samples T-test and ANOVA applied to a set of hypotheses. The validation confirms that the results are statistically significant.
Keywords:
class decomposition
cohesion
external relationships
identifying responsibility
method similarity
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Frontiers of Computer Science cover
Frontiers of Computer Science
IF:
4.6
Papers:
1.6K
Citations:
2.8K

Organization

O
Oakland University
Scholars:
3.6K
Papers: 3.0K
Citations: 2.7K
S
Sogang University
Scholars:
4.5K
Papers: 4.4K
Citations: 4.0K
J
Jeonbuk National University
Scholars:
1.3W
Papers: 1.3W
Citations: 1.3W
researcher View more organizations