...
首页> 外文期刊>Science of Computer Programming >Verifiable source code documentation in controlled natural language
【24h】

Verifiable source code documentation in controlled natural language

机译:可控自然语言的可验证源代码文档

获取原文
获取原文并翻译 | 示例
           

摘要

Writing documentation about software internals is rarely considered a rewarding activity. It is highly time-consuming and the resulting documentation is fragile when the software is continuously evolving in a multi-developer setting. Unfortunately, traditional programming environments poorly support the writing and maintenance of documentation. Consequences are severe as the lack of documentation on software structure negatively impacts the overall quality of the software product. We show that using a controlled natural language with a reasoner and a query engine is a viable technique for verifying the consistency and accuracy of documentation and source code. Using ACE, a state-of-the-art controlled natural language, we present positive results on the comprehensibility and the general feasibility of creating and verifying documentation. As a case study, we used automatic documentation verification to identify and fix severe flaws in the architecture of a non-trivial piece of software. Moreover, a user experiment shows that our language is faster and easier to learn and understand than other formal languages for software documentation.
机译:编写有关软件内部的文档很少被认为是有益的活动。当软件在多开发人员环境中不断发展时,这非常耗时,并且生成的文档也很脆弱。不幸的是,传统的编程环境无法很好地支持文档的编写和维护。由于缺少有关软件结构的文档会对软件产品的整体质量产生负面影响,因此后果非常严重。我们表明,使用带有推理机和查询引擎的受控自然语言是一种用于验证文档和源代码的一致性和准确性的可行技术。通过使用ACE(一种最先进的受控自然语言),我们在创建和验证文档的可理解性和总体可行性方面取得了积极的成果。作为案例研究,我们使用了自动文档验证来识别和修复非平凡软件体系结构中的严重缺陷。此外,一项用户实验表明,我们的语言比其他用于软件文档的正式语言更快,更容易学习和理解。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号