Branch Coverage

blib/lib/CLI/Osprey.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
26 24 0 if $target->can($method)
34 8 0 unless ("Moo::Role"->is_role($target))
35 0 8 unless eval "package $target;\n" . "\n sub _osprey_options {\n my \$class = shift;\n return \$class->maybe::next::method(\@_);\n }\n\n sub _osprey_config {\n my \$class = shift;\n return \$class->maybe::next::method(\@_);\n }\n\n sub _osprey_subcommands {\n my \$class = shift;\n return \$class->maybe::next::method(\@_);\n }\n 1;\n "
70 12 8 if $target->can("new_with_options")
96 1 5 if (ref $subobject and builtin::reftype($subobject) eq 'CODE') { }
105 3 2 unless $osprey_config->{'on_demand'}
112 0 8 if (my $info = $Role::Tiny::INFO{$target})
142 5 1 unless (defined $attributes{'option'})
147 21 57 if exists $attributes{$_}