Condition Coverage

blib/lib/Getopt/App.pm
Criterion Covered Total %
condition 31 41 75.6


and 3 conditions

line !l l&&!r l&&r condition
166 47 0 12 not $Getopt::App::APP_CLASS and defined wantarray
173 37 0 10 defined $ENV{'COMP_POINT'} and defined $ENV{'COMP_LINE'}
199 17 5 1 $argv->[0] and $argv->[0] =~ /^-/u
213 7 1 25 $exit_value and $exit_value =~ /^\d{1,3}$/u
248 2 1 14 $argv->[0] and $argv->[0] =~ /^\w/u

or 2 conditions

line l !l condition
65 1 0 $package || "package main\n"
88 17 8 $argv || [@ARGV]
113 3 1 $usage //= ""
118 1 3 $SUBCOMMANDS || []
4 0 $OPTIONS || []
263 7 2 $o[1] //= ""
281 6 0 $s->[2] // ""

or 3 conditions

line l !l&&r !l&&!r condition
105 0 4 0 shift() || (caller)[1]
159 0 51 0 ref $class || $class
164 47 12 0 $Getopt::App::APP_CLASS || caller
212 7 20 6 $app->$call_maybe("getopt_post_process_exit_value", $exit_value) // $exit_value