Test-driven reuse: Key to improving precision of search engines for software reuse

14Citations
Citations of this article
6Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The applicability of software reuse approaches in practice has long suffered from a lack of reusable material, but this situation has changed virtually over night: the rise of the open source movement has made millions of software artifacts available on the Internet. Suddenly, the existing (largely text-based) software search solutions did not suffer from a lack of reusable material anymore, but rather from a lack of precision as a query now might return thousands of potential results. In a reuse context, however, precisely matching results are the key for integrating reusable material into a given environment with as little effort as possible. Therefore a better way for formulating and executing queries is a core requirement for a broad application of software search and reuse. Inspired by the recent trend towards test-first software development approaches, we found test cases being a practical vehicle for reuse-driven software retrieval and developed a test-driven code search system utilizing simple unit tests as semantic descriptions of desired artifacts. In this chapter we describe our approach and present an evaluation that underlines its superior precision when it comes to retrieving reusable artifacts.

Cite

CITATION STYLE

APA

Hummel, O., & Janjic, W. (2013). Test-driven reuse: Key to improving precision of search engines for software reuse. In Finding Source Code on the Web for Remix and Reuse (Vol. 9781461465966, pp. 227–250). Springer New York. https://doi.org/10.1007/978-1-4614-6596-6_12

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free