Spasojevic, Boris; Lungu, Mircea; Nierstrasz, Oscar (September 2014). Overthrowing the Tyranny of Alphabetical Ordering in Documentation Systems. International Conference on Software Maintenance. Proceedings, pp. 511-515. IEEE 10.1109/ICSME.2014.84
06976128.pdf - Published Version
Restricted to registered users only
Available under License Publisher holds Copyright.
Download (487kB) | Request a copy
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.
|Item Type:||Conference or Workshop Item (Paper)|
|Division/Institute:||08 Faculty of Science > Institute of Computer Science (INF)
08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG)
|UniBE Contributor:||Spasojevic, Boris; Lungu, Mircea and Nierstrasz, Oscar Marius|
|Subjects:||000 Computer science, knowledge & systems
500 Science > 510 Mathematics
|Submitter:||Oscar Marius Nierstrasz|
|Date Deposited:||22 Apr 2015 16:20|
|Last Modified:||08 Feb 2017 11:45|
|Uncontrolled Keywords:||scg14 jb15; scg-pub snf-asa; scg-bigdata|