Branch Coverage

blib/lib/CLI/Osprey.pm
Criterion Covered Total %
branch 12 18 66.6


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 6 8 if $target->can('new_with_options')
96 0 5 if (ref $subobject and &reftype($subobject) eq 'CODE') { }
105 3 2 unless $osprey_config->{'on_demand'}
112 0 8 if (my $info = $Role::Tiny::INFO{$target})
142 1 0 unless (defined $attributes{'option'})
147 3 10 if exists $attributes{$_}