Branch Coverage

Create.xs
Criterion Covered Total %
branch 150 582 25.7


line true false branch
49 2 36 JCSET;
0 2 JCSET;
2 2 JCSET;
61 0 23 JCSET;
0 0 JCSET;
0 0 JCSET;
71 0 24 PERLJCCALL (json_create_free (jc));
76 0 24 PERLJCCALL (json_create_new (& RETVAL));
95 2 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 2 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 2 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 2 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
2 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
2 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 2 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
2 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
0 0 jc->sort = SvTRUE (onoff) ? 1 : 0;
103 0 1 PERLJCCALL (json_create_remove_cmp (jc));
104 1 0 if (SvTRUE (cmp)) {
0 1 if (SvTRUE (cmp)) {
0 1 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 1 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 1 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
0 0 if (SvTRUE (cmp)) {
1 0 if (SvTRUE (cmp)) {
115 0 4 PERLJCCALL (json_create_set_fformat (jc, fformat));
123 2 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 2 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 2 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 2 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
2 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
2 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
1 1 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 1 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
1 1 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
0 0 jc->escape_slash = SvTRUE (onoff) ? 1 : 0;
130 3 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 3 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 3 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 3 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
3 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
3 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
2 1 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 2 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
1 2 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_upper = SvTRUE (onoff) ? 1 : 0;
137 3 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 3 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 3 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 3 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
3 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
3 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
1 2 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 1 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
2 1 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
0 0 jc->unicode_escape_all = SvTRUE (onoff) ? 1 : 0;
144 1 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 1 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 1 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 1 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
1 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
1 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 1 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
1 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
0 0 jc->validate = SvTRUE (onoff) ? 1 : 0;
151 2 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 2 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 2 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 2 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
2 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
2 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
1 1 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 1 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
1 1 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
0 0 jc->no_javascript_safe = SvTRUE (onoff) ? 1 : 0;
158 4 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 4 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 4 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 4 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
4 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
4 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
1 3 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 1 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
3 1 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
0 0 jc->fatal_errors = SvTRUE (onoff) ? 1 : 0;
165 1 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 1 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 1 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 1 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
1 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
1 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 1 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
1 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->replace_bad_utf8 = SvTRUE (onoff) ? 1 : 0;
172 2 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 2 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
1 1 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
1 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 1 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 1 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
1 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
1 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 1 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
1 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
0 0 jc->downgrade_utf8 = SvTRUE (onoff) ? 1 : 0;
179 2 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 2 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 2 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 2 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
2 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
2 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 2 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
2 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
0 0 jc->strict = SvTRUE (onoff) ? 1 : 0;
187 3 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 3 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 3 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 3 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
3 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
3 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 3 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
3 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
0 0 jc->indent = SvTRUE (onoff) ? 1 : 0;
194 5 3 if (! jc->handlers) {
208 0 1 PERLJCCALL (json_create_remove_obj_handler (jc));
209 1 0 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
1 0 if (SvTRUE (oh)) {
219 0 1 PERLJCCALL (json_create_remove_non_finite_handler (jc));
220 1 0 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 1 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
0 0 if (SvTRUE (oh)) {
1 0 if (SvTRUE (oh)) {
228 2 23 JCSET;
0 2 JCSET;
4 2 JCSET;
235 0 0 PERLJCCALL (json_create_remove_handlers (jc));
246 0 2 PERLJCCALL (json_create_remove_type_handler (jc));
247 2 0 if (SvTRUE (crh)) {
0 2 if (SvTRUE (crh)) {
0 2 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 2 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 2 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
0 0 if (SvTRUE (crh)) {
2 0 if (SvTRUE (crh)) {