DocumentCode
176229
Title
Overthrowing the Tyranny of Alphabetical Ordering in Documentation Systems
Author
Spasojevic, Boris ; Lungu, Mircea ; Nierstrasz, Oscar
Author_Institution
Univ. of Bern, Bern, Switzerland
fYear
2014
fDate
Sept. 29 2014-Oct. 3 2014
Firstpage
511
Lastpage
515
Abstract
Software developers are often unsure of the exact name of the API method they need to use to invoke the desired behavior. Most state-of-the-art documentation browsers present API artefacts in alphabetical order. Albeit easy to implement, alphabetical order does not help much: if the developer knew the name of the required method, he could have just searched for it in the first place. In a context where multiple projects use the same API, and their source code is available, we can improve the API presentation by organizing the elements in the order in which they are more likely to be used by the developer. Usage frequency data for methods is gathered by analyzing other projects from the same ecosystem and this data is used then to improve tools. We present a preliminary study on the potential of this approach to improve the API presentation by reducing the time it takes to find the method that implements a given feature. We also briefly present our experience with two proof-of-concept tools implemented for Smalltalk and Java.
Keywords
application program interfaces; software engineering; system documentation; API presentation; Java; Smalltalk; documentation systems alphabetical ordering; proof-of-concept tools; Browsers; Documentation; Ecosystems; Equations; Java; Software; Sorting; documentation; ecosystem analysis;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Evolution (ICSME), 2014 IEEE International Conference on
Conference_Location
Victoria, BC
ISSN
1063-6773
Type
conf
DOI
10.1109/ICSME.2014.84
Filename
6976128
Link To Document