• Home
  • Search
  • Statistical API Completion Based on Code Relevance Mining
  • Cite Icon3
  • https://doi.org/10.1109/maint.2019.8666939Copy DOI Icon

Statistical API Completion Based on Code Relevance Mining

  • Feb 1, 2019
  • Chengpeng Wang +3 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

While Application Programming Interface (API) enables an easy and flexible software development process, selecting a best-fit API is often non-straightforward in practice due to misunderstanding on the API specification or a complex programming context etc.. Consequently, the API selection has always been time-consuming and error-prone. In recent years, API recommendation systems have been introduced to help developers choose an API automatically, e.g., Eclipse and IntelliJ can generate an internal or user-defined API on the fly. Other research leveraged language models to capture the regularity in API usage and further guide the completion of APIs. While existing approaches provided a general support for API usage, they suffer from the lack of semantic awareness (e.g., Eclipse) and code relevance (e.g., language model based methods). To overcome these limitations, we proposed Crmac in this paper. The key insight of Crmac is a combination of a cache language model which learns code regularity from both open-source projects and local projects, as well as a relevance mining engine that identifies similar code to enable a weighted language model training. In our empirical evaluation, Crmac overwhelmed n-gram approaches, with an improvement of 5.28% in terms of top 10 accuracy. Moreover, over 79% APIs were correctly predicted in the top 10 guesses of Crmac.

Similar Papers
  • Research Article
  • Citations12

APISonar: Mining API usage examples

  • Oct 10, 2020
  • Software: Practice and Experience
  • Andre Hora
  • Conference Article
  • Citations2

Colloquy

  • Oct 21, 2020
  • João Antonio D M Bastos +2
  • Conference Article
  • Citations14

Evaluating forum discussions to inform the design of an API critic

  • Jun 01, 2012
  • Chandan R Rupakheti +1
  • Book Chapter

Dynamic Generation of Documentation, Code, and Tests for a Digital Marketing Platform's API

  • Jan 01, 2019
  • Ricardo Santos +2
  • Conference Article
  • Citations36

Temporal analysis of API usage concepts

  • Jun 01, 2012
  • Gias Uddin +2
  • Book Chapter
  • Citations1

API Misuse Detection Based on Stacked LSTM

  • Jan 01, 2021
  • Lecture notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering
  • Shuyin Ouyang +3
  • Research Article

Colloquy: Evidence-Based Method for Supporting the Design of Conversational APIs

  • Feb 18, 2025
  • Journal of Software Engineering Research and Development
  • João Antônio D M Bastos +2
  • Conference Article
  • Citations2

Assessment of Three Dimensional CAD Models Using CAD Application Programming Interface

  • Nov 09, 2018
  • Sung-Hwan Joo
  • Research Article
  • Citations16

Software Components and Product Variety in a Platform Ecosystem: A Dynamic Network Analysis of WordPress

  • Nov 18, 2022
  • Information Systems Research
  • Sungyong Um +3
  • Conference Article
  • Citations2

Using API-Embedding for API-Misuse Repair

  • Jun 27, 2020
  • Sebastian Nielebock +3
  • Research Article
  • Citations1

Beyond Traditional WAFs: Behavioral Analytics for Advanced API Threat Detection and Response

  • May 15, 2025
  • European Journal of Computer Science and Information Technology
  • Naresh Kiran Kumar Reddy Yelkoti
  • Research Article

Visual Question Generation from Remote Sensing Images Using Gemini API

  • Mar 31, 2024
  • International Journal for Research in Applied Science and Engineering Technology
  • M Kamala
  • Research Article
  • Citations7

API integration and organisational agility outcomes in digital music platforms: A qualitative case study

  • May 23, 2024
  • Heliyon
  • Joshua Ofoeda +2
  • Research Article
  • Citations6

Evergreen in context

  • Jan 22, 2009
  • Bulletin of the American Society for Information Science and Technology
  • Robert E Molyneux
  • Research Article
  • Citations87

OPTIMADE, an API for exchanging materials data

  • Jan 01, 2021
  • Repository KITopen (Karlsruhe Institute of Technology)
  • Casper Welzel Andersen +55
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.