Branch Coverage

blib/lib/Catmandu/Error.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
26 8 54 if ($self->log->is_debug)
54 15 7 if (is_string(my $source = $_[0]->source))
114 5 7 if (my($type, $name) = $pkg_name =~ /^Catmandu::(Importer|Exporter|Store)::(\S+)/) { }
7 0 elsif ($pkg_name =~ /^Catmandu::Fix::\S+/) { }
124 7 0 if ($fix_name =~ /^[a-z]/)
229 0 3 if $fix
230 1 2 if defined $data
275 1 5 if (Catmandu::Util::is_string($request_body))
280 5 1 if (Catmandu::Util::is_string($response_body))