TitleReducing feedback delay of software development tools via continuous analysis
Publication TypeJournal Article
Year of Publication2015
AuthorsMuşlu K\ivanç, Brun Y, Ernst MD, Notkin D
JournalIEEE Transactions on Software Engineering
Volume41
Pagination745–763
Date or Month PublishedAugust
Abstract

During software development, the sooner a developer learns how code changes affect program analysis results, the more helpful that analysis is. Manually invoking an analysis may interrupt the developer's workflow or cause a delay before the developer learns the implications of the change. A better approach is continuous analysis tools that always provide up-to-date results. We present Codebase Replication, a technique that eases the implementation of continuous analysis tools by converting an existing offline analysis into an IDE-integrated, continuous tool with two desirable properties: isolation and currency. Codebase Replication creates and keeps in sync a copy of the developer's codebase. The analysis runs on the copy codebase without disturbing the developer and without being disturbed by the developer's changes. We developed Solstice, an open-source, publicly-available Eclipse plug-in that implements Codebase Replication. Solstice has less than 2.5 milliseconds overhead for most common developer actions. We used Solstice to implement four Eclipse-integrated continuous analysis tools based on the offline versions of FindBugs, PMD, data race detection, and unit testing. Each conversion required on average 710 LoC and 20 hours of implementation effort. Case studies indicate that Solstice-based continuous analysis tools are intuitive and easy-to-use.

Downloadshttp://homes.cs.washington.edu/~mernst/pubs/offline-continuous-esecfse20... ESEC/FSE 2013 slides (PDF) http://homes.cs.washington.edu/~mernst/pubs/offline-continuous-esecfse20... ESEC/FSE 2013 slides (PowerPoint) https://bitbucket.org/kivancmuslu/solstice/ Solstice implementation http://homes.cs.washington.edu/~mernst/pubs/offline-continuous-tse2015.pdf PDF
Citation KeyMusluBEN2015