需求可追溯性:面向对象软件系统中需求与源代码之间可追溯链路的恢复与可视化
Requirements Traceability: Recovering and Visualizing Traceability Links Between Requirements and Source Code of Object-oriented Software Systems
AI总结:
本文提出 YamenTrace 方法,结合潜在语义索引和形式概念分析,自动恢复并可视化面向对象软件中需求与代码之间的可追溯链路,以减轻人工维护负担并提升需求管理效率。
摘要:
需求可追溯性是需求工程中实现有效需求管理方法的一项重要活动。需求到代码的可追溯链路(RtC-TLs)刻画了需求与源代码工件之间的关系。RtC-TLs 能够帮助工程师了解软件代码的哪些部分实现了特定需求。此外,这些链路还能帮助工程师保持对软件的正确心智模型,并在需求随时间变化时降低代码质量退化的风险,尤其是在大型复杂软件中。然而,手动恢复和保存这些可追溯链路会给工程师带来额外负担,并且是一项容易出错、繁琐且成本高昂的任务。本文介绍了 YamenTrace,一种基于潜在语义索引(LSI)和形式概念分析(FCA)在面向对象软件中自动恢复和可视化 RtC-TLs 的方法及其实现。YamenTrace 的原创性在于它在可追溯链路恢复过程中利用了所有代码标识符名称、注释和关系。YamenTrace 使用 LSI 来发现软件代码与需求之间的文本相似性,而 FCA 则用于将相似的代码和需求聚类在一起。此外,YamenTrace 还提供了已恢复可追溯链路的可视化。为了验证 YamenTrace,本文将其应用于三个案例研究。评估结果表明,YamenTrace 方案的重要性和性能得到了证明,因为大多数 RtC-TLs 都被正确地恢复和可视化。
英文摘要:
Requirements traceability is an important activity to reach an effective requirements management method in the requirements engineering. Requirement-to-Code Traceability Links (RtC-TLs) shape the relations between requirement and source code artifacts. RtC-TLs can assist engineers to know which parts of software code implement a specific requirement. In addition, these links can assist engineers to keep a correct mental model of software, and decreasing the risk of code quality degradation when requirements change with time mainly in large sized and complex software. However, manually recovering and preserving of these TLs puts an additional burden on engineers and is error-prone, tedious, and costly task. This paper introduces YamenTrace, an automatic approach and implementation to recover and visualize RtC-TLs in Object-Oriented software based on Latent Semantic Indexing (LSI) and Formal Concept Analysis (FCA). The originality of YamenTrace is that it exploits all code identifier names, comments, and relations in TLs recovery process. YamenTrace uses LSI to find textual similarity across software code and requirements. While FCA employs to cluster similar code and requirements together. Furthermore, YamenTrace gives a visualization of recovered TLs. To validate YamenTrace, it applied on three case studies. The findings of this evaluation prove the importance and performance of YamenTrace proposal as most of RtC-TLs were correctly recovered and visualized.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。