Branch Coverage

blib/lib/DBIx/Class/Sims/Util.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
18 2 11 unless defined $input
21 4 7 if (reftype($input) eq 'ARRAY') { }
1 6 elsif (reftype($input) eq 'HASH') { }
6 0 elsif (not reftype($input)) { }
22 1 3 unless @$input
23 2 1 unless grep {reftype($_) ne 'HASH';} @$input
29 4 2 if ($input =~ /^\d+$/)