TY - GEN
T1 - Categorizing and Recommending API Usage Patterns Based on Degree Centralities and Pattern Distances
AU - Lee, Shin-Jie
AU - Su, Wu Chen
AU - Huang, Chi En
AU - You, Jie Lin
PY - 2017/2/16
Y1 - 2017/2/16
N2 - Although efforts have been made on discovering and searching API usage patterns, how to categorize and recommend follow-up API usage patterns is still largely unexplored. This paper advances the state-of-the-art by proposing two methods for categorizing and recommending API usage patterns: first, categories of the usage patterns are automatically identified based on a proposed degree centrality-based clustering algorithm, and second, follow-up usage patterns of an adopted pattern are recommended based on a proposed metric of measuring distances between patterns. In the experimental evaluations, the patterns categorization can achieve 85.4% precision rate with 83% recall rate. The patterns recommendation had approximately half a chance of correctly predicting the follow-up patterns that were actually used by the programmers.
AB - Although efforts have been made on discovering and searching API usage patterns, how to categorize and recommend follow-up API usage patterns is still largely unexplored. This paper advances the state-of-the-art by proposing two methods for categorizing and recommending API usage patterns: first, categories of the usage patterns are automatically identified based on a proposed degree centrality-based clustering algorithm, and second, follow-up usage patterns of an adopted pattern are recommended based on a proposed metric of measuring distances between patterns. In the experimental evaluations, the patterns categorization can achieve 85.4% precision rate with 83% recall rate. The patterns recommendation had approximately half a chance of correctly predicting the follow-up patterns that were actually used by the programmers.
UR - http://www.scopus.com/inward/record.url?scp=85015326452&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85015326452&partnerID=8YFLogxK
U2 - 10.1109/ICS.2016.0120
DO - 10.1109/ICS.2016.0120
M3 - Conference contribution
AN - SCOPUS:85015326452
T3 - Proceedings - 2016 International Computer Symposium, ICS 2016
SP - 583
EP - 588
BT - Proceedings - 2016 International Computer Symposium, ICS 2016
PB - Institute of Electrical and Electronics Engineers Inc.
T2 - 2016 International Computer Symposium, ICS 2016
Y2 - 15 December 2016 through 17 December 2016
ER -