【24h】

Measuring Aspect Cohesion

机译:测量方面内聚力

获取原文
获取外文期刊封面目录资料

摘要

Cohesion is an internal software attribute representing the degree to which the components are bound together within a software module. Cohesion is considered to be a desirable goal in software development, leading to better values for external attributes such as maintainability, reusability, and reliability. Aspect-oriented software development (AOSD) is a new technique to support separation of concerns in software development. AOSD introduces a new kind of component called aspect which is like a class, also consisting of attributes (aspect instance variables) and those modules such as advice, introduction, pointcuts, and methods. The cohesion for such an aspect is therefore mainly about how tightly the attributes and modules of aspects cohere. To test this hypothesis, cohesion measures for aspects are needed. In this paper, we propose an approach to assessing the aspect cohesion based on dependence analysis. To this end, we present various types of dependencies between attributes and/or modules in an aspect, and the aspect dependence graph (ADG) to explicitly represent these dependencies. Based on the ADG, we formally define some aspect cohesion measures. We also discuss the properties of these dependencies, and according to these properties, we prove that these measures satisfy the properties that a good measure should have.
机译:内聚性是一种内部软件属性,表示组件在软件模块中结合在一起的程度。凝聚力被认为是软件开发中的理想目标,可以为外部属性(如可维护性,可重用性和可靠性)带来更好的价值。面向方面的软件开发(AOSD)是一种支持在软件开发中分离关注点的新技术。 AOSD引入了一种称为方面的新型组件,它类似于类,也由属性(方面实例变量)和诸如建议,简介,切入点和方法之类的模块组成。因此,对于一个方面的凝聚力主要是关于方面的属性和模块紧密结合的程度。为了检验该假设,需要针对方面的内聚度量。在本文中,我们提出了一种基于依赖分析的方面内聚性评估方法。为此,我们提出了方面中属性和/或模块之间的各种类型的依赖关系,以及方面依赖关系图(ADG)以明确表示这些依赖关系。基于ADG,我们正式定义了一些方面的衔接措施。我们还讨论了这些依赖项的属性,并根据这些属性证明了这些度量满足了良好度量应具有的属性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号