Title :
Empirical Studies on Test Effectiveness for Database Applications
Author :
Zhou, Chixiang ; Frankl, Phyllis
Author_Institution :
Dept. of Comput. Sci. & Eng., Polytech. Inst. of New York Univ., Brooklyn, OH, USA
Abstract :
This paper presents empirical studies of test effectiveness for Java database applications. We primarily address two research questions: (1) What is the relationship between test set size, coverage criteria, and test effectiveness for Java/JDBC programs? (2) Which adequacy criterion is more suitable for testing Java database applications, statement coverage, branch coverage, or command form coverage? We collected data sets by experimenting on several moderately complex open source database application programs, and performed a series of rigorous and comprehensive statistical analyses. The results show that linear models fit the relationship of size and coverage to effectiveness well and that coverage appears to have greater impact on effectiveness than size. However, surprisingly, command form coverage was not consistently more effective than statement or branch coverage.
Keywords :
Java; program testing; relational databases; statistical analysis; JDBC program; branch coverage; complex open source database application; coverage criteria; java database application; linear model; statement coverage; statistical analysis; test effectiveness; test set size; Context; Correlation; Databases; Java; Principal component analysis; Testing; Experimentation; Java Database Applications; Statistical Analysis; Test Adequacy Criteria;
Conference_Titel :
Software Testing, Verification and Validation (ICST), 2012 IEEE Fifth International Conference on
Conference_Location :
Montreal, QC
Print_ISBN :
978-1-4577-1906-6
DOI :
10.1109/ICST.2012.86