arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1701.08485cs.SE
收藏

软件开发的自动文档化

Auto-Documenation for Software Development

Thomas Zheng, Jeff Shaw, Sergey Kozlov

摘要:

软件文档是一项必不可少但劳动密集型的任务,通常需要专门的开发人员团队来确保覆盖范围和准确性。良好的文档将有助于缩短开发周期,提高团队的整体效率和可维护性。在当今的众驱动开发环境中,良好的文档可以在从头开始构建开发人员社区方面发挥很大作用。为此,我们迈出了第一步,构建了一个名为Autodoc的工具,可以帮助软件开发人员更快地编写更好的文档。Autodoc超越了传统的样板模板生成。我们的集成工具使用深度学习方法来构建代码的语义理解。就像自然语言中的机器翻译一样,Autodoc可以将代码片段翻译为注释,并将其作为简短的摘要插入文档字符串中。我们还演示了将Autodoc集成为IDE插件以及在向用户的Git存储库提交自动记录的代码时从软件托管平台中的Web钩子。

英文摘要:

Software documentation is an essential but labor intensive task that often requires a dedicated team of developers to ensure coverage and accuracy. Good documentation will help shorten the development cycle and improve the overall team efficiency as well as maintainability. In today's crowd-driven development environment, good documentation can go a long way in building a developer community from scratch. To that end, we took the first steps in building a tool called Autodoc that can assist software developers in writing better documentation faster. Autodoc goes beyond traditional boilerplate template generation. Our integrated tool uses Deep Learning methods to construct a semantic understanding of the code. Just like machine translation in natural languages, Autodoc can translate snippets of code to comments, and insert them as short summaries inside the docstring. We also demonstrate the integration of Autodoc as an IDE plugin as well as a web hook from within software hosting platforms when submitting auto-documented code to user's Git repository.

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

↑