Title :
Documenting APIs with examples: Lessons learned with the APIMiner platform
Author :
Montandon, Joao Eduardo ; Borges, Hudson ; Felix, Daniel ; Valente, Marco Tulio
Author_Institution :
Dept. of Comput. Sci., UFMG, Belo Horizonte, Brazil
Abstract :
Software development increasingly relies on Application Programming Interfaces (APIs) to increase productivity. However, learning how to use new APIs in many cases is a nontrivial task given their ever-increasing complexity. To help developers during the API learning process, we describe in this paper a platform - called APIMiner - that instruments the standard Java-based API documentation format with concrete examples of usage. The examples are extracted from a private source code repository - composed by real systems - and summarized using a static slicing algorithm. We also describe a particular instantiation of our platform for the Android API. To evaluate the proposed solution, we performed a field study, when professional Android developers used the platform by four months.
Keywords :
Java; application program interfaces; data mining; software engineering; system documentation; API documentation; API learning process; APIMiner platform; Android API; application programming interfaces; private source code repository; software development; standard Java-based API documentation format; static slicing algorithm; Androids; Computer architecture; Documentation; Google; Humanoid robots; Instruments; Measurement; API documentation; JavaDoc; field study; source code examples;
Conference_Titel :
Reverse Engineering (WCRE), 2013 20th Working Conference on
Conference_Location :
Koblenz
DOI :
10.1109/WCRE.2013.6671315