Title :
Using association rules to study the co-evolution of production & test code
Author :
Lubsen, Zeeger ; Zaidman, Andy ; Pinzger, Martin
Author_Institution :
Software Improvement Group
Abstract :
Unit tests are generally acknowledged as an important aid to produce high quality code, as they provide quick feedback to developers on the correctness of their code. In order to achieve high quality, well-maintained tests are needed. Ideally, tests co-evolve with the production code to test changes as soon as possible. In this paper, we explore an approach based on association rule mining to determine whether production and test code co-evolve synchronously. Through two case studies, one with an open source and another one with an industrial software system, we show that our association rule mining approach allows one to assess the co-evolution of product and test code in a software project and, moreover, to uncover the distribution of programmer effort over pure coding, pure testing, or a more test-driven-like practice.
Keywords :
data mining; program testing; project management; public domain software; software maintenance; software quality; association rule mining; code correctness; code quality; industrial software system; open source; production code; production coevolution; software project; test code coevolution; Association rules; Computer industry; Data mining; Feedback; Mining industry; Open source software; Production; Software systems; Software testing; System testing;
Conference_Titel :
Mining Software Repositories, 2009. MSR '09. 6th IEEE International Working Conference on
Conference_Location :
Vancouver, BC
Print_ISBN :
978-1-4244-3493-0
DOI :
10.1109/MSR.2009.5069493