CodeShovel: Constructing Method-Level Source Code Histories
ACM SIGSOFT Distinguished PaperTechnical Track
This program is tentative and subject to change.
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 HistoryFinder, 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). HistoryFinder 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 HistoryFinder’s correctness, low runtime overheads, and additionally showed that the approach can be useful for a wide range of industrial development tasks.