Branch Coverage

lib/Types/Standard/CycleTuple.pm
Criterion Covered Total %
branch 37 44 84.0


line true false branch
33 1 26 unless Types::TypeTiny::is_TypeTiny($param)
41 3 9 if grep((!!$_->is_strictly_a_type_of($_Optional)), @params)
43 2 7 if grep((!!$_->is_strictly_a_type_of($_Slurpy)), @params)
48 0 74 unless $_arr->check($value)
49 41 33 if @$value % $count
53 3 37 unless $tuple->check($tmp)
63 0 19 unless Types::TypeTiny::is_TypeTiny($param)
71 2 5 unless $tuple->can_be_inlined
78 58 11 $v =~ /\A\$[a-z0-9_]+\z/i ? :
99 69 0 if grep {$_->inline_check("\$xyz") ne "(!!1)";} @params
110 1 2 if (@$value % @constraints)
122 2 2 if $constraint->check($value->[$i])
148 2 12 unless $tc->can_be_inlined
149 3 11 if $tc->has_coercion and not $tc->coercion->can_be_inlined
150 5 9 if $tc->has_coercion
153 0 5 unless $child_coercions_exist
156 2 3 if ($all_inlinable) { }
174 2 3 $ct_coerce ? :
198 3 0 @_ ? :
200 0 3 if (scalar(@$value) % scalar(@tuple) != 0)
207 6 12 $ct->has_coercion ? :
209 0 18 unless $ct->check($x)