File size: 9,821 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
[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 108ms
[info] Extracting coverage information (threads: 1)

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

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

       [################################] 1/1. Finished in 107ms
[info] Running mutants (threads: 20)
[debug] /libxml2/HTMLparser.c:4540:50 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4513:19 ExecutionResult: Failed

       [--------------------------------] 1/55
[debug] /libxml2/HTMLparser.c:4503:12 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4519:9 ExecutionResult: Passed

       [##------------------------------] 4/55
[debug] /libxml2/HTMLparser.c:4551:18 ExecutionResult: Passed

       [##------------------------------] 5/55
[debug] /libxml2/HTMLparser.c:5518:19 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:5518:59 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4634:49 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:5550:20 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4532:20 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:5550:31 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:5529:20 ExecutionResult: Failed

       [######--------------------------] 12/55
[debug] /libxml2/HTMLparser.c:4568:23 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4557:23 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4572:5 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4562:22 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4631:14 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:5537:17 ExecutionResult: Passed

       [##########----------------------] 18/55
[debug] /libxml2/HTMLparser.c:4544:19 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:5539:13 ExecutionResult: Passed

       [###########---------------------] 20/55
[debug] /libxml2/HTMLparser.c:4552:19 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4515:19 ExecutionResult: Failed

       [############--------------------] 22/55
[debug] /libxml2/HTMLparser.c:4541:23 ExecutionResult: Failed

       [#############-------------------] 23/55
[debug] /libxml2/HTMLparser.c:4529:24 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4506:14 ExecutionResult: Failed

       [##############------------------] 25/55
[debug] /libxml2/HTMLparser.c:5518:36 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:5524:22 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4536:22 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:5550:22 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:5534:17 ExecutionResult: Passed

       [#################---------------] 30/55
[debug] /libxml2/HTMLparser.c:5554:12 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4585:5 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4560:22 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4563:16 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:5538:24 ExecutionResult: Passed

       [####################------------] 35/55
[debug] /libxml2/HTMLparser.c:4548:50 ExecutionResult: Passed

       [####################------------] 36/55
[debug] /libxml2/HTMLparser.c:4569:20 ExecutionResult: Passed

       [#####################-----------] 37/55
[debug] /libxml2/HTMLparser.c:4556:23 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:5545:21 ExecutionResult: Failed

       [######################----------] 39/55
[debug] /libxml2/HTMLparser.c:5501:14 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4537:19 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4543:18 ExecutionResult: Passed

       [########################--------] 42/55
[debug] /libxml2/HTMLparser.c:4634:9 ExecutionResult: Failed

       [#########################-------] 43/55
[debug] /libxml2/HTMLparser.c:4531:19 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4628:5 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:4510:20 ExecutionResult: Failed

       [##########################------] 46/55
[debug] /libxml2/HTMLparser.c:5518:48 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4549:23 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4561:27 ExecutionResult: Passed
[debug] /libxml2/HTMLparser.c:5524:33 ExecutionResult: Failed
[debug] /libxml2/HTMLparser.c:4564:23 ExecutionResult: Passed

       [#############################---] 51/55
[debug] /libxml2/HTMLparser.c:4570:22 ExecutionResult: Passed

       [##############################--] 52/55
[debug] /libxml2/HTMLparser.c:4517:13 ExecutionResult: Failed

       [##############################--] 53/55
[debug] /libxml2/HTMLparser.c:5504:13 ExecutionResult: Failed

       [###############################-] 54/55
[debug] /libxml2/HTMLparser.c:4634:49 ExecutionResult: Failed

       [################################] 55/55. Finished in 634ms
[debug] Done running mutants
[info] Survived mutants (29/55):
/libxml2/HTMLparser.c:4503:12: warning: Survived: Replaced 'T a = b' with 'T a = 42' [cxx_init_const]
    size_t initialNodeTabSize = 10;
           ^
/libxml2/HTMLparser.c:4519:9: warning: Survived: Removed the call to the function [cxx_remove_void_call]
        xmlSAX2InitHtmlDefaultSAXHandler(ctxt->sax);
        ^
/libxml2/HTMLparser.c:4531:19: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->inputNr = 0;
                  ^
/libxml2/HTMLparser.c:4532:20: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->inputMax = 1;
                   ^
/libxml2/HTMLparser.c:4536:22: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->standalone = -1;
                     ^
/libxml2/HTMLparser.c:4537:19: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->instate = XML_PARSER_START;
                  ^
/libxml2/HTMLparser.c:4540:50: warning: Survived: Replaced * with / [cxx_mul_to_div]
    ctxt->nodeTab = xmlMalloc(initialNodeTabSize * sizeof(htmlNodePtr));
                                                 ^
/libxml2/HTMLparser.c:4543:18: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nodeNr = 0;
                 ^
/libxml2/HTMLparser.c:4544:19: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nodeMax = initialNodeTabSize;
                  ^
/libxml2/HTMLparser.c:4548:50: warning: Survived: Replaced * with / [cxx_mul_to_div]
    ctxt->nameTab = xmlMalloc(initialNodeTabSize * sizeof(xmlChar *));
                                                 ^
/libxml2/HTMLparser.c:4551:18: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nameNr = 0;
                 ^
/libxml2/HTMLparser.c:4552:19: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nameMax = initialNodeTabSize;
                  ^
/libxml2/HTMLparser.c:4556:23: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nodeInfoNr  = 0;
                      ^
/libxml2/HTMLparser.c:4557:23: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->nodeInfoMax = 0;
                      ^
/libxml2/HTMLparser.c:4560:22: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->wellFormed = 1;
                     ^
/libxml2/HTMLparser.c:4561:27: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->replaceEntities = 0;
                          ^
/libxml2/HTMLparser.c:4562:22: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->keepBlanks = xmlKeepBlanksDefaultValue;
                     ^
/libxml2/HTMLparser.c:4563:16: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->html = INSERT_INITIAL;
               ^
/libxml2/HTMLparser.c:4564:23: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->vctxt.flags = XML_VCTXT_USE_PCTXT;
                      ^
/libxml2/HTMLparser.c:4568:23: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->record_info = 0;
                      ^
/libxml2/HTMLparser.c:4569:20: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->validate = 0;
                   ^
/libxml2/HTMLparser.c:4570:22: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
    ctxt->checkIndex = 0;
                     ^
/libxml2/HTMLparser.c:4572:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlInitNodeInfoSeq(&ctxt->node_seq);
    ^
/libxml2/HTMLparser.c:4585:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlFreeParserCtxt(ctxt);
    ^
/libxml2/HTMLparser.c:4628:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlInitParser();
    ^
/libxml2/HTMLparser.c:5534:17: warning: Survived: Replaced & with | [cxx_and_to_or]
    if (options & HTML_PARSE_NOBLANKS) {
                ^
/libxml2/HTMLparser.c:5537:17: warning: Survived: Replaced & with | [cxx_and_to_or]
    if (options & HTML_PARSE_HUGE) {
                ^
/libxml2/HTMLparser.c:5538:24: warning: Survived: Replaced != with == [cxx_ne_to_eq]
        if (ctxt->dict != NULL)
                       ^
/libxml2/HTMLparser.c:5539:13: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
            xmlDictSetLimit(ctxt->dict, 0);
            ^
[info] Mutation score: 47%
[info] Total execution time: 922ms
[info] Surviving mutants: 29