Decomposing object-oriented class modules using an agglomerative clustering technique

M Fokaefs, N Tsantalis… - 2009 IEEE …, 2009 - ieeexplore.ieee.org
2009 IEEE International Conference on Software Maintenance, 2009ieeexplore.ieee.org
Software can be considered a live entity, as it undergoes many alterations throughout its
lifecycle. Furthermore, developers do not usually retain a good design in favor of adding
new features, comply with requirements or meet deadlines. For these reasons, code can
become rather complex and difficult to understand. More particularly in object-oriented
systems, classes may become very large and less cohesive. In order to identify such
problematic cases, existing approaches have proposed the use of cohesion metrics …
Software can be considered a live entity, as it undergoes many alterations throughout its lifecycle. Furthermore, developers do not usually retain a good design in favor of adding new features, comply with requirements or meet deadlines. For these reasons, code can become rather complex and difficult to understand. More particularly in object-oriented systems, classes may become very large and less cohesive. In order to identify such problematic cases, existing approaches have proposed the use of cohesion metrics. However, while metrics can identify classes with low cohesion, they cannot identify new or independent concepts. Moreover, these methods require a lot of human interpretation to identify the respective design flaws. In this paper, we propose a class decomposition method using an agglomerative clustering algorithm based on the Jaccard distance between class members. Our methodology is able to identify new concepts and rank the solutions according to their impact on the design quality of the system. Finally, our method has been evaluated by two independent designers who were asked to comment on the suggestions produced by our technique on their projects. The designers provided feedback on the ability of the method to identify new concepts and improve the design quality of the system in terms of cohesion.
ieeexplore.ieee.org
以上显示的是最相近的搜索结果。 查看全部搜索结果