Branch Coverage

lib/Haineko/CLI/Help.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
25 1 9 unless defined $argv
26 1 8 unless ref $argv
27 1 7 unless ref $argv eq 'ARRAY'
29 2 5 if ($type eq 'o' or $type eq 'option') { }
2 3 elsif ($type eq 'e' or $type eq 'example') { }
2 1 elsif ($type eq 's' or $type eq 'subcommand') { }
62 0 0 unless scalar @f % 2
64 0 0 $l > $maxlength1 ? :
77 0 0 if (scalar @f % 2)
85 0 0 unless scalar @$messageset
86 0 0 if scalar @$messageset
96 0 0 if (scalar @{$$self{'params'}{'example'};})