首页> 外文会议>IEEE International Conference on Program Comprehension >CriticAL: A critic for APIs and libraries
【24h】

CriticAL: A critic for APIs and libraries

机译:关键:API和图书馆的评论家

获取原文

摘要

It is well-known that APIs can be hard to learn and use. Although search tools can help find related code examples, API novices still face other significant challenges such as evaluating the relevance of the search results. To help address the broad problems of finding, understanding, and debugging API-based solutions, we have built a critic system that offers recommendations, explanations, and criticisms for API client code. Our critic takes API usage rules as input, performs symbolic execution to check that the client code has followed these rules properly, and generates advice as output to help improve the client code. We demonstrate our critic by applying it to a real-world example derived from the Java Swing Forum.
机译:众所周知,API可能很难学习和使用。虽然搜索工具可以帮助查找相关的代码示例,但API新手仍然面临其他重大挑战,例如评估搜索结果的相关性。为了帮助解决基于API的解决方案的广泛问题,我们建立了一个批评系统,为API客户端代码提供了建议,解释和批评。我们的评论家将API使用规则作为输入执行,执行符号执行以检查客户端代码是否已正确遵循这些规则,并生成作为输出的建议,以帮助改进客户端代码。我们通过将其应用于默认的Java Swing论坛的真实界限来展示我们的评论家。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号