Evaluation of Programming Language-Aware Diffs for Improving Developer Productivity
- Sandia National Lab. (SNL-NM), Albuquerque, NM (United States)
As the number of supported platforms for SNL software increases, so do the testing requirements. This increases the total time spent between when a developer submits code for testing, and when tests are completed. This in turn leads developers to hold off submitting code for testing, meaning that when code is ready for testing there's a lot more of it. This increases the likelihood of merge conflicts which the developer must resolve by hand -- because someone else touched the files near the lines the developer touched. Current text-based diff tools often have trouble resolving conflicts in these cases. Work in Europe and Japan has demonstrated that, using programming language aware diff tools (e.g., using the abstract syntax tree (AST) a compiler might generate) can reduce the manual labor necessary to resolve merge conflicts. These techniques can detect code blocks which have moved, as opposed than current text-based diff tools, which only detect insertions / deletions of text blocks. In this study, we evaluate one such tool, GumTree, and see how effective it is as a replacement for traditional text-based diff approaches.
- Research Organization:
- Sandia National Laboratories (SNL-NM), Albuquerque, NM (United States)
- Sponsoring Organization:
- USDOE National Nuclear Security Administration (NNSA)
- DOE Contract Number:
- NA0003525;
- OSTI ID:
- 1832300
- Report Number(s):
- SAND2021-13588; 701800
- Country of Publication:
- United States
- Language:
- English
Similar Records
AstraAI v1
On the measurement of Sdiff splitting caused by lowermost mantle anisotropy
TRIX: an interactive, interpretive language for manipulating strings of characters. [For CDC 6600 and 7600 computers at LLL]
Software
·
2026
·
OSTI ID:code-178311
On the measurement of Sdiff splitting caused by lowermost mantle anisotropy
Journal Article
·
2022
· Geophysical Journal International
·
OSTI ID:1957920
TRIX: an interactive, interpretive language for manipulating strings of characters. [For CDC 6600 and 7600 computers at LLL]
Technical Report
·
1976
·
OSTI ID:7301791