The Design of Java Database Application Mutation Analyzer Based on Java Program Analysis
In this paper, the author presents a technique for applying mutation testing to database application programs written in Java/JDBC, along with a prototype implementation, JDAMA. They used JDAMA to compare the mutation scores achieved by AGENDA's test generator to that of random testing on two database applications: a small program based on a JDBC tutorial and a moderately large OLTP benchmark, TPC-C. The technique has a static phase and a dynamic phase. The static phase works with abstract queries (command forms), i.e., queries in which some tokens are replaced by placeholders representing values of Java variables that are used in constructing the query through a sequence of string concatenations.