首页> 外文会议>Asia-Pacific Software Engineering Conference >Method Level Text Summarization for Java Code Using Nano-Patterns
【24h】

Method Level Text Summarization for Java Code Using Nano-Patterns

机译:使用纳米模式的Java代码的方法级别文本摘要

获取原文

摘要

Rapid growth in providing automated solutions resulted in large code bases to get quickly developed and consumed. However, maintaining code and its subsequent reuse pose some challenges here. One of the best practices used to handle such issues is also to provide suitable text summary of the code to allow the human developers to comprehend the code easily, but this can be quite time-consuming and costly affair. A few efforts have been made in this direction where the text summary of the code either generated from the method signature or its body. In this paper, we propose a text summarization approach for Java code that makes use of identification of code level nano-patterns to obtain text summary. The approach also looks for associations between these nano-patterns in a Java method code and then use a template based text generation to obtain the final text summary of the Java method. We evaluated the summary generated by the proposed approach using a controlled experiment with other three existing approaches. Our results suggested that the summary generated by our approach was better on the part of completeness and correctness criteria. The feedback obtained during the experimental validation suggested additional inputs to improve the generated text summary on the other two accounts as well.
机译:提供自动化解决方案的迅速增长导致庞大的代码库得以快速开发和使用。但是,维护代码及其后续重用在这里带来了一些挑战。用于处理此类问题的最佳实践之一也是提供适当的代码文本摘要,以使开发人员可以轻松地理解代码,但这可能是非常耗时且昂贵的事务。在这个方向上已经做了一些努力,其中代码的文本摘要是从方法签名或其主体生成的。在本文中,我们提出了一种Java代码的文本摘要方法,该方法利用代码级纳米模式的识别来获取文本摘要。该方法还在Java方法代码中寻找这些纳米模式之间的关联,然后使用基于模板的文本生成来获取Java方法的最终文本摘要。我们使用其他三个现有方法进行了对照实验,评估了该方法所产生的摘要。我们的结果表明,就完整性和正确性标准而言,我们的方法生成的摘要更好。在实验验证过程中获得的反馈建议增加其他输入,以改善其他两个帐户上生成的文本摘要。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号