Automatic Recommendation of API Methods from Feature Requests

Developers often receive many feature requests. To implement these features, developers can leverage various methods from third party libraries. In this work, we propose an automated approach that takes as input a textual description of a feature request. It then recommends methods in library APIs t...

Full description

Saved in:
Bibliographic Details
Main Authors: THUNG, Ferdian, WANG, Shaowei, LO, David, LAWALL, Julia
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2013
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/2030
https://ink.library.smu.edu.sg/context/sis_research/article/3029/viewcontent/Automatic_Recommendation_of_API_Methods_from_Feature_Requests.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-3029
record_format dspace
spelling sg-smu-ink.sis_research-30292018-12-07T06:49:44Z Automatic Recommendation of API Methods from Feature Requests THUNG, Ferdian WANG, Shaowei LO, David LAWALL, Julia Developers often receive many feature requests. To implement these features, developers can leverage various methods from third party libraries. In this work, we propose an automated approach that takes as input a textual description of a feature request. It then recommends methods in library APIs that developers can use to implement the feature. Our recommendation approach learns from records of other changes made to software systems, and compares the textual description of the requested feature with the textual descriptions of various API methods. We have evaluated our approach on more than 500 feature requests of Axis2/Java, CXF, Hadoop Common, HBase, and Struts 2. Our experiments show that our approach is able to recommend the right methods from 10 libraries with an average recall-rate@5 of 0.690 and recall-rate@10 of 0.779 respectively. We also show that the state-of-the-art approach by Chan et al., that recommends API methods based on precise text phrases, is unable to handle feature requests. 2013-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/2030 info:doi/10.1109/ASE.2013.6693088 https://ink.library.smu.edu.sg/context/sis_research/article/3029/viewcontent/Automatic_Recommendation_of_API_Methods_from_Feature_Requests.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Java application program interfaces software libraries Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Java
application program interfaces
software libraries
Software Engineering
spellingShingle Java
application program interfaces
software libraries
Software Engineering
THUNG, Ferdian
WANG, Shaowei
LO, David
LAWALL, Julia
Automatic Recommendation of API Methods from Feature Requests
description Developers often receive many feature requests. To implement these features, developers can leverage various methods from third party libraries. In this work, we propose an automated approach that takes as input a textual description of a feature request. It then recommends methods in library APIs that developers can use to implement the feature. Our recommendation approach learns from records of other changes made to software systems, and compares the textual description of the requested feature with the textual descriptions of various API methods. We have evaluated our approach on more than 500 feature requests of Axis2/Java, CXF, Hadoop Common, HBase, and Struts 2. Our experiments show that our approach is able to recommend the right methods from 10 libraries with an average recall-rate@5 of 0.690 and recall-rate@10 of 0.779 respectively. We also show that the state-of-the-art approach by Chan et al., that recommends API methods based on precise text phrases, is unable to handle feature requests.
format text
author THUNG, Ferdian
WANG, Shaowei
LO, David
LAWALL, Julia
author_facet THUNG, Ferdian
WANG, Shaowei
LO, David
LAWALL, Julia
author_sort THUNG, Ferdian
title Automatic Recommendation of API Methods from Feature Requests
title_short Automatic Recommendation of API Methods from Feature Requests
title_full Automatic Recommendation of API Methods from Feature Requests
title_fullStr Automatic Recommendation of API Methods from Feature Requests
title_full_unstemmed Automatic Recommendation of API Methods from Feature Requests
title_sort automatic recommendation of api methods from feature requests
publisher Institutional Knowledge at Singapore Management University
publishDate 2013
url https://ink.library.smu.edu.sg/sis_research/2030
https://ink.library.smu.edu.sg/context/sis_research/article/3029/viewcontent/Automatic_Recommendation_of_API_Methods_from_Feature_Requests.pdf
_version_ 1770571776664797184