Branch Coverage

blib/lib/constant/more.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
15 1 3 unless @_
18 2 1 if (ref $_[0] eq 'HASH') { }
1 0 elsif (ref $_[0] eq '') { }
40 2 3 if (ref $flags->{$name} eq 'HASH') { }
62 0 5 unless @_ >= 2
73 5 0 unless ($name =~ /::/)
79 5 0 unless *{$name;}{"CODE"}
91 2 3 if ($entry->{'opt'})
93 0 2 if ($entry->{'keep'}) { }
97 0 0 unless $parser->getoptionsfromarray(\@array, $entry->{'opt'}, $wrapper)
107 0 2 unless $parser->getoptions($entry->{'opt'}, $wrapper)
112 0 0 if (not $success and $entry->{'env'})
114 0 0 if (defined $ENV{$entry->{'env'}})