首页> 外文会议>IEEE/ACM international conference on automated software engineering 2010 >Towards Automatically Generating Summary Comments for Java Methods
【24h】

Towards Automatically Generating Summary Comments for Java Methods

机译:向Java方法自动生成摘要注释

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

摘要

Studies have shown that good comments can help programmers quickly understand what a method does, aiding program comprehension and software maintenance. Unfortunately, few software projects adequately comment the code. One way to overcome the lack of human-written summary comments, and guard against obsolete comments, is to automatically generate them. In this paper, we present a novel technique to automatically generate descriptive summary comments for Java methods. Given the signature and body of a method, our automatic comment generator identifies the content for the summary and generates natural language text that summarizes the method's overall actions. According to programmers who judged our generated comments, the summaries are accurate, do not miss important content, and are reasonably concise.
机译:研究表明,好的注释可以帮助程序员快速理解方法的作用,从而有助于程序理解和软件维护。不幸的是,很少有软件项目能够充分注释代码。克服缺少人工编写的摘要注释并防止过时的注释的一种方法是自动生成它们。在本文中,我们提出了一种新颖的技术,可以自动为Java方法生成描述性的摘要注释。给定方法的签名和主体,我们的自动注释生成器将标识摘要的内容,并生成自然语言文本,以总结该方法的整体操作。根据判断我们生成的注释的程序员的观点,这些摘要是准确的,不会遗漏重要的内容,并且相当简洁。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号