Towards Faster Method Search Through Static Ecosystem Analysis
Options
BORIS DOI
Publisher DOI
Description
Software developers are often unsure of the exact name of the method they need to use to invoke the desired behavior in a given context. This results in a process of searching for the correct method name in documentation, which can be lengthy and distracting to the developer. We can decrease the method search time by enhancing the documentation of a class with the most frequently used methods. Usage frequency data for methods is gathered by analyzing other projects from the same ecosystem - written in the same language and sharing dependencies. We implemented a proof of concept of the approach for Pharo Smalltalk and Java. In Pharo Smalltalk, methods are commonly searched for using a code browser tool called "Nautilus", and in Java using a web browser displaying HTML based documentation - Javadoc. We developed plugins for both browsers and gathered method usage data from open source projects, in order to increase developer productivity by reducing method search time. A small initial evaluation has been conducted showing promising results in improving developer productivity.
Date of Publication
2014-08
Publication Type
Conference Item
Keyword(s)
scg-pub snf-asa scg14 jb14 internationalworkshop scg-bigdata
Language(s)
en
Additional Credits
Publisher
ACM
ISBN
978-1-4503-2778-7
Access(Rights)
restricted