Title :
Towards a Better Understanding of Testing if Conditionals
Author :
Nath, Shimul Kumar ; Merkel, Ronny ; Man Fai Lau ; Paul, Thomas K.
Author_Institution :
Fac. of Inf. & Commun. Technol., Swinburne Univ. of Technol., Melbourne, VIC, Australia
Abstract :
Fault based testing is a technique for choosing test cases to reveal certain classes of faults. Due to limited resources and time, testing professionals use their personal experience to (1) "guess" which fault classes are most likely to be present and, then, (2) select appropriate testing methods to reveal such fault classes. The quality of the software depends on whether they can make a good "guess" about the type of faults present and then choose the right testing methods to reveal those faults. However, there is little empirical evidence available in the open literature to support these intuitions. For example, there is no empirical evidence about which types of faults are most commonly made by software developers. By examining the source code changes when faults were fixed in seven open source software artifacts, we propose to classify bug fix patterns into fault classes, and recorded the relative frequencies of those fault classes. This paper reports our findings related to "ifconditional" fixes.
Keywords :
program testing; public domain software; software quality; bug fix pattern classification; fault based testing; if conditionals testing; open source software artifact; software quality; source code change; testing method; Computer bugs; Correlation; Distance measurement; Java; Software systems; Testing; bug fix pattern; empirical study; fault class; fault frequency; testing;
Conference_Titel :
Software Engineering Conference (APSEC), 2012 19th Asia-Pacific
Conference_Location :
Hong Kong
Print_ISBN :
978-1-4673-4930-7
DOI :
10.1109/APSEC.2012.131