AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

Detecting and Untangling Composite Commits via Attributed Graph Modeling

State Key Laboratory for Novel Software Technology, Nanjing University, Nanjing 210023, China
Show Author Information

Abstract

During software development, developers tend to tangle multiple concerns into a single commit, resulting in many composite commits. This paper studies the problem of detecting and untangling composite commits, so as to improve the maintainability and understandability of software. Our approach is built upon the observation that both the textual content of code statements and the dependencies between code statements are helpful in comprehending the code commit. Based on this observation, we first construct an attributed graph for each commit, where code statements and various code dependencies are modeled as nodes and edges, respectively, and the textual bodies of code statements are maintained as node attributes. Based on the attributed graph, we propose graph-based learning algorithms that first detect whether the given commit is a composite commit, and then untangle the composite commit into atomic ones. We evaluate our approach on nine C# projects, and the results demonstrate the effectiveness and efficiency of our approach.

Electronic Supplementary Material

Download File(s)
JCST-2211-12943-Highlights.pdf (286 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 119-137

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Xu S-B, Chen S-Y, Yao Y, et al. Detecting and Untangling Composite Commits via Attributed Graph Modeling. Journal of Computer Science and Technology, 2025, 40(1): 119-137. https://doi.org/10.1007/s11390-024-2943-9

563

Views

1

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 21 November 2022
Accepted: 30 April 2024
Published: 23 February 2025
© Institute of Computing Technology, Chinese Academy of Sciences 2025