Branch Coverage

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


line true false branch
74 2 2 if (defined $config) { }
75 1 1 if ($config =~ /^\S+$/) { }
119 4 44 if (exists $global_opts->{'debug'})
123 2 46 if (@$lib_path)
129 48 0 ref $class ? :
140 1 7 if (is_instance($e, 'Catmandu::NoSuchPackage') and $e->package_name eq 'Catmandu::Importer::help') { }
7 0 elsif (is_instance($e, 'Catmandu::Error')) { }
153 8 40 if (defined $err)
164 0 4368 if $cmd_class->isa($cmd)