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

Recover和RELAX:面向关注点的软件体系结构恢复

Recover and RELAX: Concern-Oriented Software Architecture Recovery for Systems Development and Maintenance

Daniel Link, Pooyan Behnamghader, Ramin Moazeni, Barry Boehm

摘要:

一个系统的涉众对它的架构是否以及如何在它的开发和维护过程的每一点上反映他们各自的关注点有着合理的兴趣。随时掌握这些知识将使他们能够在每个节点不断调整系统结构,并减少技术债务的积累,一旦技术债务持续了许多迭代,就很难减少。不幸的是,软件系统通常缺乏关于其架构的可靠和最新的文档。为了弥补这一现状,研究者们构思了许多建筑复原方法,其中一些是关注导向的。然而,大多数现有回收方法的基础设计选择使得它们中没有一种具有用于上述目的的完整的理想品质。为系统定制恢复要么是不可能的,要么只能通过数值参数的迭代实验。此外,其可扩展性的限制使得将现有技术应用于大型系统是不可行的。最后,由于目前的几种恢复方法采用非确定性采样,其不一致的结果不适合自己很好地跟踪系统过程中的几个版本,其利益相关者所需要的。RELAX(RELiable Architecture Extraction)是一种新的基于关注点的恢复方法,它使用文本分类,通过以下方式有效地解决了这些问题:(1)从较小的独立部分组装整体恢复结果,(2)基于线性时间复杂度的算法,以及(3)通过选择有意义的命名语义主题来定制单个系统或其序列的恢复。一个直观的、信息丰富的架构可视化完善了RELAX的贡献。RELAX在一些现有的开源系统上进行了说明,并与其他恢复方法进行了比较。

英文摘要:

The stakeholders of a system are legitimately interested in whether and how its architecture reflects their respective concerns at each point of its development and maintenance processes. Having such knowledge available at all times would enable them to continually adjust their systems structure at each juncture and reduce the buildup of technical debt that can be hard to reduce once it has persisted over many iterations. Unfortunately, software systems often lack reliable and current documentation about their architecture. In order to remedy this situation, researchers have conceived a number of architectural recovery methods, some of them concern-oriented. However, the design choices forming the bases of most existing recovery methods make it so none of them have a complete set of desirable qualities for the purpose stated above. Tailoring a recovery to a system is either not possible or only through iterative experiments with numeric parameters. Furthermore, limitations in their scalability make it prohibitive to apply the existing techniques to large systems. Finally, since several current recovery methods employ non-deterministic sampling, their inconsistent results do not lend themselves well to tracking a systems course over several versions, as needed by its stakeholders. RELAX (RELiable Architecture EXtraction), a new concern-based recovery method that uses text classification, addresses these issues efficiently by (1) assembling the overall recovery result from smaller, independent parts, (2) basing it on an algorithm with linear time complexity and (3) being tailorable to the recovery of a single system or a sequence thereof through the selection of meaningfully named, semantic topics. An intuitive, informative architectural visualization rounds out RELAX's contributions. RELAX is illustrated on a number of existing open-source systems and compared to other recovery methods.

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

↑