arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv cs/0607006cs.SEcs.PL
收藏

三种不同开采技术的应用与组合

Applying and Combining Three Different Aspect Mining Techniques

Mariano Ceccato, Marius Marin, Kim Mens, Leon Moonen, Paolo Tonella, Tom Tourwe

摘要:

在源代码级别理解软件系统需要理解它所解决的不同关注点,这反过来又需要一种方法来识别源代码中的这些关注点。虽然有些关注点是由程序实体(如类、方法和变量)显式表示的,因此很容易识别,但横切关注点不是由单个程序实体捕获的,而是分散在许多程序实体中,并与其他关注点纠缠在一起。由于它们的横切性质,这样的横切关注点很难识别,并降低了系统作为一个整体的可理解性。在本文中,我们报告了一个组合实验,我们试图自动识别横切关注的JHotDraw框架。我们首先应用三个独立开发的方面挖掘技术JHotDraw和评估和比较他们的结果。基于这种分析,我们提出了这三种技术的三个有趣的组合,并展示了这些组合如何提供一个更完整的覆盖面检测到的关注相比,单独的原始技术。我们的研究结果是提高系统的可理解性,包含横切关注的第一步,并可以作为一个基础,重构确定的横切关注方面。

英文摘要:

Understanding a software system at source-code level requires understanding the different concerns that it addresses, which in turn requires a way to identify these concerns in the source code. Whereas some concerns are explicitly represented by program entities (like classes, methods and variables) and thus are easy to identify, crosscutting concerns are not captured by a single program entity but are scattered over many program entities and are tangled with the other concerns. Because of their crosscutting nature, such crosscutting concerns are difficult to identify, and reduce the understandability of the system as a whole. In this paper, we report on a combined experiment in which we try to identify crosscutting concerns in the JHotDraw framework automatically. We first apply three independently developed aspect mining techniques to JHotDraw and evaluate and compare their results. Based on this analysis, we present three interesting combinations of these three techniques, and show how these combinations provide a more complete coverage of the detected concerns as compared to the original techniques individually. Our results are a first step towards improving the understandability of a system that contains crosscutting concerns, and can be used as a basis for refactoring the identified crosscutting concerns into aspects.

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

↑