I am trying to generate all possible Associative Fault Mutants for a predicate.

For example: A predicate p= (a*b)*(c*d)

where * represents a logical operator viz., || or &&.

The possible mutants are

m1= a*(b*c)*d

m2= ((a*b)*c)d

m3= a*(b*(c*d))

and so on...

But, when the conditions contains 'Not' operator then what will the possible mutants?

for this predicate p= !(!(!a*b)*c)d, how to generate the possible associative fault mutants?

Any lead will be very helpful.

More Arpita Dutta's questions See All
Similar questions and discussions