Branch Coverage

blib/lib/Getopt/Helpful.pm
Criterion Covered Total %
branch 4 54 7.4


line true false branch
193 2 4 unless (ref $row eq 'ARRAY')
195 2 0 if ($row =~ s/^\+//) { }
196 0 2 unless $builtins{$row}
251 0 0 if (not $@) { }
257 0 0 unless ref $obj eq 'HASH'
266 0 0 unless (Getopt::Long::GetOptions(%opts))
268 0 0 $$self{'has'}{'help'} ? :
330 0 0 if ($$self{'conf_table'})
373 0 0 if (@_)
384 0 0 unless defined $item
385 0 0 unless (length $item)
386 0 0 if (defined $type)
397 0 0 if (%only)
402 0 0 if ($only{$check})
407 0 0 unless $okay
412 0 0 if (%only)
447 0 0 defined &main::usage ? :
514 0 0 if (@_)
523 0 0 if (@ARGV)
528 0 0 if ($code) { }
551 0 0 unless ($$opts{'h|help'})
558 0 0 if $it eq '-h'
559 0 0 if $it eq '--help'
579 0 0 if ($spec =~ s/(.*)\|//)
586 0 0 if ($spec =~ s/(?:=|:)(.*)$//) { }
0 0 elsif ($spec =~ s/!$//) { }
593 0 0 if ($negatable)