File size: 6,961 Bytes
6baed57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[info] Using config /libxml2/mull.yml
[debug] Diagnostics: Debug Mode enabled. Debug-level messages will be printed.
[warning] Could not find dynamic library: libm.so.6
[warning] Could not find dynamic library: libc.so.6
[info] Warm up run (threads: 1)

       [################################] 1/1. Finished in 110ms
[info] Extracting coverage information (threads: 1)

       [################################] 1/1. Finished in 4ms
[info] Filter mutants (threads: 1)

       [################################] 1/1. Finished in 1ms
[info] Baseline run (threads: 1)

       [################################] 1/1. Finished in 106ms
[info] Running mutants (threads: 20)
[debug] /libxml2/SAX2.c:1433:14 ExecutionResult: Failed

       [--------------------------------] 1/43
[debug] /libxml2/SAX2.c:1471:19 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1481:5 ExecutionResult: Passed

       [##------------------------------] 3/43
[debug] /libxml2/SAX2.c:1498:33 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1455:14 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1525:13 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1529:17 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1588:16 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1527:33 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1486:29 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2713:17 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1723:9 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1528:15 ExecutionResult: Passed

       [#########-----------------------] 13/43
[debug] /libxml2/SAX2.c:1762:19 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1718:37 ExecutionResult: Failed

       [###########---------------------] 15/43
[debug] /libxml2/SAX2.c:910:14 ExecutionResult: Failed

       [###########---------------------] 16/43
[debug] /libxml2/SAX2.c:899:24 ExecutionResult: Failed

       [############--------------------] 17/43
[debug] /libxml2/SAX2.c:1524:11 ExecutionResult: Failed

       [#############-------------------] 18/43
[debug] /libxml2/SAX2.c:1475:16 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1433:36 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1506:14 ExecutionResult: Failed

       [###############-----------------] 21/43
[debug] /libxml2/SAX2.c:1486:9 ExecutionResult: Failed

       [################----------------] 22/43
[debug] /libxml2/SAX2.c:1545:13 ExecutionResult: Failed

       [#################---------------] 23/43
[debug] /libxml2/SAX2.c:1532:17 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2712:14 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1528:13 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1466:13 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1499:33 ExecutionResult: Passed

       [####################------------] 28/43
[debug] /libxml2/SAX2.c:1527:13 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2717:20 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:1718:15 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1486:29 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1718:62 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1529:17 ExecutionResult: Passed

       [#########################-------] 34/43
[debug] /libxml2/SAX2.c:920:21 ExecutionResult: Passed

       [##########################------] 35/43
[debug] /libxml2/SAX2.c:1751:14 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1525:13 ExecutionResult: Passed

       [###########################-----] 37/43
[debug] /libxml2/SAX2.c:1524:9 ExecutionResult: Passed

       [############################----] 38/43
[debug] /libxml2/SAX2.c:1433:61 ExecutionResult: Failed

       [#############################---] 39/43
[debug] /libxml2/SAX2.c:901:31 ExecutionResult: Failed

       [#############################---] 40/43
[debug] /libxml2/SAX2.c:1552:14 ExecutionResult: Failed

       [##############################--] 41/43
[debug] /libxml2/SAX2.c:921:15 ExecutionResult: Failed

       [###############################-] 42/43
[debug] /libxml2/SAX2.c:905:20 ExecutionResult: Failed

       [################################] 43/43. Finished in 701ms
[debug] Done running mutants
[info] Survived mutants (20/43):
/libxml2/SAX2.c:920:21: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if ((node->type != XML_TEXT_NODE) &&
                    ^
/libxml2/SAX2.c:1471:19: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nodemem = -1;
                  ^
/libxml2/SAX2.c:1475:16: warning: Survived: Replaced == with != [cxx_eq_to_ne]
    if (parent == NULL)
               ^
/libxml2/SAX2.c:1481:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlSAX2AppendChild(ctxt, ret);
    ^
/libxml2/SAX2.c:1498:33: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if ((ctxt->myDoc->intSubset != NULL) ||
                                ^
/libxml2/SAX2.c:1499:33: warning: Survived: Replaced != with == [cxx_ne_to_eq]
        (ctxt->myDoc->extSubset != NULL)) {
                                ^
/libxml2/SAX2.c:1524:9: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    res = xmlSearchNsSafe(ret, prefix, &ns);
        ^
/libxml2/SAX2.c:1525:13: warning: Survived: Replaced < with >= [cxx_lt_to_ge]
    if (res < 0)
            ^
/libxml2/SAX2.c:1525:13: warning: Survived: Replaced < with <= [cxx_lt_to_le]
    if (res < 0)
            ^
/libxml2/SAX2.c:1527:13: warning: Survived: Replaced == with != [cxx_eq_to_ne]
    if ((ns == NULL) && (parent != NULL)) {
            ^
/libxml2/SAX2.c:1527:33: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if ((ns == NULL) && (parent != NULL)) {
                                ^
/libxml2/SAX2.c:1528:13: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
        res = xmlSearchNsSafe(parent, prefix, &ns);
            ^
/libxml2/SAX2.c:1528:15: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
        res = xmlSearchNsSafe(parent, prefix, &ns);
              ^
/libxml2/SAX2.c:1529:17: warning: Survived: Replaced < with >= [cxx_lt_to_ge]
        if (res < 0)
                ^
/libxml2/SAX2.c:1529:17: warning: Survived: Replaced < with <= [cxx_lt_to_le]
        if (res < 0)
                ^
/libxml2/SAX2.c:1532:17: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if ((prefix != NULL) && (ns == NULL)) {
                ^
/libxml2/SAX2.c:1588:16: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if (prefix != NULL)
               ^
/libxml2/SAX2.c:2712:14: warning: Survived: Replaced == with != [cxx_eq_to_ne]
    if (hdlr == NULL) return(-1);
             ^
/libxml2/SAX2.c:2713:17: warning: Survived: Replaced == with != [cxx_eq_to_ne]
    if (version == 2) {
                ^
/libxml2/SAX2.c:2717:20: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
	hdlr->initialized = XML_SAX2_MAGIC;
	                  ^
[info] Mutation score: 53%
[info] Total execution time: 957ms
[info] Surviving mutants: 20