Please use this identifier to cite or link to this item: https://hdl.handle.net/2440/138945
Type: Thesis
Title: Automatic Detection and Analysis of Outdated Documentation in GitHub Repositories
Author: Tan, Wen Siang
Issue Date: 2023
School/Discipline: School of Computer and Mathematical Sciences
Abstract: 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 more than 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 and created a tool for developers to scan their GitHub projects for outdated code element references. Lastly, we extended our approach to detect outdated references to code elements in over 2,000 images present in software documentation.
Advisor: Wagner, Markus
Treude, Christoph
Dissertation Note: Thesis (MPhil) -- University of Adelaide, School of Computer and Mathematical Sciences, 2023
Keywords: software repositories; outdated documentation; outdated references; code elements
Provenance: This electronic version is made publicly available by the University of Adelaide in accordance with its open access policy for student theses. Copyright in this thesis remains with the author. This thesis may incorporate third party material which has been used by the author pursuant to Fair Dealing exceptions. If you are the owner of any included third party copyright material you wish to be removed from this electronic version, please complete the take down form located at: http://www.adelaide.edu.au/legals
Appears in Collections:Research Theses

Files in This Item:
File Description SizeFormat 
Tan2023_MPhil.pdf1.7 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.