Towards Faster Method Search Through Static Ecosystem Analysis

Spasojevic, Boris; Lungu, Mircea; Nierstrasz, Oscar (August 2014). Towards Faster Method Search Through Static Ecosystem Analysis. In: Proceedings of the 2014 European Conference on Software Architecture Workshops. ECSAW '14 (pp. 1-6). New York, NY, USA: ACM 10.1145/2642803.2642814

[img] Text
a11-spasojevic.pdf - Published Version
Restricted to registered users only
Available under License Publisher holds Copyright.

Download (417kB) | Request a copy

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.

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

ISBN:

978-1-4503-2778-7

Series:

ECSAW '14

Publisher:

ACM

Language:

English

Submitter:

Oscar Nierstrasz

Date Deposited:

23 Apr 2015 08:11

Last Modified:

02 Mar 2023 23:26

Publisher DOI:

10.1145/2642803.2642814

Uncontrolled Keywords:

scg-pub snf-asa scg14 jb14 internationalworkshop scg-bigdata

BORIS DOI:

10.7892/boris.67053

URI:

https://boris.unibe.ch/id/eprint/67053

Actions (login required)

Edit item Edit item
Provide Feedback