Detecting Outdated Code Element References in Software Repository Documentation
Not on the map. Why?
Abstract (arXiv)
Outdated documentation is a pervasive problem in software development, preventing effective use of software, and misleading users and developers alike. We posit that one possible reason why documentation becomes out of sync so easily is that developers are unaware of when their source code modifications render the documentation obsolete. Ensuring that the documentation is always in sync with the source code takes considerable effort, especially for large codebases. To address this situation, we propose an approach that can automatically detect code element references that survive in the documentation after all source code instances have been deleted. In this work, we analysed over 3,000 GitHub projects and found that most projects contain at least one outdated code element reference at some point in their history. We submitted GitHub issues to real-world projects containing outdated references detected by our approach, some of which have already led to documentation fixes. As an initiative toward keeping documentation in software repositories up-to-date, we have made our implementation available for developers to scan their GitHub projects for outdated code element references.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Dec 2022.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2025Evaluating the Use of LLMs for Documentation to Code Traceabilitycited by 2
- 2026Context Rot in AI-Assisted Software Development: Repurposing Documentation Consistency for AI Configuration Artifactscited by 2
- 2026LLM-Based Code Documentation Generation and Multi-Judge Evaluationcited by 0
- 2026Security and Privacy in Agentic AI: Grand Challenges and Future Directionscited by 0
- 2026The Other Half of Workflow Portability: Evidence-Backed HPC Site Profiles with Agentic Discoverycited by 0
- 2026The Other Half of Workflow Portability: Evidence-Backed HPC Site Profiles with Agentic Discovery1 Oct 2026
- 2026Security and Privacy in Agentic AI: Grand Challenges and Future Directions7 Jul 2026
- 2026Context Rot in AI-Assisted Software Development: Repurposing Documentation Consistency for AI Configuration Artifacts8 Jun 2026
- 2026LLM-Based Code Documentation Generation and Multi-Judge Evaluation11 May 2026
- 2025Evaluating the Use of LLMs for Documentation to Code Traceability19 Jun 2025