Hey! are you committing tangled changes?
Authors:
Open Access
- 2 June 2014
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 262-265
Abstract
Although there is a principle that states a commit should only include changes for a single task, it is not always respected by developers. This means that code repositories often include commits that contain tangled changes. The presence of such tangled changes hinders analyzing code repositories because most mining software repository (MSR) approaches are designed with the assumption that every commit includes only changes for a single task. In this paper, we propose a technique to inform developers that they are in the process of committing tangled changes. The proposed technique utilizes the changes included in the past commits to judge whether a given commit includes tangled changes. If it determines that the proposed commit may include tangled changes, it offers suggestions on how the tangled changes can be split into a set of untangled changes.Keywords
This publication has 14 references indexed in Scilit:
- How Much Do Code Repositories Include Peripheral Modifications?2013
- Enhancement of CRD-based clone tracking2013
- How often do unintended inconsistencies happen? Deriving modification patterns and detecting overlooked code fragments2012
- How We Refactor, and How We Know ItIEEE Transactions on Software Engineering, 2011
- A comparative analysis of the efficiency of change metrics and static code attributes for defect prediction2008
- Mining software repositories for traceability links2007
- Identifying Changed Source Code Lines from Version Repositories2007
- A survey and taxonomy of approaches for mining software repositories in the context of software evolutionJournal of Software Maintenance and Evolution: Research and Practice, 2007
- Mining version histories to guide software changesIEEE Transactions on Software Engineering, 2005
- Predicting source code changes by mining change historyIEEE Transactions on Software Engineering, 2004