Abstract
API misuses refer to incorrect usages that violate the usage constraints of API elements, potentially leading to issues such as runtime errors, exceptions, program crashes, and security vulnerabilities. Existing mining-based approaches for API misuse detection face challenges in accuracy, particularly in distinguishing infrequent from invalid usage. This limitation stems from the necessity to set predefined thresholds for frequent API usage patterns, resulting in potential misclassification of alternative usages. This paper introduces Poirot, a learning-based approach that mitigates the need for predefined thresholds. Leveraging Labeled, Graph-based Convolutional Networks, Poirot learns embeddings for API usages, capturing key features and enhancing API misuse detection. Preliminary evaluation on an API misuse benchmark demonstrates that Poirot achieves a relative improvement of 1.37-10.36X in F-score compared to state-of-the-art API misuse detection techniques.
Author supplied keywords
Cite
CITATION STYLE
Li, Y., Nguyen, T. N., Wang, S., & Yadavally, A. (2024). Poirot: Deep Learning for API Misuse Detection. In Proceedings - International Conference on Software Engineering (pp. 302–303). IEEE Computer Society. https://doi.org/10.1145/3639478.3643080
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.