JOURNAL ARTICLE

Context-aware Based API Personalized Recommendation

ZHOU Yu CHEN Chen

Year: 2021 Journal:   DOAJ (DOAJ: Directory of Open Access Journals)

Abstract

In the process of software development,developers often search for appropriate APIs to complete programming tasks when encountering programming difficulties.Contextual information and developer portraits play a critical role in effective API recommendation,but they are largely overlooked.This paper proposes a novel context-aware based API personalized recommendation approach.This approach leverages program static analysis technology (abstract syntax tree) to parse the code file to extract information to construct the code base and model developer API usage preferences.Then it calculates the semantic simila-rity between the developer's current query and the queries in the historical code base,and retrieves top-k similar historical queries.Finally,it leverages the information of query,method name,context and developer API usage preference to re-rank the candidate APIs and recommend to developers.MRR,MAP,Hit and NDCG are used to verify the effectiveness of the method in dif-ferent stages of simulation programming.The experimental results show that the proposed approach outperforms the baseline me-thod and it is more likely to recommend the APIs that developers want.

Keywords:
Computer science Context (archaeology) World Wide Web Information retrieval Data science Biology

Metrics

0
Cited By
0.00
FWCI (Field Weighted Citation Impact)
0
Refs
0.39
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Recommender Systems and Techniques
Physical Sciences →  Computer Science →  Information Systems

Related Documents

JOURNAL ARTICLE

Context-Aware Personalized Crowdtesting Task Recommendation

Junjie WangYe YangSong WangChunyang ChenDandan WangQing Wang

Journal:   IEEE Transactions on Software Engineering Year: 2021 Vol: 48 (8)Pages: 3131-3144
JOURNAL ARTICLE

CAPER: Context-Aware Personalized Emoji Recommendation

Guoshuai ZhaoZhidan LiuYulu ChaoXueming Qian

Journal:   IEEE Transactions on Knowledge and Data Engineering Year: 2020 Vol: 33 (9)Pages: 3160-3172
BOOK-CHAPTER

Context-Aware Personalized POI Sequence Recommendation

Jing ChenWenjun Jiang

Communications in computer and information science Year: 2019 Pages: 197-210
© 2026 ScienceGate Book Chapters — All rights reserved.