【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 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号