Lune

ICSE2024Top-tier venue

Recovering Trace Links Between Software Documentation And Code

Jan Keim, Sophie Corallo, Dominik Fuchß, Tobias Hey, Tobias Telge, Anne Koziolek

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Spec2Code: Mapping Protocol Specification to Function-Level Code Implementation cites LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation
  • Spec2Code: Mapping Protocol Specification to Function-Level Code Implementation cites 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 cites Improving the effectiveness of traceability link recovery using hierarchical bayesian networks
  • Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Models cites CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation cites Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Models
  • LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation cites 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 cites 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 cites 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 cites Improving the effectiveness of traceability link recovery using hierarchical bayesian networks
  • LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery cites Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT Models
  • LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery cites LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented Generation
  • LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery cites CodeBERT: A Pre-Trained Model for Programming and Natural Languages
  • LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link Recovery cites 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 cites Improving the effectiveness of traceability link recovery using hierarchical bayesian networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. LiSSA: Toward Generic Traceability Link Recovery Through Retrieval- Augmented GenerationDominik Fuchß, Tobias Hey, Jan Keim, Haoyu Liu et al.ICSE 2025 · 8 citations
  2. Spec2Code: Mapping Protocol Specification to Function-Level Code ImplementationYuekun Wang, Lili Quan, Xiaofei Xie, Junjie Wang et al.ASE 2025
  3. LinkAnchor: An Autonomous LLM-Based Agent for Issue-to-Commit Link RecoveryArshia Akhavan, Alireza Hoseinpour, Abbas Heydarnoori, Hamid Bagheri et al.FSE 2026

Builds on6

  1. CodeBERT: A Pre-Trained Model for Programming and Natural LanguagesZhangyin Feng, Daya Guo, Duyu Tang, Nan Duan et al.EMNLP Findings 2020 · 2,828 citations
  2. Traceability Transformed: Generating more Accurate Links with Pre-Trained BERT ModelsJinfeng Lin, Yalin Liu, Qingkai Zeng, Meng Jiang et al.ICSE 2021 · 124 citations
  3. Improving the effectiveness of traceability link recovery using hierarchical bayesian networksKevin Moran, David N. Palacio, Carlos Bernal-Cárdenas, Daniel McCrystal et al.ICSE 2020 · 40 citations
  4. Software Architecture in Practice: Challenges and OpportunitiesZhiyuan Wan, Yun Zhang, Xin Xia, Yi Jiang et al.FSE 2023 · 29 citations
  5. Using Consensual Biterms from Text Structures of Requirements and Code to Improve IR-Based Traceability RecoveryHui Gao, Hongyu Kuang, Kexin Sun, Xiaoxing Ma et al.ASE 2022 · 20 citations

Related papers

  1. Establishing multilevel test-to-code traceability linksRobert White, Jens Krinke, Raymond TanICSE 2020 · 37 citations
  2. 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 et al.ICSE 2024 · 8 citations
  3. Co-evolving code with evolving metamodelsDjamel Eddine Khelladi, Benoît Combemale, Mathieu Acher, Olivier Barais et al.ICSE 2020 · 11 citations
  4. SSAR: A Novel Software Architecture Recovery Approach Enhancing Accuracy and ScalabilityWei Ding, Ran Mo, Chaochao Wu, Haopeng SongICSE 2026
  5. INTERTRANS: Leveraging Transitive Intermediate Translations to Enhance LLM-Based Code TranslationMarcos Macedo, Yuan Tian, Pengyu Nie, Filipe Roseiro Côgo et al.ICSE 2025 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines