Something went wrong. Try again.
A polyglot incremental mutation tester
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186[[mutation]]kind = "StatementBlock"snippet = """void f() { x = 1; }"""
[[mutation]]kind = "Condition"snippet = """void f() { if (x) { return; } }"""
[[mutation]]kind = "BinaryOp(Add)"snippet = """int x = a + b;"""
[[mutation]]kind = "BinaryOp(And)"snippet = """int x = a && b;"""
[[mutation]]kind = "BinaryOp(BitAnd)"snippet = """int x = a & b;"""
[[mutation]]kind = "BinaryOp(BitOr)"snippet = """int x = a | b;"""
[[mutation]]kind = "BinaryOp(BitXor)"snippet = """int x = a ^ b;"""
[[mutation]]kind = "BinaryOp(Div)"snippet = """int x = a / b;"""
[[mutation]]kind = "BinaryOp(Eq)"snippet = """int x = a == b;"""
[[mutation]]kind = "BinaryOp(Gt)"snippet = """int x = a > b;"""
[[mutation]]kind = "BinaryOp(Gte)"snippet = """int x = a >= b;"""
[[mutation]]kind = "BinaryOp(Lt)"snippet = """int x = a < b;"""
[[mutation]]kind = "BinaryOp(Lte)"snippet = """int x = a <= b;"""
[[mutation]]kind = "BinaryOp(Mul)"snippet = """int x = a * b;"""
[[mutation]]kind = "BinaryOp(Or)"snippet = """int x = a || b;"""
[[mutation]]kind = "BinaryOp(Rem)"snippet = """int x = a % b;"""
[[mutation]]kind = "BinaryOp(Shl)"snippet = """int x = a << b;"""
[[mutation]]kind = "BinaryOp(Shr)"snippet = """int x = a >> b;"""
[[mutation]]kind = "BinaryOp(Ne)"snippet = """int x = a != b;"""
[[mutation]]kind = "BinaryOp(Sub)"snippet = """int x = a - b;"""
[[mutation]]kind = "Assign(AddAssign)"snippet = """void f() { x += 1; }"""
[[mutation]]kind = "Assign(BitAndAssign)"snippet = """void f() { x &= 1; }"""
[[mutation]]kind = "Assign(BitOrAssign)"snippet = """void f() { x |= 1; }"""
[[mutation]]kind = "Assign(BitXorAssign)"snippet = """void f() { x ^= 1; }"""
[[mutation]]kind = "Assign(DivAssign)"snippet = """void f() { x /= 1; }"""
[[mutation]]kind = "Assign(MulAssign)"snippet = """void f() { x *= 1; }"""
[[mutation]]kind = "Assign(NormalAssign)"snippet = """void f() { x = 1; }"""
[[mutation]]kind = "Assign(RemAssign)"snippet = """void f() { x %= 1; }"""
[[mutation]]kind = "Assign(ShlAssign)"snippet = """void f() { x <<= 1; }"""
[[mutation]]kind = "Assign(ShrAssign)"snippet = """void f() { x >>= 1; }"""
[[mutation]]kind = "Assign(SubAssign)"snippet = """void f() { x -= 1; }"""
[[mutation]]kind = "ArrayDecl(Inline)"snippet = """int arr[] = {1, 2, 3};"""
[[mutation]]kind = "Literal(String)"snippet = """char *s = "hello";"""
[[mutation]]kind = "Literal(EmptyString)"snippet = """char *s = "";"""
[[mutation]]kind = "Literal(Number)"snippet = """int x = 42;"""
[[mutation]]kind = "UnaryNot"snippet = """void f() { int x = !y; }"""
[[mutation]]kind = "SwitchCase"snippet = """void f() { switch(x) { case 1: break; } }"""