Searching crowd knowledge to recommend solutions for API usage tasks
Stack Overflow (SO) is a question and answer service directed to issues related to software development. In SO, developers post questions related to a programming topic and other members of the site can provide answers to help them. The information available on this type of service is also known as...
Saved in:
Published in | Journal of software : evolution and process Vol. 28; no. 10; pp. 863 - 892 |
---|---|
Main Authors | , , |
Format | Journal Article |
Language | English |
Published |
Chichester
Blackwell Publishing Ltd
01.10.2016
Wiley Subscription Services, Inc |
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | Stack Overflow (SO) is a question and answer service directed to issues related to software development. In SO, developers post questions related to a programming topic and other members of the site can provide answers to help them. The information available on this type of service is also known as ‘crowd knowledge’ and currently is one important trend in supporting activities related to software development.
We present an approach that makes use of ‘crowd knowledge’ in SO to recommend information that can assist developer activities. This strategy recommends a ranked list of question‐answer pairs from SO based on a query. The criteria for ranking are based on three main aspects: the textual similarity of the pairs with respect to the query related to the developer's problem, the quality of the pairs, and a filtering mechanism that considers only ‘how‐to’ posts. We conducted an experiment considering programming problems on three different topics (Swing, Boost and LINQ) widely used by the software development community to evaluate the proposed recommendation strategy. The results have shown that for Lucene + Score + How-to approach, 77.14% of the assessed activities have at least one recommended pair proved to be useful concerning the target programming problem. Copyright © 2016 John Wiley & Sons, Ltd. |
---|---|
Bibliography: | CNPQ - No. 475519/2012-4 ark:/67375/WNG-JM3N2BG1-T FAPEMIG - No. CEXAPQ-2086-11 istex:2E2605E3E0161284B66827595EC913EC4E7AD08C ArticleID:SMR1800 |
ISSN: | 2047-7473 2047-7481 |
DOI: | 10.1002/smr.1800 |