Title :
Early Conflict Detection with Mined Models
Author :
Mariani, Leonardo ; Micucci, Daniela ; Pastore, Fabrizio
Author_Institution :
Univ. of Milano Bicocca, Milan, Italy
Abstract :
The key idea introduced in this paper consists of running a multi-branch server-side dynamic analysis at every commit operation. The analysis will execute the test cases available in the source code management (SCM) system to trace the behavior of the application and automatically derive models that capture how the program behaves according to multiple dimensions. For instance, the functional behavior of the program can be represented with method pre- and post-conditions, API usage protocols, and precedence rules among method invocations. The temporal behavior of a program can be represented with models that capture aspects, such as deadlines, periodicity, and constraints on the timing of the tasks. These models are used on the server side to run automated conflict detection. Models are derived for every version in every branch, and automatically compared every time a change is introduced. Comparing models allows identifying behavioral conflicts regardless the presence of textual conflicts, which do not need to be resolved to run the analysis. We call this analysis Behavioral Driven Continuous Integration (BDCI).
Keywords :
application program interfaces; data mining; program diagnostics; API usage protocols; BDCI; SCM system; application behavior tracing; automated conflict detection; behavioral conflict identification; behavioral driven continuous integration; functional behavior; method invocations; model mining; multibranch server-side dynamic analysis; precedence rules; program temporal behavior; source code management system; textual conflicts; Analytical models; Merging; Servers; Sockets; Software; Timing; configuration management; conflict detection; version control;
Conference_Titel :
Software Reliability Engineering Workshops (ISSREW), 2014 IEEE International Symposium on
Conference_Location :
Naples
DOI :
10.1109/ISSREW.2014.33