arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1201.1611cs.SE
收藏

基于聚类技术的低内聚类概念簇识别

Identifying Clusters of Concepts in a Low Cohesive Class for Extract Class Refactoring Using Metrics Supplemented Agglomerative Clustering Technique

A. Ananda Rao, K. Narendar Reddy

摘要:

面向对象软件的类内聚性低,会增加软件的维护成本。由于偏离设计原则,在初始设计期间以及由于软件退化,可能会将低内聚类引入软件。低内聚类执行应该由两个或多个类完成的操作。低内聚类需要被识别出来,并使用提取类重构来重构,以提高内聚性。在这方面,涉及两个方面;第一个是识别低内聚类,第二个是识别低内聚类中的概念簇,用于提取类重构。在本文中,我们提出了度量补充凝聚聚类技术涵盖上述两个方面。使用Weyuker的属性验证所提出的度量。该方法成功地应用于两个例子和案例研究。

英文摘要:

Object oriented software with low cohesive classes can increase maintenance cost. Low cohesive classes are likely to be introduced into the software during initial design due to deviation from design principles and during evolution due to software deterioration. Low cohesive class performs operations that should be done by two or more classes. The low cohesive classes need to be identified and refactored using extract class refactoring to improve the cohesion. In this regard, two aspects are involved; the first one is to identify the low cohesive classes and the second one is to identify the clusters of concepts in the low cohesive classes for extract class refactoring. In this paper, we propose metrics supplemented agglomerative clustering technique for covering the above two aspects. The proposed metrics are validated using Weyuker's properties. The approach is applied successfully on two examples and on a case study.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑