Branch Coverage

blib/lib/Validator/Declarative/Rules/ParametrizedType.pm
Criterion Covered Total %
branch 31 34 91.1


line true false branch
23 11 2 if not looks_like_number $input && looks_like_number $param or $input < $param
30 6 7 if not looks_like_number $input && looks_like_number $param or $input > $param
36 15 16 unless ref $input
37 5 11 unless $param
38 6 5 if ref $param ne 'ARRAY'
45 27 15 unless blessed $input
46 5 10 unless $param
47 5 5 if ref $param ne 'ARRAY'
54 36 20 unless blessed $input and $param
55 10 10 if ref $param ne 'ARRAY'
62 9 5 unless blessed $input and $param
63 0 5 if ref $param ne 'ARRAY'
70 0 50 unless $param
71 0 50 if ref $param ne 'ARRAY'
99 16 232 if looks_like_number $x and looks_like_number $y
100 44 188 if ref $y eq 'CODE'
101 42 146 if ref $y eq 'Regexp'