Sciweavers

VL
2009
IEEE

Improving API documentation using API usage information

14 years 6 months ago
Improving API documentation using API usage information
Jadeite is a new Javadoc-like API documentation system that takes advantage of multiple users’ aggregate experience to reduce difficulties that programmers have learning new APIs. Previous studies have shown that programmers often guessed that certain classes or methods should exist, and looked for these in the API. Jadeite’s “placeholders” let users add new “pretend” classes or methods that are displayed in the actual API documentation, and can be annotated with the appropriate APIs to use instead. Since studies showed that programmers had difficulty finding the right classes from long lists in documentation, Jadeite takes advantage of usage statistics to display commonly used classes more prominently. Programmers had difficulty discovering how to instantiate objects, so Jadeite uses a large corpus of sample code to automatically the most common ways to construct an instance of any given class. An evaluation showed that programmers were about three times faster at perform...
Jeffrey Stylos, Andrew Faulring, Zizhuang Yang, Br
Added 21 May 2010
Updated 21 May 2010
Type Conference
Year 2009
Where VL
Authors Jeffrey Stylos, Andrew Faulring, Zizhuang Yang, Brad A. Myers
Comments (0)