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

从遗留应用程序中剥离功能方面

Slicing functional aspects out of legacy applications

Barthélémy Dagenais, Hafedh Mili

摘要:

面向方面的软件开发建立在面向对象开发的基础上,它提供了额外的抽象边界,帮助我们将不同类型的需求分离为所谓的方面。给定一个遗留OO应用程序,识别现有的方面以帮助理解应用程序的结构,并可能将这些方面提取到可以单独维护和重用的单独软件模块中是值得的。我们提出了一种方法来提取功能方面使用程序切片。我们首先描述我们的意思是功能方面,并探讨在何种程度上,程序切片技术可以改善现有的方面挖掘和功能定位方法等方面。然后,我们描述了我们的方法应用到两个中等规模的开放源程序的结果。我们的初步结果表明,程序切片可以产生定义良好的功能方面时,适当的切片标准。最后,我们探讨了候选功能方面的设计质量的影响。

英文摘要:

Aspect-oriented software development builds upon object-oriented development by offering additional abstraction boundaries that help us separate different types of requirements into so-called aspects. Given a legacy OO application, it pays to identify existing aspects to help understand the structure of the application and potentially to extract those aspects into separate software modules that can be maintained and reused individually. We present an approach to extract functional aspects using program slicing. We first characterize what we mean by functional aspect, and explore the extent to which program slicing techniques could improve over existing aspect mining and feature location methods for such aspects. We then describe the results of applying our approach to two medium-sized open source programs. Our preliminary results show that program slicing can yield well-defined functional aspects when the appropriate slicing criteria are used. Finally, we explore the effect of design quality on the candidate functional aspects.

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

↑