Recovering Trace Links Between Software Documentation And Code
Jan Keim, Sophie Corallo, Dominik Fuchß, Tobias Hey, Tobias Telge, Anne Koziolek
摘要
Introduction Software development involves creating various artifacts at different levels of abstraction and establishing relationships between them is essential. Traceability link recovery (TLR) automates this process, enhancing software quality by aiding tasks like maintenance and evolution. However, automating TLR is challenging due to semantic gaps resulting from different levels of abstraction. While automated TLR approaches exist for requirements and code, architecture documentation lacks tailored solutions, hindering the preservation of architecture knowledge and design decisions. Methods This paper presents our approach TransArC for TLR between architecture documentation and code, using componentbased architecture models as intermediate artifacts to bridge the semantic gap. We create transitive trace links by combining the existing approach ArDoCo for linking architecture documentation to models with our novel approach ArCoTL for linking architecture models to code. Results We evaluate our approaches with five open-source projects, comparing our results to baseline approaches. The model-to-code TLR approach achieves an average F 1 -score of 0.98, while the documentation-to-code TLR approach achieves a promising average F 1 -score of 0.82, significantly outperforming baselines. Conclusion Combining two specialized approaches with an intermediate artifact shows promise for bridging the semantic gap. In future research, we will explore further possibilities for such transitive approaches.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Spec2Code: Mapping Protocol Specification to Function-Level Code Implementation 引用了 LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation
- Spec2Code: Mapping Protocol Specification to Function-Level Code Implementation 引用了 Using Consensual Biterms from Text Structures of Requirements and Code to Improve IR-Based Traceability Recovery
- Spec2Code: Mapping Protocol Specification to Function-Level Code Implementation 引用了 Improving the effectiveness of traceability link recovery using hierarchical bayesian networks
- Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Models 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation 引用了 Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Models
- LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation 引用了 Using Consensual Biterms from Text Structures of Requirements and Code to Improve IR-Based Traceability Recovery
- LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation 引用了 Improving the effectiveness of traceability link recovery using hierarchical bayesian networks
- Using Consensual Biterms from Text Structures of Requirements and Code to Improve IR-Based Traceability Recovery 引用了 Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Models
- Using Consensual Biterms from Text Structures of Requirements and Code to Improve IR-Based Traceability Recovery 引用了 Improving the effectiveness of traceability link recovery using hierarchical bayesian networks
- LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery 引用了 Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Models
- LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery 引用了 LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation
- LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery 引用了 CodeBERT: A Pre-Trained Model for Programming and Natural Languages
- LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery 引用了 Using Consensual Biterms from Text Structures of Requirements and Code to Improve IR-Based Traceability Recovery
- LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery 引用了 Improving the effectiveness of traceability link recovery using hierarchical bayesian networks
引用它的顶会 Paper3
- LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented GenerationDominik Fuchß, Tobias Hey, Jan Keim, Haoyu Liu 等ICSE 2025 · 8 次引用
- Spec2Code: Mapping Protocol Specification to Function-Level Code ImplementationYuekun Wang, Lili Quan, Xiaofei Xie, Junjie Wang 等ASE 2025
- LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link RecoveryArshia Akhavan, Alireza Hoseinpour, Abbas Heydarnoori, Hamid Bagheri 等FSE 2026
它引用的 Paper6
- CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan 等EMNLP Findings 2020 · 2,828 次引用
- Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT ModelsJinfeng Lin, Yalin Liu, Qingkai Zeng, Meng Jiang 等ICSE 2021 · 124 次引用
- Improving the effectiveness of traceability link recovery using hierarchical bayesian networksKevin Moran, David N. Palacio, Carlos Bernal-Cárdenas, Daniel McCrystal 等ICSE 2020 · 40 次引用
- Software Architecture in Practice: Challenges and OpportunitiesZhiyuan Wan, Yun Zhang, Xin Xia, Yi Jiang 等FSE 2023 · 29 次引用
- Using Consensual Biterms from Text Structures of Requirements and Code to Improve IR-Based Traceability RecoveryHui Gao, Hongyu Kuang, Kexin Sun, Xiaoxing Ma 等ASE 2022 · 20 次引用
相关 Paper
- Establishing multilevel test-to-code traceability linksRobert White, Jens Krinke, Raymond TanICSE 2020 · 37 次引用
- TRIAD: Automated Traceability Recovery based on Biterm-enhanced Deduction of Transitive Links among ArtifactsHui Gao, Hongyu Kuang, Wesley K. G. Assunção, Christoph Mayr-Dorn 等ICSE 2024 · 8 次引用
- Co-evolving code with evolving metamodelsDjamel Eddine Khelladi, Benoît Combemale, Mathieu Acher, Olivier Barais 等ICSE 2020 · 11 次引用
- SSAR: A Novel Software Architecture Recovery Approach Enhancing Accuracy and ScalabilityWei Ding, Ran Mo, Chaochao Wu, Haopeng SongICSE 2026
- INTERTRANS: Leveraging Transitive Intermediate Translations to Enhance LLM-Based Code TranslationMarcos Macedo, Yuan Tian, Pengyu Nie, Filipe Roseiro Côgo 等ICSE 2025 · 7 次引用
