...
首页> 外文期刊>ACM transactions on software engineering and methodology >Generating API Call Rules from Version History and Stack Overflow Posts
【24h】

Generating API Call Rules from Version History and Stack Overflow Posts

机译:从版本历史记录和堆栈溢出帖子中生成API调用规则

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

摘要

Researchers have shown that related functions can be mined from groupings of functions found in the version history of a system. Our first contribution is to expand this approach to a community of applications and set of similar applications. Android developers use a set of application programming interface (API) calls when creating apps. These API calls are used in similar ways across multiple applications. By clustering co-changing API calls used by 230 Android apps across 12k versions, we are able to predict the API calls that individual app developers will use with an average precision of 75% and recall of 22%. When we make predictions from the same category of app, such as Finance, we attain precision and recall of 81% and 28%, respectively. Our second contribution can be characterized as "programmers who discussed these functions were also interested in these functions." Informal discussions on Stack Overflow provide a rich source of information about related API calls as developers provide solutions to common problems. By grouping API calls contained in each positively voted answer posts, we are able to create rules that predict the calls that app developers will use in their own apps with an average precision of 66% and recall of 13%. For comparison purposes, we developed a baseline by clustering co-changing API calls for each individual app and generated association rules from them. The baseline predicts API calls used by app developers with a precision and recall of 36% and 23%, respectively.
机译:研究人员表明,可以从系统版本历史记录中找到的功能分组中挖掘相关功能。我们的第一个贡献是将这种方法扩展到应用程序社区和一组类似的应用程序。 Android开发人员在创建应用程序时会使用一组应用程序编程接口(API)调用。这些API调用在多个应用程序中的使用方式相似。通过将跨12k版本的230个Android应用程序使用的共同更改的API调用进行聚类,我们可以预测单个应用程序开发人员将使用的API调用,其平均精度为75%,召回率为22%。当我们从相同类别的应用(例如财务)进行预测时,我们的准确率和召回率分别为81%和28%。我们的第二个贡献可以描述为“讨论这些功能的程序员也对这些功能感兴趣”。随着开发人员提供常见问题的解决方案,有关Stack Overflow的非正式讨论提供了有关相关API调用的丰富信息源。通过将每个正面投票的答案帖子中包含的API调用进行分组,我们能够创建规则来预测应用程序开发人员将在其自己的应用程序中使用的调用,其平均精度为66%,召回率为13%。为了进行比较,我们通过对每个应用程序的共同更改API调用进行聚类并从中生成关联规则来建立基准。基线预测应用程序开发人员使用的API调用的准确度和召回率分别为36%和23%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号