Branch Coverage

blib/lib/Types/Const.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
45 8 0 @_ ? :
51 57 240 if (is_ArrayRef($_[0])) { }
45 195 elsif (is_HashRef($_[0])) { }
6 189 elsif (is_ScalarRef($_[0])) { }
68 1 5 unless @_
71 0 5 unless &Types::TypeTiny::TypeTiny()->check($param)
74 0 5 if @_
87 5 0 unless $param->has_coercion
95 0 0 @_ ? :
98 0 0 unless $coercable_item->check($item)