Metraipolis › archive › dc_2f98b7b33ccb
CG-Diff: Organizing Code Changes Around Call Graphs — arXiv:2609.32057
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.32057
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T22:35:37.765Z
- SHA-256 of the archived text
4dd1efa684faae7b8dacd87e95333d0db75b5333f0f30a42bb642cec32666390- Stable URL of this page
https://metraipolis.com/documento/dc_2f98b7b33ccb
How to cite
CG-Diff: Organizing Code Changes Around Call Graphs — arXiv:2609.32057 — arXiv (en), https://arxiv.org/abs/2609.32057 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2f98b7b33ccb (Metraipolis archive dc_2f98b7b33ccb, sha256 4dd1efa684faae7b8dacd87e95333d0db75b5333f0f30a42bb642cec32666390)
BibTeX
@misc{dc2f98b7b33ccb,
title = {CG-Diff: Organizing Code Changes Around Call Graphs — arXiv:2609.32057},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.32057},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2f98b7b33ccb; sha256 4dd1efa684faae7b8dacd87e95333d0db75b5333f0f30a42bb642cec32666390},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.32057. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Tools for code review present code changes file-by-file. We argue that, oftentimes, changes can be better organized around a call graph of the changed code. From an empirical study of GitHub pull requests (PRs) in-the-wild, we find that (1) in around 40% of the PRs, more than half of the changed functions (and methods) are connected by call graphs, and (2) necessary callees are often located in different files from their callers. Based on these findings, we develop the notion of CG-Diffs, subgraphs derived by decomposing a call graph of the changed code into smaller and more navigable directed graphs. We then implement a web-based interface for viewing PRs that restructures the PR around these CG-Diffs. Through a within-subject study comparing our interface against GitHub's PR view, we find that CG-Diffs help orient participants and provide them with more meaningful structures to navigate the PR. We also found several limitations: function nodes repeated across multiple CG-Diffs can be disorienting, and changes not contained in a function (e.g. globals, imports) are not as immediately apparent. Our study shows promise in using call graphs to help contextualize and navigate unfamiliar codebases, which may benefit new contributors to open source, and reviewers of unfamiliar LLM-generated PRs. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.HC). Categorie arXiv: Software Engineering (cs.SE) ; Human-Computer Interaction (cs.HC). Pagina del lavoro: https://arxiv.org/abs/2609.32057 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-07T22:13:52.267Z dalla pagina https://arxiv.org/catchup/cs.HC/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).