Machine Learning Approach in Mutation Testing [chapter]

Joanna Strug, Barbara Strug
2012 Lecture Notes in Computer Science  
This paper deals with an approach based on the similarity of mutants. This similarity is used to reduce the number of mutants to be executed. In order to calculate such a similarity among mutants their structure is used. Each mutant is converted into a hierarchical graph, which represents the program's flow, variables and conditions. On the basis of this graph form a special graph kernel is defined to calculate similarity among programs. It is then used to predict whether a given test would
more » ... ct a mutant or not. The prediction is carried out with the help of a classification algorithm. This approach should help to lower the number of mutants which have to be executed. An experimental validation of this approach is also presented in this paper. An example of a program used in experiments is described and the results obtained, especially classification errors, are presented.
doi:10.1007/978-3-642-34691-0_15 fatcat:vh5vujdczfe35hziwayxdho5gq