Condition Coverage

blib/lib/Getopt/Tabular.pm
Criterion Covered Total %
condition 5 67 7.4


and 3 conditions

line !l l&&!r l&&r condition
163 0 0 0 @_ > 0 and @_ % 2 == 0
338 0 0 0 $show_defaults && !($help =~ /\[default/)
346 0 0 0 $show_default and defined $$value
0 0 0 $show_default and defined $$value and $$value
350 0 0 0 $show_default and defined $$value
0 0 0 $show_default and defined $$value and not $$value
364 0 0 0 $show_default and defined $$value
369 0 0 0 $show_default and @$value
0 0 0 $show_default and @$value and not grep((!defined($_)), @$value)
522 0 0 14 defined $val and $val =~ /^$Getopt::Tabular::Patterns{$type}$/x
661 3 1 0 $arg ne $pos and $arg ne $neg
819 0 0 0 $type eq 'call' and ref $spoof ne 'CODE'
821 0 0 0 $type eq 'eval' and ref $spoof
838 0 27 0 defined $Getopt::Tabular::OptionTerminator and $arg eq $Getopt::Tabular::OptionTerminator
888 0 0 15 defined $handler and ref $handler eq 'CODE'

or 2 conditions

line l !l condition
689 0 0 $Getopt::Tabular::ErrorClass || 'bad_call'
719 0 0 $Getopt::Tabular::ErrorClass || 'bad_call'

or 3 conditions

line l !l&&r !l&&!r condition
151 0 0 0 $description || $type
212 0 0 0 $string eq '' or $string =~ /\s/
244 0 0 0 $type eq 'section' or not defined $help
689 0 0 0 $Getopt::Tabular::ErrorMessage || qq[subroutine call from option "$arg" failed]
719 0 0 0 $Getopt::Tabular::ErrorMessage || qq[code eval'd for option "$arg" failed]
816 0 0 0 $type eq 'call' or $type eq 'eval'