Title :
Safe-commit analysis to facilitate team software development
Author :
Wloka, Jan ; Ryder, Barbara ; Tip, Frank ; Ren, Xiaoxia
Author_Institution :
Dept. of Comput. Sci., Rutgers Univ., Piscataway, NJ
Abstract :
Software development teams exchange source code in shared repositories. These repositories are kept consistent by having developers follow a commit policy, such as ldquoProgram edits can be committed only if all available tests succeed.rdquo Such policies may result in long intervals between commits, increasing the likelihood of duplicative development and merge conflicts. Furthermore, commit policies are generally not automatically enforceable. We present a program analysis to identify committable changes that can be released early, without causing failures of existing tests, even in the presence of failing tests in a developer´s local workspace. The algorithm can support relaxed commit policies that allow early release of changes, reducing the potential for merge conflicts. In experiments using several versions of a non-trivial software system with failing tests, 3 newly enabled commit policies were shown to allow a significant percentage of changes to be committed.
Keywords :
program diagnostics; software engineering; program analysis; safe-commit analysis; software development; Computer science; Control systems; Degradation; Failure analysis; Guidelines; Programming; Project management; Software systems; Software testing; System testing;
Conference_Titel :
Software Engineering, 2009. ICSE 2009. IEEE 31st International Conference on
Conference_Location :
Vancouver, BC
Print_ISBN :
978-1-4244-3453-4
DOI :
10.1109/ICSE.2009.5070549