DocumentCode
138957
Title
On the Extraction of Cookbooks for APIs from the Crowd Knowledge
Author
de Souza, Lucas B. L. ; Campos, Eduardo C. ; de A Maia, Marcelo
Author_Institution
Dept. of Comput. Sci., Fed. Univ. of Uberlandia, Uberlandia, Brazil
fYear
2014
fDate
Sept. 28 2014-Oct. 3 2014
Firstpage
21
Lastpage
30
Abstract
Developers of reusable software elements, such as libraries, usually have the responsibility to provide comprehensive and high quality documentation to enable effective software reuse. The effective reuse of libraries depends upon the quality of the API (Application Program Interface) documentation. Well established libraries typically have comprehensive API documentation, for example in Javadocs. However, they typically lack examples and explanations, which makes the effective reuse of the library difficult. StackOverflow.com (SO) is a Question and Answer service directed to issues related to software development. On SO, developers post questions related to a programming topic and other members of the SO community can provide answers to help them solving their problems. Despite the increasing adoption of SO, the information related to a particular topic is spread across the website. Thus, SO still lacks organization of its crowd knowledge. In this paper, we present an automatic approach that organizes the information available on SO in order to build cookbooks (recipe-oriented books) for APIs. The cookbooks are meant to be used through an exploration process (browsing). In order to evaluate the proposed approach, we have generated cookbooks for three APIs widely used by the software development community: SWT, STL and LINQ. Desired properties that cookbooks must meet were identified and a study was conducted to assess to what extent the generated cookbook meet those properties.
Keywords
application program interfaces; software libraries; software quality; software reusability; API documentation; Javadocs; LINQ; SO; STL; SWT; StackOverflow.com; application program interface; cookbooks extraction; crowd knowledge; exploration process; high quality documentation; libraries; reusable software elements; Communities; Documentation; Equations; Libraries; Measurement; Message systems; Software; APIs documentation; Q&A services; crowd knowledge;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering (SBES), 2014 Brazilian Symposium on
Conference_Location
Maceio
Type
conf
DOI
10.1109/SBES.2014.15
Filename
6943479
Link To Document