File size: 10,796 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
197
198
199
200
201
202
203
204
205
206
207
208
209
[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 105ms
[info] Extracting coverage information (threads: 1)

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

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

       [################################] 1/1. Finished in 108ms
[info] Running mutants (threads: 20)
[debug] /libxml2/SAX2.c:129:5 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:923:24 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:920:21 ExecutionResult: Failed

       [#-------------------------------] 3/81
[debug] /libxml2/SAX2.c:2369:72 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2318:24 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2304:15 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2285:29 ExecutionResult: Failed

       [##------------------------------] 7/81
[debug] /libxml2/SAX2.c:2265:9 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2295:50 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2335:16 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1936:17 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2251:9 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2238:10 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1844:16 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2186:34 ExecutionResult: Failed

       [#####---------------------------] 15/81
[debug] /libxml2/SAX2.c:1989:22 ExecutionResult: Failed

       [######--------------------------] 16/81
[debug] /libxml2/SAX2.c:2087:51 ExecutionResult: Failed

       [######--------------------------] 17/81
[debug] /libxml2/SAX2.c:2335:45 ExecutionResult: Failed

       [#######-------------------------] 18/81
[debug] /libxml2/SAX2.c:2376:22 ExecutionResult: Failed

       [#######-------------------------] 19/81
[debug] /libxml2/SAX2.c:2247:24 ExecutionResult: Failed

       [#######-------------------------] 20/81
[debug] /libxml2/SAX2.c:2319:17 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2304:28 ExecutionResult: Passed

       [########------------------------] 22/81
[debug] /libxml2/SAX2.c:2285:29 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1943:15 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2335:22 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2296:16 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2247:12 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2275:19 ExecutionResult: Passed

       [###########---------------------] 28/81
[debug] /libxml2/SAX2.c:2198:23 ExecutionResult: Failed

       [###########---------------------] 29/81
[debug] /libxml2/SAX2.c:1790:25 ExecutionResult: Failed

       [###########---------------------] 30/81
[debug] /libxml2/SAX2.c:921:15 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2123:13 ExecutionResult: Passed

       [############--------------------] 32/81
[debug] /libxml2/SAX2.c:899:24 ExecutionResult: Failed

       [#############-------------------] 33/81
[debug] /libxml2/SAX2.c:2712:14 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2335:49 ExecutionResult: Failed

       [#############-------------------] 35/81
[debug] /libxml2/SAX2.c:2252:15 ExecutionResult: Failed

       [##############------------------] 36/81
[debug] /libxml2/SAX2.c:2370:51 ExecutionResult: Failed

       [##############------------------] 37/81
[debug] /libxml2/SAX2.c:1846:19 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2335:28 ExecutionResult: Failed

       [###############-----------------] 39/81
[debug] /libxml2/SAX2.c:2280:5 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2332:23 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2311:14 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1962:23 ExecutionResult: Passed

       [################----------------] 43/81
[debug] /libxml2/SAX2.c:2294:23 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2302:14 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2247:18 ExecutionResult: Failed

       [##################--------------] 46/81
[debug] /libxml2/SAX2.c:1992:56 ExecutionResult: Failed

       [##################--------------] 47/81
[debug] /libxml2/SAX2.c:2247:41 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2163:13 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:922:42 ExecutionResult: Failed

       [###################-------------] 50/81
[debug] /libxml2/SAX2.c:2258:15 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2713:17 ExecutionResult: Passed

       [####################------------] 52/81
[debug] /libxml2/SAX2.c:2207:25 ExecutionResult: Failed

       [####################------------] 53/81
[debug] /libxml2/SAX2.c:2370:68 ExecutionResult: Failed

       [#####################-----------] 54/81
[debug] /libxml2/SAX2.c:1916:16 ExecutionResult: Passed

       [#####################-----------] 55/81
[debug] /libxml2/SAX2.c:2332:23 ExecutionResult: Failed

       [######################----------] 56/81
[debug] /libxml2/SAX2.c:1969:32 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2313:13 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2295:28 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2302:35 ExecutionResult: Failed

       [#######################---------] 60/81
[debug] /libxml2/SAX2.c:1797:13 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:1995:10 ExecutionResult: Passed

       [########################--------] 62/81
[debug] /libxml2/SAX2.c:901:31 ExecutionResult: Failed

       [########################--------] 63/81
[debug] /libxml2/SAX2.c:2341:23 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2717:20 ExecutionResult: Passed

       [#########################-------] 65/81
[debug] /libxml2/SAX2.c:922:42 ExecutionResult: Passed
[debug] /libxml2/SAX2.c:2258:35 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2285:9 ExecutionResult: Failed

       [##########################------] 68/81
[debug] /libxml2/SAX2.c:2335:28 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2234:17 ExecutionResult: Failed

       [###########################-----] 70/81
[debug] /libxml2/SAX2.c:2372:22 ExecutionResult: Failed
[debug] /libxml2/SAX2.c:2247:24 ExecutionResult: Failed

       [############################----] 72/81
[debug] /libxml2/SAX2.c:2248:28 ExecutionResult: Failed

       [############################----] 73/81
[debug] /libxml2/SAX2.c:2087:35 ExecutionResult: Passed

       [#############################---] 74/81
[debug] /libxml2/SAX2.c:2186:17 ExecutionResult: Failed

       [#############################---] 75/81
[debug] /libxml2/SAX2.c:1930:25 ExecutionResult: Failed

       [##############################--] 76/81
[debug] /libxml2/SAX2.c:1840:15 ExecutionResult: Failed

       [##############################--] 77/81
[debug] /libxml2/SAX2.c:2249:20 ExecutionResult: Passed

       [##############################--] 78/81
[debug] /libxml2/SAX2.c:905:20 ExecutionResult: Failed

       [###############################-] 79/81
[debug] /libxml2/SAX2.c:2341:27 ExecutionResult: Failed

       [###############################-] 80/81
[debug] /libxml2/SAX2.c:910:14 ExecutionResult: Failed

       [################################] 81/81. Finished in 1172ms
[debug] Done running mutants
[info] Survived mutants (22/81):
/libxml2/SAX2.c:129:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlCtxtErr(ctxt, NULL, XML_FROM_NAMESPACE, error, XML_ERR_WARNING,
    ^
/libxml2/SAX2.c:922:42: warning: Survived: Replaced < with <= [cxx_lt_to_le]
        if ((unsigned) ctxt->input->line < (unsigned) USHRT_MAX)
                                         ^
/libxml2/SAX2.c:1916:16: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if (prefix != NULL) {
               ^
/libxml2/SAX2.c:1943:15: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ret->type = XML_ATTRIBUTE_NODE;
              ^
/libxml2/SAX2.c:1962:23: warning: Survived: Replaced == with != [cxx_eq_to_ne]
        if (ret->name == NULL)
                      ^
/libxml2/SAX2.c:1969:32: warning: Survived: Replaced == with != [cxx_eq_to_ne]
    if ((ctxt->replaceEntities == 0) && (!ctxt->html)) {
                               ^
/libxml2/SAX2.c:1995:10: warning: Survived: Replaced != with == [cxx_ne_to_eq]
	if (tmp != NULL) {
	        ^
/libxml2/SAX2.c:2087:35: warning: Survived: Replaced & with | [cxx_and_to_or]
           if (((ctxt->loadsubset & XML_SKIP_IDS) == 0) &&
                                  ^
/libxml2/SAX2.c:2123:13: warning: Survived: Replaced != with == [cxx_ne_to_eq]
    if (dup != NULL)
            ^
/libxml2/SAX2.c:2249:20: warning: Survived: Replaced x++ with x-- [cxx_post_inc_to_post_dec]
	uri = namespaces[i++];
	                  ^
/libxml2/SAX2.c:2265:9: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
        xmlParserNsUpdateSax(ctxt, pref, ns);
        ^
/libxml2/SAX2.c:2275:19: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nodemem = -1;
                  ^
/libxml2/SAX2.c:2304:15: warning: Survived: Replaced == with != [cxx_eq_to_ne]
	if ((ret->ns == NULL) && (xmlStrEqual(prefix, BAD_CAST "xml"))) {
	             ^
/libxml2/SAX2.c:2304:28: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
	if ((ret->ns == NULL) && (xmlStrEqual(prefix, BAD_CAST "xml"))) {
	                          ^
/libxml2/SAX2.c:2313:13: warning: Survived: Replaced == with != [cxx_eq_to_ne]
	    if (ns == NULL) {
	           ^
/libxml2/SAX2.c:2318:24: warning: Survived: Replaced != with == [cxx_ne_to_eq]
            if (prefix != NULL)
                       ^
/libxml2/SAX2.c:2319:17: warning: Survived: Removed the call to the function [cxx_remove_void_call]
                xmlNsWarnMsg(ctxt, XML_NS_ERR_UNDEFINED_NAMESPACE,
                ^
/libxml2/SAX2.c:2332:23: warning: Survived: Replaced > with >= [cxx_gt_to_ge]
    if (nb_attributes > 0) {
                      ^
/libxml2/SAX2.c:2369:72: warning: Survived: Replaced + with - [cxx_add_to_sub]
            attr = xmlSAX2AttributeNs(ctxt, attributes[j], attributes[j+1],
                                                                       ^
/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: 72%
[info] Total execution time: 1424ms
[info] Surviving mutants: 22