Automated API Recommendation
Many libraries have been used in the software project. With the increasing number of libraries used in a software project, developers often have to search multiple online resources to learn the usage of the APIs if the developers have no prior knowledge of certain libraries. This may lead to an incr...
Saved in:
主要作者: | |
---|---|
其他作者: | |
格式: | Final Year Project |
語言: | English |
出版: |
2017
|
主題: | |
在線閱讀: | http://hdl.handle.net/10356/70279 |
標簽: |
添加標簽
沒有標簽, 成為第一個標記此記錄!
|
機構: | Nanyang Technological University |
語言: | English |
總結: | Many libraries have been used in the software project. With the increasing number of libraries used in a software project, developers often have to search multiple online resources to learn the usage of the APIs if the developers have no prior knowledge of certain libraries. This may lead to an increase in development time.
Therefore, in this project, we developed Automated API Recommendation. Given the latest API detected, we will recommend APIs to the developers. To build the Automated API Recommendation, we had extracted the API sequence of every java source code file in the repository. We learned the usage pattern of the APIs by building the bigram model using the train datasets. Two techniques, MMR and kPrecision, were used to test the model. We were able to obtain an accuracy of 60.17% for kPrecision testing when k = 5 for forward bigram model. The benefit of Automated API Recommendation is that it gives instant recommendation to the users and it supports the usage of third-party java library. As long as the third-party API is in our API knowledge based, we will be able to recommend API. |
---|