PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
August 11, 20241 citationsOpen Access

Supporting Software Maintenance with Dynamically Generated Document Hierarchies

View Full Paper
KDKatherine R. DearstyneARAlberto D. RodriguezJCJane Cleland‐Huang

Key Points

Key points are not available for this paper at this time.

Abstract

Software documentation supports a broad set of software maintenance tasks; however, creating and maintaining high-quality, multi-level software documentation can be incredibly time-consuming and therefore many code bases suffer from a lack of adequate documentation. We address this problem through presenting HGEN, a fully automated pipeline that leverages LLMs to transform source code through a series of six stages into a well-organized hierarchy of formatted documents. We evaluate HGEN both quantitatively and qualitatively. First, we use it to generate documentation for three diverse projects, and engage key developers in comparing the quality of the generated documentation against their own previously produced manually-crafted documentation. We then pilot HGEN in nine different industrial projects using diverse datasets provided by each project. We collect feedback from project stakeholders, and analyze it using an inductive approach to identify recurring themes. Results show that HGEN produces artifact hierarchies similar in quality to manually constructed documentation, with much higher coverage of the core concepts than the baseline approach. Stakeholder feedback highlights HGEN's commercial impact potential as a tool for accelerating code comprehension and maintenance tasks. Results and associated supplemental materials can be found at https://zenodo.org/records/11403244

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Dearstyne et al. (2024) studied this question.

synapsesocial.com/papers/68e5cb6fb6db6435875624achttps://doi.org/10.48550/arxiv.2408.05829
Ask AI
Helpful
Bookmark
Share
View Full Paper