File size: 10,849 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
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
[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 107ms
[info] Extracting coverage information (threads: 1)

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

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

       [################################] 1/1. Finished in 106ms
[info] Running mutants (threads: 20)
[debug] /libxml2/HTMLtree.c:453:18 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:618:13 ExecutionResult: Failed

       [#-------------------------------] 2/55
[debug] /libxml2/HTMLtree.c:628:23 ExecutionResult: Failed

       [#-------------------------------] 3/55
[debug] /libxml2/HTMLtree.c:637:5 ExecutionResult: Passed

       [##------------------------------] 4/55
[debug] /libxml2/HTMLtree.c:1085:39 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1090:35 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1077:28 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1111:25 ExecutionResult: Passed

       [####----------------------------] 8/55
[debug] /libxml2/HTMLtree.c:1103:42 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:841:14 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1105:33 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1088:37 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1101:39 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1107:42 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:679:5 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:692:5 ExecutionResult: Passed

       [#########-----------------------] 16/55
[debug] /libxml2/HTMLtree.c:1065:27 ExecutionResult: Failed

       [#########-----------------------] 17/55
[debug] /libxml2/HTMLtree.c:612:13 ExecutionResult: Failed

       [##########----------------------] 18/55
[debug] /libxml2/HTMLtree.c:608:14 ExecutionResult: Failed

       [###########---------------------] 19/55
[debug] /libxml2/HTMLtree.c:456:12 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:623:5 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1094:30 ExecutionResult: Failed

       [############--------------------] 22/55
[debug] /libxml2/HTMLtree.c:629:19 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:676:13 ExecutionResult: Passed

       [#############-------------------] 24/55
[debug] /libxml2/HTMLtree.c:1086:38 ExecutionResult: Passed

       [##############------------------] 25/55
[debug] /libxml2/HTMLtree.c:1091:21 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1078:17 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1162:5 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1104:42 ExecutionResult: Passed

       [################----------------] 29/55
[debug] /libxml2/HTMLtree.c:1088:59 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1106:39 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:680:25 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1108:25 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:837:9 ExecutionResult: Passed

       [###################-------------] 34/55
[debug] /libxml2/HTMLtree.c:841:31 ExecutionResult: Failed

       [####################------------] 35/55
[debug] /libxml2/HTMLtree.c:615:9 ExecutionResult: Failed

       [####################------------] 36/55
[debug] /libxml2/HTMLtree.c:1070:19 ExecutionResult: Failed

       [#####################-----------] 37/55
[debug] /libxml2/HTMLtree.c:1098:17 ExecutionResult: Passed

       [######################----------] 38/55
[debug] /libxml2/HTMLtree.c:606:5 ExecutionResult: Passed

       [######################----------] 39/55
[debug] /libxml2/HTMLtree.c:1102:32 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:625:5 ExecutionResult: Failed

       [#######################---------] 41/55
[debug] /libxml2/HTMLtree.c:678:5 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1063:21 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:608:32 ExecutionResult: Failed

       [#########################-------] 44/55
[debug] /libxml2/HTMLtree.c:629:21 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1087:38 ExecutionResult: Passed

       [##########################------] 46/55
[debug] /libxml2/HTMLtree.c:1093:17 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:839:5 ExecutionResult: Passed

       [###########################-----] 48/55
[debug] /libxml2/HTMLtree.c:1080:42 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:615:65 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:687:30 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1089:32 ExecutionResult: Passed

       [##############################--] 52/55
[debug] /libxml2/HTMLtree.c:1099:17 ExecutionResult: Passed

       [##############################--] 53/55
[debug] /libxml2/HTMLtree.c:1076:28 ExecutionResult: Failed

       [###############################-] 54/55
[debug] /libxml2/HTMLtree.c:611:11 ExecutionResult: Failed

       [################################] 55/55. Finished in 620ms
[debug] Done running mutants
[info] Survived mutants (32/55):
/libxml2/HTMLtree.c:606:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlInitParser();
    ^
/libxml2/HTMLtree.c:637:5: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
    xmlOutputBufferClose(buf);
    ^
/libxml2/HTMLtree.c:676:13: warning: Survived: Replaced == with != [cxx_eq_to_ne]
    if (cur == NULL)
            ^
/libxml2/HTMLtree.c:678:5: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
    xmlOutputBufferWrite(buf, 10, "<!DOCTYPE ");
    ^
/libxml2/HTMLtree.c:679:5: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
    xmlOutputBufferWriteString(buf, (const char *)cur->name);
    ^
/libxml2/HTMLtree.c:680:25: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if (cur->ExternalID != NULL) {
                        ^
/libxml2/HTMLtree.c:687:30: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    } else if (cur->SystemID != NULL &&
                             ^
/libxml2/HTMLtree.c:692:5: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
    xmlOutputBufferWrite(buf, 2, ">\n");
    ^
/libxml2/HTMLtree.c:837:9: warning: Survived: Replaced 'T a = b' with 'T a = 42' [cxx_init_const]
    int isRaw = 0;
        ^
/libxml2/HTMLtree.c:839:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlInitParser();
    ^
/libxml2/HTMLtree.c:1077:28: warning: Survived: Replaced == with != [cxx_eq_to_ne]
                (cur->type == XML_DOCUMENT_NODE)) {
                           ^
/libxml2/HTMLtree.c:1078:17: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
                xmlOutputBufferWrite(buf, 1, "\n");
                ^
/libxml2/HTMLtree.c:1080:42: warning: Survived: Replaced == with != [cxx_eq_to_ne]
                if ((format) && (cur->ns == NULL))
                                         ^
/libxml2/HTMLtree.c:1085:39: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                if ((format) && (info != NULL) && (!info->isinline) &&
                                      ^
/libxml2/HTMLtree.c:1086:38: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                    (cur->last->type != HTML_TEXT_NODE) &&
                                     ^
/libxml2/HTMLtree.c:1087:38: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                    (cur->last->type != HTML_ENTITY_REF_NODE) &&
                                     ^
/libxml2/HTMLtree.c:1088:37: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                    ((cur->children != cur->last) || (cur == metaHead)) &&
                                    ^
/libxml2/HTMLtree.c:1088:59: warning: Survived: Replaced == with != [cxx_eq_to_ne]
                    ((cur->children != cur->last) || (cur == metaHead)) &&
                                                          ^
/libxml2/HTMLtree.c:1089:32: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                    (cur->name != NULL) &&
                               ^
/libxml2/HTMLtree.c:1090:35: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                    (cur->name[0] != 'p')) /* p, pre, param */
                                  ^
/libxml2/HTMLtree.c:1091:21: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
                    xmlOutputBufferWrite(buf, 1, "\n");
                    ^
/libxml2/HTMLtree.c:1093:17: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
                xmlOutputBufferWrite(buf, 2, "</");
                ^
/libxml2/HTMLtree.c:1098:17: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
                xmlOutputBufferWriteString(buf, (const char *)cur->name);
                ^
/libxml2/HTMLtree.c:1099:17: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
                xmlOutputBufferWrite(buf, 1, ">");
                ^
/libxml2/HTMLtree.c:1101:39: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                if ((format) && (info != NULL) && (!info->isinline) &&
                                      ^
/libxml2/HTMLtree.c:1103:42: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                    if ((cur->next->type != HTML_TEXT_NODE) &&
                                         ^
/libxml2/HTMLtree.c:1104:42: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                        (cur->next->type != HTML_ENTITY_REF_NODE) &&
                                         ^
/libxml2/HTMLtree.c:1105:33: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                        (parent != NULL) &&
                                ^
/libxml2/HTMLtree.c:1106:39: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                        (parent->name != NULL) &&
                                      ^
/libxml2/HTMLtree.c:1107:42: warning: Survived: Replaced != with == [cxx_ne_to_eq]
                        (parent->name[0] != 'p')) /* p, pre, param */
                                         ^
/libxml2/HTMLtree.c:1108:25: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
                        xmlOutputBufferWrite(buf, 1, "\n");
                        ^
/libxml2/HTMLtree.c:1111:25: warning: Survived: Replaced == with != [cxx_eq_to_ne]
                if (cur == metaHead)
                        ^
[info] Mutation score: 41%
[info] Total execution time: 872ms
[info] Surviving mutants: 32