arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.01317cs.SE
收藏

对热门 GitHub 项目中产品功能文档化策略的探索性研究

An Exploratory Study of Documentation Strategies for Product Features in Popular GitHub Projects

Tim Puhlfürß, Lloyd Montgomery, Walid Maalej

AI总结:

本研究通过对 25 个热门 GitHub 仓库的定性内容分析,揭示了开源项目功能文档普遍存在非结构化、与源代码关联薄弱的问题,指出功能可追踪性和可维护性面临风险。

摘要:

[背景] 在大型开源软件项目中,开发知识往往分散在多个工件和贡献者之间,导致各个利益相关者通常无法全面了解产品功能的整体情况。然而,用户希望知道软件具备哪些能力,而贡献者则需要知道在哪里修复、更新和添加功能。[目标] 本研究旨在理解 GitHub 项目中功能知识是如何被记录的,以及这些文档是否(以及在何种程度上)与源代码相关联。[方法] 我们对 25 个热门 GitHub 仓库进行了深入的定性探索性内容分析,这些仓库提供了 GitHub 社区标准指标所推荐的文档工件。我们首先提取了在文本工件中记录软件功能所使用的策略,然后提取了将功能文档与源代码关联起来的策略。[结果] 我们在所有被研究项目的 README、wiki 和网站资源文件等工件中都观察到了功能文档。然而,这些功能通常以非结构化的方式描述。此外,用于连接功能文档和源代码的追踪技术很少被使用。[结论] 我们的结果表明,开源项目中的功能文档存在缺失(或优先级较低)的问题,规范化结构的使用很少,并且很少显式引用源代码。因此,产品功能可追踪性可能非常有限,并且可维护性会随着时间的推移而受到影响。

英文摘要:

[Background] In large open-source software projects, development knowledge is often fragmented across multiple artefacts and contributors such that individual stakeholders are generally unaware of the full breadth of the product features. However, users want to know what the software is capable of, while contributors need to know where to fix, update, and add features. [Objective] This work aims at understanding how feature knowledge is documented in GitHub projects and how it is linked (if at all) to the source code. [Method] We conducted an in-depth qualitative exploratory content analysis of 25 popular GitHub repositories that provided the documentation artefacts recommended by GitHub's Community Standards indicator. We first extracted strategies used to document software features in textual artefacts and then strategies used to link the feature documentation with source code. [Results] We observed feature documentation in all studied projects in artefacts such as READMEs, wikis, and website resource files. However, the features were often described in an unstructured way. Additionally, tracing techniques to connect feature documentation and source code were rarely used. [Conclusions] Our results suggest a lacking (or a low-prioritised) feature documentation in open-source projects, little use of normalised structures, and a rare explicit referencing to source code. As a result, product feature traceability is likely to be very limited, and maintainability to suffer over time.

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

↑