识别并最小化面向客户的文档债务
Towards identifying and minimizing customer-facing documentation debt
AI总结:
本研究通过分析工业软件系统的101个文档缺陷,发现信息内容类缺陷占比最高,并提出采用动态文档生成(DDG)和自动化文档测试(ADT)来最小化文档债务。
摘要:
软件文档通常难以跟上软件演进的步伐。缺乏正确、完整和最新的文档会导致文档缺陷数量不断增加,这可能会引入软件系统集成中的延迟。在我们之前对名为 MultiDimEr 的缺陷分析工具的研究中,我们提供了证据表明与文档相关的缺陷导致了许多缺陷报告。首先,我们希望识别导致文档缺陷的文档缺陷类型,从而识别文档债务。其次,我们的目标是找到实用的解决方案,以最小化最常见的文档缺陷,从而从长远来看偿还文档债务。我们调查了与一个工业软件系统相关的文档缺陷。首先,我们查看了不同的文档类型和相关的缺陷报告。我们根据现有的文档缺陷分类法对缺陷进行了分类。基于 101 个缺陷的样本,我们发现大多数缺陷是由属于信息内容(What)类别的文档缺陷引起的(86)。在此类别中,文档缺陷类型错误代码示例(23)、缺失文档(35)和过时内容(19)导致了大多数文档缺陷。我们提出采用两种解决方案来缓解这些类型的文档缺陷。在实践中,文档债务很容易被忽视,因为很大一部分资源和重点都致力于交付高质量的软件。我们建议通过实施(i)动态文档生成(DDG)和/或(ii)自动化文档测试(ADT)来采用两种主要解决方案以解决文档债务,这两种方案均基于为文档定义单一且稳健的信息源。
英文摘要:
Software documentation often struggles to catch up with the pace of software evolution. The lack of correct, complete, and up-to-date documentation results in an increasing number of documentation defects which could introduce delays in integrating software systems. In our previous study on a bug analysis tool called MultiDimEr, we provided evidence that documentation-related defects contribute to many bug reports. First, we want to identify documentation defect types contributing to documentation defects, thereby identifying documentation debt. Secondly, we aim to find pragmatic solutions to minimize most common documentation defects to pay off the documentation debt in the long run. We investigated documentation defects related to an industrial software system. First, we looked at different documentation types and associated bug reports. We categorized the defects according to an existing documentation defect taxonomy. Based on a sample of 101 defects, we found that most defects are caused by documentation defects falling into the Information Content (What) category (86). Within this category, the documentation defect types Erroneous code examples (23), Missing documentation (35), and Outdated content (19) contributed to most of the documentation defects. We propose to adapt two solutions to mitigate these types of documentation defects. In practice, documentation debt can easily go undetected since a large share of resources and focus is dedicated to delivering high-quality software. We suggest adapting two main solutions to tackle documentation debt by implementing (i) Dynamic Documentation Generation (DDG) and/or (ii) Automated Documentation Testing (ADT), which are both based on defining a single and robust information source for documentation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。