首页> 外文会议>IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice >Automatically Identifying Parameter Constraints in Complex Web APIs: A Case Study at Adyen
【24h】

Automatically Identifying Parameter Constraints in Complex Web APIs: A Case Study at Adyen

机译:自动识别复杂Web API中的参数约束:Adyen的案例研究

获取原文

摘要

Web APIs may have constraints on parameters, such that not all parameters are either always required or always optional. Moreover, the presence or value of one parameter could cause another parameter to be required, or parameters could have restrictions on what kinds of values are valid. Having a clear overview of the constraints helps API consumers to integrate without the need for additional support and with fewer integration faults.We made use of existing documentation and code analysis approaches for identifying parameter constraints in complex web APIs. In this paper, we report our case study of several APIs at Adyen, a large-scale payment company that offers complex Web APIs to its customers. Our results show that the documentation- and code-based approach can identify 23% and 53% of the constraints respectively and, when combined, 68% of them. We also reflect on the current challenges that these approaches face. In particular, the absence of information that explicitly describes the constraints in the documentation (in the documentation analysis), and the engineering of a sound static code analyser that is sensitive to data-flow, maintains longer parameter references throughout the API’s code, and that is able to symbolically execute the several libraries and frameworks used by the API (in the static analysis).
机译:Web API可能对参数有约束,因此并非所有参数始终需要或始终可选。此外,一个参数的存在或值可能导致另一个参数需要,或者参数可能限制有效的类型。清楚地概述约束有助于API消费者无需额外的支持并且集成故障更少。我们利用了用于识别复杂Web API中的参数约束的现有文档和代码分析方法。在本文中,我们举报了对Adyen的几家API的案例研究,这是一家大型支付公司,为客户提供复杂的Web API。我们的结果表明,基于文档和基于代码的方法可以分别识别约束的23%和53%,并且在组合时68%。我们还反思了这些方法面临的当前挑战。特别地,没有明确地描述文档中的约束的信息(在文档分析中),以及对数据流敏感的声音静态代码分析器的工程,在整个API的代码中保持更长的参数引用,以及能够象征性地执行API使用的几个库和框架(在静态分析中)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号