Automated API evaluation based on API parameter resolution
Abstract
A method of evaluating and selecting an application programming interface (API). The method includes accessing source-code in computer programming languages from an API repository. The method includes training a machine learning classifier using generalized, extracted API-calls to learn variations of API-call programming language syntaxes through usage of the API-call programming language syntaxes in the source-code. The method includes building API-call models suitable for the computer programming languages and building a parameter relations graph based on backtracking data-flow from API-calls that are extracted from public project repositories based on the API-call model. The method includes retrieving sample parameter values from the parameter relations graph. The method includes implementing the sample parameter values in an evaluation interface to evaluate functionality of an API in a software application.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for evaluating and selecting an application programming interface (API), the method comprising: accessing source-code in two or more computer programming languages from an API repository; training a machine learning classifier using generalized, extracted API-calls to learn variations of API-call programming language syntaxes through usage of the API-call programming language syntaxes in the source-code; based on the machine learning classifier, building API-call models for the two or more computer programming languages; building a parameter relations graph based on backtracking data-
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Alazab, M., et al., Zero-day malware detection based on supervised learning algorithms of API call signatures, Proceedings of the Ninth Australasian Data Mining Conference-vol. 121, Dec. 1-2, 2011, pp. 171-182, [retrieved on Aug. 13, 2019], Retrieved from the Internet.
- Alazab, M., et al., Zero-day malware detection based on supervised learning algorithms of API call signatures, Proceedings of the Ninth Australasian Data Mining Conference—vol. 121, Dec. 1-2, 2011, pp. 171-182, [retrieved on Aug. 13, 2019], Retrieved from the Internet.
- U.S. Appl. No. 15/729,522, filed Oct. 10, 2017.
- U.S. Appl. No. 15/851,734, filed Dec. 1, 2017.
- Wittern et al., "Statically Checking Web API Requests in JavaScript" (Proceeding ICSE '17, May 2017).