Mull Report: Unbreakable

05.05.2017 13:28:35
Tests:1
Mutants:6
Survived Mutants:6
Killed Mutants:0
Total time:1s 818ms
Execution Time:164ms
Weakly Killed Mutants:0
Strongly Killed Mutants:0
Max distance:2
Min distance:1
Mean distance:2
Mutation Score:0%

Legend

Tests:
a total amount of tests. Each test can be affected by zero or more mutants.
Mutants:
a total amount of mutations. Each mutation can be reachable by one or more tests.
Survived Mutants:
mutants that are not caused any tests to fail.
Killed Mutants:
mutants that caused one or more tests to fail.
Weakly Killed Mutants:
mutants that caused at least one test to fail.
Strongly Killed Mutants:
mutants that caused all tests to fail.
Mutation Score:
(killed mutants) / (total mutants)
Distance:
if function A calls function B and function B calls function C, then C is accessible from A, and the distance between A and C is 2. Distance is used to control how far we want to go with mutations.

Mutants

Mutation Results

unbreakable_14_0_30_negate_mutation_operator 0/1
Affected Tests:
safeAlgorithm.calculates
Mutation Location (file:line):
/usr/local/mull/mull/unbreakable/unbreakable.cpp:20
Mutation Location (source code):
if (alg1 == alg2) { ^

Survived

Distance: 1

Duration: 19ms

Caller path:
/usr/local/mull/mull/unbreakable/unbreakable.cpp:43 /usr/local/mull/mull/unbreakable/unbreakable.cpp:20
Caller path (source code):
bool success = safeAlgorithm(a, b, &result); if (alg1 == alg2) {
stdout:
Note: Google Test filter = safeAlgorithm.calculates [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from safeAlgorithm [ RUN ] safeAlgorithm.calculates [ OK ] safeAlgorithm.calculates (0 ms) [----------] 1 test from safeAlgorithm (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (0 ms total) [ PASSED ] 1 test.
stderr:
unbreakable_14_2_2_negate_mutation_operator 0/1
Affected Tests:
safeAlgorithm.calculates
Mutation Location (file:line):
/usr/local/mull/mull/unbreakable/unbreakable.cpp:25
Mutation Location (source code):
if (alg2 == alg3) { ^

Survived

Distance: 1

Duration: 20ms

Caller path:
/usr/local/mull/mull/unbreakable/unbreakable.cpp:43 /usr/local/mull/mull/unbreakable/unbreakable.cpp:25
Caller path (source code):
bool success = safeAlgorithm(a, b, &result); if (alg2 == alg3) {
stdout:
Note: Google Test filter = safeAlgorithm.calculates [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from safeAlgorithm [ RUN ] safeAlgorithm.calculates [ OK ] safeAlgorithm.calculates (0 ms) [----------] 1 test from safeAlgorithm (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (0 ms total) [ PASSED ] 1 test.
stderr:
unbreakable_14_4_2_negate_mutation_operator 0/1
Affected Tests:
safeAlgorithm.calculates
Mutation Location (file:line):
/usr/local/mull/mull/unbreakable/unbreakable.cpp:30
Mutation Location (source code):
if (alg1 == alg3) { ^

Survived

Distance: 1

Duration: 23ms

Caller path:
/usr/local/mull/mull/unbreakable/unbreakable.cpp:43 /usr/local/mull/mull/unbreakable/unbreakable.cpp:30
Caller path (source code):
bool success = safeAlgorithm(a, b, &result); if (alg1 == alg3) {
stdout:
Note: Google Test filter = safeAlgorithm.calculates [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from safeAlgorithm [ RUN ] safeAlgorithm.calculates [ OK ] safeAlgorithm.calculates (1 ms) [----------] 1 test from safeAlgorithm (1 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (1 ms total) [ PASSED ] 1 test.
stderr:
unbreakable_47_0_8_add_mutation_operator 0/1
Affected Tests:
safeAlgorithm.calculates
Mutation Location (file:line):
/usr/local/mull/mull/unbreakable/unbreakable.cpp:4
Mutation Location (source code):
return a + b; ^

Survived

Distance: 2

Duration: 21ms

Caller path:
/usr/local/mull/mull/unbreakable/unbreakable.cpp:43 /usr/local/mull/mull/unbreakable/unbreakable.cpp:16 /usr/local/mull/mull/unbreakable/unbreakable.cpp:4
Caller path (source code):
bool success = safeAlgorithm(a, b, &result); int alg1 = algorithm1(a, b); return a + b;
stdout:
Note: Google Test filter = safeAlgorithm.calculates [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from safeAlgorithm [ RUN ] safeAlgorithm.calculates [ OK ] safeAlgorithm.calculates (0 ms) [----------] 1 test from safeAlgorithm (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (1 ms total) [ PASSED ] 1 test.
stderr:
unbreakable_48_0_8_add_mutation_operator 0/1
Affected Tests:
safeAlgorithm.calculates
Mutation Location (file:line):
/usr/local/mull/mull/unbreakable/unbreakable.cpp:8
Mutation Location (source code):
return a + b; ^

Survived

Distance: 2

Duration: 26ms

Caller path:
/usr/local/mull/mull/unbreakable/unbreakable.cpp:43 /usr/local/mull/mull/unbreakable/unbreakable.cpp:17 /usr/local/mull/mull/unbreakable/unbreakable.cpp:8
Caller path (source code):
bool success = safeAlgorithm(a, b, &result); int alg2 = algorithm2(a, b); return a + b;
stdout:
Note: Google Test filter = safeAlgorithm.calculates [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from safeAlgorithm [ RUN ] safeAlgorithm.calculates [ OK ] safeAlgorithm.calculates (0 ms) [----------] 1 test from safeAlgorithm (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (0 ms total) [ PASSED ] 1 test.
stderr:
unbreakable_49_0_8_add_mutation_operator 0/1
Affected Tests:
safeAlgorithm.calculates
Mutation Location (file:line):
/usr/local/mull/mull/unbreakable/unbreakable.cpp:12
Mutation Location (source code):
return a + b; ^

Survived

Distance: 2

Duration: 21ms

Caller path:
/usr/local/mull/mull/unbreakable/unbreakable.cpp:43 /usr/local/mull/mull/unbreakable/unbreakable.cpp:18 /usr/local/mull/mull/unbreakable/unbreakable.cpp:12
Caller path (source code):
bool success = safeAlgorithm(a, b, &result); int alg3 = algorithm3(a, b); return a + b;
stdout:
Note: Google Test filter = safeAlgorithm.calculates [==========] Running 1 test from 1 test case. [----------] Global test environment set-up. [----------] 1 test from safeAlgorithm [ RUN ] safeAlgorithm.calculates [ OK ] safeAlgorithm.calculates (0 ms) [----------] 1 test from safeAlgorithm (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test case ran. (0 ms total) [ PASSED ] 1 test.
stderr: