Categorizing and Recommending API Usage Patterns Based on Degree Centralities and Pattern Distances

Shin-Jie Lee, Wu Chen Su, Chi En Huang, Jie Lin You

研究成果: Conference contribution

摘要

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.

原文English
主出版物標題Proceedings - 2016 International Computer Symposium, ICS 2016
發行者Institute of Electrical and Electronics Engineers Inc.
頁面583-588
頁數6
ISBN(電子)9781509034383
DOIs
出版狀態Published - 2017 2月 16
事件2016 International Computer Symposium, ICS 2016 - Chiayi, Taiwan
持續時間: 2016 12月 152016 12月 17

出版系列

名字Proceedings - 2016 International Computer Symposium, ICS 2016

Other

Other2016 International Computer Symposium, ICS 2016
國家/地區Taiwan
城市Chiayi
期間16-12-1516-12-17

All Science Journal Classification (ASJC) codes

  • 電腦視覺和模式識別
  • 硬體和架構
  • 電腦網路與通信
  • 電腦科學應用

指紋

深入研究「Categorizing and Recommending API Usage Patterns Based on Degree Centralities and Pattern Distances」主題。共同形成了獨特的指紋。

引用此