File size: 6,941 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
[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 3ms
[info] Filter mutants (threads: 1)

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

       [################################] 1/1. Finished in 103ms
[info] Running mutants (threads: 20)
[debug] /libxml2/HTMLtree.c:837:9 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:453:18 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:841:14 ExecutionResult: Failed

       [#-------------------------------] 2/36
[debug] /libxml2/HTMLtree.c:1063:21 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1070:19 ExecutionResult: Passed

       [####----------------------------] 5/36
[debug] /libxml2/HTMLtree.c:1291:9 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1086:38 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1289:5 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1275:5 ExecutionResult: Passed

       [########------------------------] 9/36
[debug] /libxml2/HTMLtree.c:1277:51 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1088:37 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1093:17 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1098:17 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1291:11 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1080:42 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1101:39 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1111:25 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1285:9 ExecutionResult: Passed

       [################----------------] 18/36
[debug] /libxml2/HTMLtree.c:1077:28 ExecutionResult: Failed

       [################----------------] 19/36
[debug] /libxml2/HTMLtree.c:456:12 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:841:31 ExecutionResult: Failed

       [##################--------------] 21/36
[debug] /libxml2/HTMLtree.c:1272:14 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:839:5 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1076:28 ExecutionResult: Passed

       [#####################-----------] 24/36
[debug] /libxml2/HTMLtree.c:1088:59 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1162:5 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1087:38 ExecutionResult: Passed

       [########################--------] 27/36
[debug] /libxml2/HTMLtree.c:1277:9 ExecutionResult: Failed
[debug] /libxml2/HTMLtree.c:1284:13 ExecutionResult: Failed

       [#########################-------] 29/36
[debug] /libxml2/HTMLtree.c:1099:17 ExecutionResult: Passed
[debug] /libxml2/HTMLtree.c:1085:39 ExecutionResult: Passed

       [###########################-----] 31/36
[debug] /libxml2/HTMLtree.c:1078:17 ExecutionResult: Passed

       [############################----] 32/36
[debug] /libxml2/HTMLtree.c:1094:30 ExecutionResult: Failed

       [#############################---] 33/36
[debug] /libxml2/HTMLtree.c:1065:27 ExecutionResult: Failed

       [##############################--] 34/36
[debug] /libxml2/HTMLtree.c:1272:36 ExecutionResult: Failed

       [###############################-] 35/36
[debug] /libxml2/HTMLtree.c:1102:32 ExecutionResult: Failed

       [################################] 36/36. Finished in 451ms
[debug] Done running mutants
[info] Survived mutants (19/36):
/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:1063:21: warning: Survived: Replaced == with != [cxx_eq_to_ne]
            if (cur == root)
                    ^
/libxml2/HTMLtree.c:1070:19: warning: Survived: Replaced 'a = b' with 'a = 42' [cxx_assign_const]
            isRaw = 0;
                  ^
/libxml2/HTMLtree.c:1076:28: warning: Survived: Replaced == with != [cxx_eq_to_ne]
            if ((cur->type == XML_HTML_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: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:1111:25: warning: Survived: Replaced == with != [cxx_eq_to_ne]
                if (cur == metaHead)
                        ^
/libxml2/HTMLtree.c:1275:5: warning: Survived: Removed the call to the function [cxx_remove_void_call]
    xmlInitParser();
    ^
/libxml2/HTMLtree.c:1285:9: warning: Survived: Replaced call to a function with 42 [cxx_replace_scalar_call]
        xmlCharEncCloseFunc(handler);
        ^
[info] Mutation score: 47%
[info] Total execution time: 701ms
[info] Surviving mutants: 19