SEHCSep 6, 2021

Edit-Run Behavior in Programming and Debugging

arXiv:2109.02682v12 citations
Originality Synthesis-oriented
AI Analysis

This research addresses the lack of understanding about edit-run cycles for software developers, providing empirical data to inform tool design, though it is incremental in nature.

The study analyzed edit-run cycles in programming and debugging, finding that developers edit and run code an average of 7 times to fix a defect and twice to introduce one, with cycle lengths varying from 1 to 5 minutes depending on activities involved.

As developers program and debug, they continuously edit and run their code, a behavior known as edit-run cycles. While techniques such as live programming are intended to support this behavior, little is known about the characteristics of edit-run cycles themselves. To bridge this gap, we analyzed 28 hours of programming and debugging work from 11 professional developers which encompassed over three thousand development activities. We mapped activities to edit or run steps, constructing 581 debugging and 207 programming edit-run cycles. We found that edit-run cycles are frequent. Developers edit and run the program, on average, 7 times before fixing a defect and twice before introducing a defect. Developers waited longer before again running the program when programming than debugging, with a mean cycle length of 3 minutes for programming and 1 minute for debugging. Most cycles involved an edit to a single file after which a developer ran the program to observe the impact on the final output. Edit-run cycles which included activities beyond edit and run, such as navigating between files, consulting resources, or interacting with other IDE features, were much longer, with a mean length of 5 minutes, rather than 1.5 minutes. We conclude with a discussion of design recommendations for tools to enable more fluidity in edit-run cycles.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes