Condition Coverage

lib/Getopt/Compact.pm
Criterion Covered Total %
condition 16 31 51.6


and 3 conditions

line !l l&&!r l&&r condition
55 0 0 2 $$self{'usage'} and not $self->_has_option('help')
90 0 2 0 $$self{'_allow_man'} and $$opt{'man'}
0 2 0 $$self{'usage'} and $$opt{'help'} || $self->status == 0
181 0 1 0 defined $script and not -e $script

or 2 conditions

line l !l condition
24 1 1 $args{'struct'} ||= []
35 2 0 $0 || ''
39 2 0 $$self{'version'} || $main::VERSION || '1.0'
70 2 13 $spec || ''
127 4 1 $$self{$_} || ''

or 3 conditions

line l !l&&r !l&&!r condition
90 0 0 2 $$opt{'help'} || $self->status == 0
111 0 0 0 $$self{'name'} || $$self{'cmd'}
165 56 4 12 $la < 2 or $lb < 2