Towards Faster Method Search Through Static Ecosystem Analysis


Autoria(s): Spasojevic, Boris; Lungu, Mircea; Nierstrasz, Oscar
Data(s)

01/08/2014

Resumo

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.

Formato

application/pdf

Identificador

http://boris.unibe.ch/67053/1/a11-spasojevic.pdf

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 <http://dx.doi.org/10.1145/2642803.2642814>

doi:10.7892/boris.67053

info:doi:10.1145/2642803.2642814

urn:isbn:978-1-4503-2778-7

Idioma(s)

eng

Publicador

ACM

Relação

http://boris.unibe.ch/67053/

http://scg.unibe.ch/archive/papers/Spas14aFasterMethodLookup.pdf

Direitos

info:eu-repo/semantics/restrictedAccess

Fonte

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 <http://dx.doi.org/10.1145/2642803.2642814>

Palavras-Chave #000 Computer science, knowledge & systems #510 Mathematics
Tipo

info:eu-repo/semantics/conferenceObject

info:eu-repo/semantics/publishedVersion

PeerReviewed