1. Comparing pre-commit reviews and post-commit reviews using process simulation.
- Author
-
Baum, Tobias, Kortum, Fabian, Schneider, Kurt, Brack, Arthur, and Schauder, Jens
- Subjects
CODE review (Computer science) ,AGILE software development ,COMPUTER software development ,SIMULATION methods & models ,MATHEMATICAL models - Abstract
Code review in practice is often performed change-based, ie, using the code changes belonging to a task to determine which code to review. Previous studies found that 2 variations of this process are used in industry: pre-commit review and post-commit review. The choice between these has implications not only for practitioners deciding on a code review process to use but also for the development of review tools and for experimentation with review processes. In some situations, a specific variant is clearly preferable due to the nature of the development process or team. In other situations, there are conflicting opinions. So we asked: Are there practically relevant performance differences between pre and post-commit reviews? How are these differences influenced by contextual factors? To assess these questions, we designed a parametric discrete event simulation model of certain agile development processes. We validated this model with practitioner's feedback and in part also with empirical data from industry. Our analysis indicates that the best choice does depend on the context but also that there are many situations with no practically relevant difference between both choices. We identified the main influencing factors and underlying effects and condensed our findings into heuristic rules. [ABSTRACT FROM AUTHOR]
- Published
- 2017
- Full Text
- View/download PDF