Mutang Report

Tests:7
Mutants:70
Execution Time:1s 838ms
Killed mutants:21
Survived mutants:47
Timed Out mutants:0
Crashed mutants:2
Max distance:6
Min distance:1
Mean distance:3
Mutation Score:32.9%

Results grouped by Mutation Distance

Distance:1
Mutants:2
Killed mutants:0
Survived mutants:2
Timed Out mutants:0
Crashed mutants:0
Mutation Score:0.0%
Duration:34ms
Distance:2
Mutants:29
Killed mutants:10
Survived mutants:17
Timed Out mutants:0
Crashed mutants:2
Mutation Score:41.4%
Duration:729ms
Distance:3
Mutants:17
Killed mutants:6
Survived mutants:11
Timed Out mutants:0
Crashed mutants:0
Mutation Score:35.3%
Duration:421ms
Distance:4
Mutants:10
Killed mutants:1
Survived mutants:9
Timed Out mutants:0
Crashed mutants:0
Mutation Score:10.0%
Duration:187ms
Distance:5
Mutants:6
Killed mutants:2
Survived mutants:4
Timed Out mutants:0
Crashed mutants:0
Mutation Score:33.3%
Duration:139ms
Distance:6
Mutants:6
Killed mutants:2
Survived mutants:4
Timed Out mutants:0
Crashed mutants:0
Mutation Score:33.3%
Duration:145ms

Mutation Results

APSIntTest.MoveTest 4

Original Test

Passed

Duration: 20ms

Mutations duration: 72ms

negate_mutation_operator

Survived

Distance: 1

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:666:

      if (this == &that)
               ^

negate_mutation_operator

Survived

Distance: 1

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:668:

      delete[] pVal;
      ^

negate_mutation_operator

Survived

Distance: 2

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:107:

  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
                                              ^

negate_mutation_operator

Survived

Distance: 2

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:298:

      delete[] pVal;
      ^
APSIntTest.get 8

Original Test

Passed

Duration: 18ms

Mutations duration: 134ms

negate_mutation_operator

Survived

Distance: 2

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:107:

  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
                                              ^

add_mutation_operator

Survived

Distance: 2

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1306:

      return BitWidth - countLeadingOnes() + 1;
                                           ^

add_mutation_operator

Survived

Distance: 2

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1307:

    return getActiveBits() + 1;
                           ^

negate_mutation_operator

Survived

Distance: 3

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:298:

      delete[] pVal;
      ^

negate_mutation_operator

Survived

Distance: 4

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:950:

    assert(bitPosition < getBitWidth() && "Bit position out of bounds!");
    ^

negate_mutation_operator

Survived

Distance: 4

Duration: 16ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:952:

            (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) !=
                                                                   ^

negate_mutation_operator

Survived

Distance: 5

Duration: 16ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
           ^

negate_mutation_operator

Survived

Distance: 5

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
                                  ^
APSIntTest.getUnsigned 8

Original Test

Passed

Duration: 14ms

Mutations duration: 132ms

negate_mutation_operator

Survived

Distance: 2

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:107:

  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
                                              ^

add_mutation_operator

Survived

Distance: 2

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1306:

      return BitWidth - countLeadingOnes() + 1;
                                           ^

add_mutation_operator

Survived

Distance: 2

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1307:

    return getActiveBits() + 1;
                           ^

negate_mutation_operator

Survived

Distance: 3

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:298:

      delete[] pVal;
      ^

negate_mutation_operator

Survived

Distance: 4

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:950:

    assert(bitPosition < getBitWidth() && "Bit position out of bounds!");
    ^

negate_mutation_operator

Survived

Distance: 4

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:952:

            (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) !=
                                                                   ^

negate_mutation_operator

Survived

Distance: 5

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
           ^

negate_mutation_operator

Survived

Distance: 5

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
                                  ^
APSIntTest.getExtValue 8

Original Test

Passed

Duration: 16ms

Mutations duration: 132ms

negate_mutation_operator

Survived

Distance: 2

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:298:

      delete[] pVal;
      ^

add_mutation_operator

Survived

Distance: 2

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1306:

      return BitWidth - countLeadingOnes() + 1;
                                           ^

add_mutation_operator

Survived

Distance: 2

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1307:

    return getActiveBits() + 1;
                           ^

negate_mutation_operator

Survived

Distance: 3

Duration: 16ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:107:

  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
                                              ^

negate_mutation_operator

Survived

Distance: 4

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:950:

    assert(bitPosition < getBitWidth() && "Bit position out of bounds!");
    ^

negate_mutation_operator

Survived

Distance: 4

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:952:

            (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) !=
                                                                   ^

negate_mutation_operator

Survived

Distance: 6

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
           ^

negate_mutation_operator

Survived

Distance: 6

Duration: 16ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
                                  ^
APSIntTest.compareValues 4

Original Test

Passed

Duration: 15ms

Mutations duration: 62ms

negate_mutation_operator

Survived

Distance: 3

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:950:

    assert(bitPosition < getBitWidth() && "Bit position out of bounds!");
    ^

negate_mutation_operator

Survived

Distance: 3

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:952:

            (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) !=
                                                                   ^

negate_mutation_operator

Survived

Distance: 3

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:298:

      delete[] pVal;
      ^

negate_mutation_operator

Survived

Distance: 4

Duration: 15ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:107:

  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
                                              ^
APSIntTest.FromString 19

Original Test

Passed

Duration: 15ms

Mutations duration: 380ms

negate_mutation_operator

Survived

Distance: 2

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/StringRef.h:74:

        assert(Str && "StringRef cannot be built from a NULL argument");
        ^

add_mutation_operator

Killed

Distance: 2

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:25:

  unsigned NumBits = ((Str.size() * 64) / 19) + 2;
                                              ^

negate_mutation_operator

Crashed

Distance: 2

Duration: 29ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/StringRef.h:120:

    bool empty() const { return Length == 0; }
                                       ^

negate_mutation_operator

Killed

Distance: 2

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:27:

  if (Str[0] == '-') {
             ^

negate_mutation_operator

Survived

Distance: 2

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:29:

    if (MinBits > 0 && MinBits < NumBits)
                ^

negate_mutation_operator

Survived

Distance: 2

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:29:

    if (MinBits > 0 && MinBits < NumBits)
                               ^

negate_mutation_operator

Crashed

Distance: 2

Duration: 31ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:35:

  if (ActiveBits > 0 && ActiveBits < NumBits)
                 ^

negate_mutation_operator

Survived

Distance: 2

Duration: 24ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:35:

  if (ActiveBits > 0 && ActiveBits < NumBits)
                                   ^

add_mutation_operator

Survived

Distance: 2

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1306:

      return BitWidth - countLeadingOnes() + 1;
                                           ^

add_mutation_operator

Survived

Distance: 2

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1307:

    return getActiveBits() + 1;
                           ^

negate_mutation_operator

Survived

Distance: 3

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/StringRef.h:214:

      assert(Index < Length && "Invalid index!");
      ^

negate_mutation_operator

Survived

Distance: 3

Duration: 20ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:666:

      if (this == &that)
               ^

negate_mutation_operator

Survived

Distance: 3

Duration: 20ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:668:

      delete[] pVal;
      ^

negate_mutation_operator

Survived

Distance: 3

Duration: 20ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:107:

  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
                                              ^

negate_mutation_operator

Survived

Distance: 3

Duration: 20ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:298:

      delete[] pVal;
      ^

negate_mutation_operator

Survived

Distance: 4

Duration: 19ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:950:

    assert(bitPosition < getBitWidth() && "Bit position out of bounds!");
    ^

negate_mutation_operator

Survived

Distance: 4

Duration: 16ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:952:

            (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) !=
                                                                   ^

negate_mutation_operator

Survived

Distance: 6

Duration: 18ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
           ^

negate_mutation_operator

Survived

Distance: 6

Duration: 17ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
                                  ^
APSIntTest.StringDeath 19

Original Test

Failed

Duration: 85ms

Mutations duration: 743ms

negate_mutation_operator

Killed

Distance: 2

Duration: 35ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/StringRef.h:74:

        assert(Str && "StringRef cannot be built from a NULL argument");
        ^

add_mutation_operator

Killed

Distance: 2

Duration: 45ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:25:

  unsigned NumBits = ((Str.size() * 64) / 19) + 2;
                                              ^

negate_mutation_operator

Killed

Distance: 2

Duration: 52ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/StringRef.h:120:

    bool empty() const { return Length == 0; }
                                       ^

negate_mutation_operator

Killed

Distance: 2

Duration: 42ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:27:

  if (Str[0] == '-') {
             ^

negate_mutation_operator

Killed

Distance: 2

Duration: 36ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:29:

    if (MinBits > 0 && MinBits < NumBits)
                ^

negate_mutation_operator

Killed

Distance: 2

Duration: 37ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:29:

    if (MinBits > 0 && MinBits < NumBits)
                               ^

negate_mutation_operator

Killed

Distance: 2

Duration: 41ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:35:

  if (ActiveBits > 0 && ActiveBits < NumBits)
                 ^

negate_mutation_operator

Killed

Distance: 2

Duration: 41ms

/Users/alexdenisov/Projects/mutang/llvm/lib/Support/APSInt.cpp:35:

  if (ActiveBits > 0 && ActiveBits < NumBits)
                                   ^

negate_mutation_operator

Killed

Distance: 3

Duration: 37ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/StringRef.h:214:

      assert(Index < Length && "Invalid index!");
      ^

add_mutation_operator

Killed

Distance: 3

Duration: 36ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1306:

      return BitWidth - countLeadingOnes() + 1;
                                           ^

add_mutation_operator

Killed

Distance: 3

Duration: 41ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:1307:

    return getActiveBits() + 1;
                           ^

negate_mutation_operator

Killed

Distance: 3

Duration: 40ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:666:

      if (this == &that)
               ^

negate_mutation_operator

Killed

Distance: 3

Duration: 36ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:668:

      delete[] pVal;
      ^

negate_mutation_operator

Killed

Distance: 3

Duration: 38ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:298:

      delete[] pVal;
      ^

negate_mutation_operator

Killed

Distance: 4

Duration: 36ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:107:

  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
                                              ^

negate_mutation_operator

Killed

Distance: 5

Duration: 37ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:950:

    assert(bitPosition < getBitWidth() && "Bit position out of bounds!");
    ^

negate_mutation_operator

Killed

Distance: 5

Duration: 36ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/ADT/APInt.h:952:

            (isSingleWord() ? VAL : pVal[whichWord(bitPosition)])) !=
                                                                   ^

negate_mutation_operator

Killed

Distance: 6

Duration: 41ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
           ^

negate_mutation_operator

Killed

Distance: 6

Duration: 36ms

/Users/alexdenisov/Projects/mutang/llvm/include/llvm/Support/MathExtras.h:156:

    if (ZB != ZB_Undefined && Val == 0)
                                  ^