Affiliation:
1. Department of Computer Science and Engineering, Sogang University, Seoul 121-741, South Korea
2. Department of Computer Science and Engineering, Oakland University, Rochester, MI 48309, USA
Abstract
Class cohesion is a design quality that has a great impact on posterior development and maintenance of object-oriented systems. There have been much works on measuring class cohesion based on internal class relationships such as method-attribute referencing and internal method invocations. However, object-oriented systems involve many external class relationships carrying a functional context which should be also taken into account in measuring class cohesion. However, the existing works using internal relationships cannot measure cohesion of classes involving many external relationships. In this paper, we present a novel metric for measuring class cohesion based on both internal and external class relationships through an iterative process. We evaluate the metric by applying it to five applications — ArgoUML, jEdit, JHotDraw, JMeter, and Refactor, and validate the metric theoretically and statistically. The theoretical validation shows that the metric exhibits the required properties for cohesion metrics and the statistical validation shows that the metric captures a new aspect of class cohesion that has not been addressed by the existing works.
Publisher
World Scientific Pub Co Pte Lt
Subject
Artificial Intelligence,Computer Graphics and Computer-Aided Design,Computer Networks and Communications,Software
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献