CodeShovel: Constructing Method-Level Source Code HistoriesACM SIGSOFT Distinguished PaperTechnical Track
Sat 29 May 2021 05:30 - 05:50 at Blended Sessions Room 4 - 4.4.4. Source Code Histories and Documentation
Source code histories are a common way for developers and researchers to reason about how software evolves. Through a survey with 42 professional software developers, we learned that developers face significant mismatches between the output provided by developers’ existing approaches for examining source code histories and what they need to successfully complete their historical analysis tasks. To address these shortcomings, we propose CodeShovel, a tool for uncovering method histories that quickly produces complete and accurate change histories for ~90% methods outperforming leading tools from both research (e.g, FinerGit) and practice (e.g., IntelliJ / git log). CodeShovel helps developers to navigate the entire history of source code methods so they can better understand how the method evolved. A field study on industrial code bases with 16 industrial developers confirmed our empirical findings of CodeShovel’s correctness, low runtime overheads, and additionally showed that the approach can be useful for a wide range of industrial development tasks.