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
Text
06976128.pdf - Published Version Restricted to registered users only Available under License Publisher holds Copyright. Download (487kB) |
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) [discontinued] |
UniBE Contributor: |
Spasojevic, Boris, Lungu, Mircea, Nierstrasz, Oscar |
Subjects: |
000 Computer science, knowledge & systems 500 Science > 510 Mathematics |
ISSN: |
1063-6773 |
Publisher: |
IEEE |
Language: |
English |
Submitter: |
Oscar Nierstrasz |
Date Deposited: |
22 Apr 2015 16:20 |
Last Modified: |
02 Mar 2023 23:26 |
Publisher DOI: |
10.1109/ICSME.2014.84 |
Uncontrolled Keywords: |
scg14 jb15; scg-pub snf-asa; scg-bigdata |
BORIS DOI: |
10.7892/boris.67054 |
URI: |
https://boris.unibe.ch/id/eprint/67054 |