Branch Coverage

Create.xs
Criterion Covered Total %
branch 105 454 23.1


line true false branch
47 0 18 PERLJCCALL (json_create_free (jc));
52 0 18 PERLJCCALL (json_create_new (& RETVAL));
70 0 4 PERLJCCALL (json_create_set_fformat (jc, fformat));
78 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;
85 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;
92 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;
99 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;
106 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;
113 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;
120 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;
127 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;
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;
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;
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;
134 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;
141 0 0 PERLJCCALL (json_create_remove_handlers (jc));
151 5 3 if (! jc->handlers) {
165 0 2 PERLJCCALL (json_create_remove_type_handler (jc));
166 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)) {
178 0 1 PERLJCCALL (json_create_remove_obj_handler (jc));
179 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)) {
191 0 1 PERLJCCALL (json_create_remove_non_finite_handler (jc));
192 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)) {