欢迎访问行业研究报告数据库

行业分类

当前位置:首页 > 报告详细信息

找到报告 1 篇 当前为第 1 页 共 1

通过库挖掘实现交互代码片段的合成

Interactive Code Snippet Synthesis Through Repository Mining

作者:Zvonimir Pavlinovic;Domagoj Babic 作者单位:UC Berkeley;Facebook, Inc. 加工时间:2013-12-18 信息来源:EECS 索取原文[15 页]
关键词:库挖掘;交互代码
摘 要:Programmers repeatedly reuse code snippets. Retyping boilerplate code, and rediscovering how to correctly sequence API calls, programmers waste time. In this paper, we develop techniques that automatically synthesize code snippets upon a programmer’s request. Our approach is based on discovering snippets located in repositories; we mine repositories offline and suggest discovered snippets to programmers. Upon request, our synthesis procedure uses programmer’s current code to find the best fitting snippets, which are then presented to the programmer. The programmer can then either learn the proper API usage or integrate the synthesized snippets directly into her code. We call this approach interactive code snippet synthesis through repository mining.We show that this approach reduces the time spent developing code for 32% in our experiments.
© 2016 武汉世讯达文化传播有限责任公司 版权所有 技术支持:武汉中网维优
客服中心

QQ咨询


点击这里给我发消息 客服员


电话咨询


027-87841330


微信公众号




展开客服