arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.04291cs.SE
收藏

等等,这段代码之前不是在这里吗?检测过时的软件文档

Wait, wasn't that code here before? Detecting Outdated Software Documentation

Wen Siang Tan, Markus Wagner, Christoph Treude

AI总结:

本文针对软件文档易过时的问题,基于作者此前提出的过时代码引用检测方法,开发了一个 GitHub Actions 工具,可在每次提交拉取请求时自动扫描项目文档中的过时引用,帮助开发者维护文档时效性。

摘要:

在软件工程社区中,开发者和用户遇到过期文档并非罕见。为确保软件文档保持最新,开发者在源代码发生变更时,通常不得不手动检查文档是否需要更新。在我们之前的工作中,我们提出了一种自动检测软件仓库中过时代码元素引用的方法,并发现 GitHub 上最受欢迎的 1000 个项目中,超过四分之一至少包含一个过时引用。在本文中,我们提出了一个基于我们之前工作方法的 GitHub Actions 工具,GitHub 开发者可以配置该工具,在每次提交拉取请求时自动扫描其 GitHub 项目文档中的过时代码元素引用。

英文摘要:

Encountering outdated documentation is not a rare occurrence for developers and users in the software engineering community. To ensure that software documentation is up-to-date, developers often have to manually check whether the documentation needs to be updated whenever changes are made to the source code. In our previous work, we proposed an approach to automatically detect outdated code element references in software repositories and found that more than a quarter of the 1000 most popular projects on GitHub contained at least one outdated reference. In this paper, we present a GitHub Actions tool that builds on our previous work's approach that GitHub developers can configure to automatically scan for outdated code element references in their GitHub project's documentation whenever a pull request is submitted.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑