Branch Coverage

blib/lib/Ask/API.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
61 1 4 unless (length $got)
62 1 0 if $opts{'multiple'}
68 0 4 if ($opts{'existing'} and not $got->exists)
73 0 4 if ($opts{'directory'} and not $got->is_dir)
80 3 1 if ($opts{'multiple'})
86 1 1 $opts{'multiple'} ? :
118 0 0 if (@$disallowed) { }
145 0 0 if (@$disallowed) { }
0 0 elsif (@$allowed != 1) { }