Branch Coverage

blib/lib/Catmandu/Fix/Parser.pm
Criterion Covered Total %
branch 19 22 86.3


line true false branch
45 429 7 if exists $env->{'ns'} and exists $env->{'ns'}{$name}
77 7 14 if (is_instance($err, "Catmandu::Error"))
78 7 0 if is_able($err, "set_source")
96 5 413 is_array_ref($_) ? :
179 34 0 if ($elsif_conditions)
186 5 29 if ($else_fixes)
242 10 225 if (defined $bool) { }
301 3 2 if (index($str, "\\") != -1)
318 29 52 unless is_array_ref($fixes)
320 56 25 if ($pass) { }
331 0 116 unless is_array_ref($fixes)