Branch Coverage

lib/Types/Standard/CycleTuple.pm
Criterion Covered Total %
branch 46 56 82.1


line true false branch
36 2 2 if Types::TypeTiny::is_TypeTiny($_[0])
41 0 2 unless Types::TypeTiny::is_ArrayLike($of)
50 0 2 $type->has_coercion ? :
0 2 exists $values->{'where'} ? :
56 1 1 $INC{'Type/Registry.pm'} ? :
2 0 unless ref $caller or $caller eq "-lexical" or $globals->{'lexical'}
67 1 28 unless Types::TypeTiny::is_TypeTiny($param)
75 3 10 if grep((!!$_->is_strictly_a_type_of($_Optional)), @params)
77 2 8 if grep((!!$_->is_strictly_a_type_of($_Slurpy)), @params)
82 0 74 unless $_arr->check($value)
83 41 33 if @$value % $count
87 3 37 unless $tuple->check($tmp)
97 0 21 unless Types::TypeTiny::is_TypeTiny($param)
105 2 6 unless $tuple->can_be_inlined
112 58 14 $v =~ /\A\$[a-z0-9_]+\z/i ? :
133 72 0 if grep {$_->inline_check("\$xyz") ne "(!!1)";} @params
144 1 2 if (@$value % @constraints)
156 2 2 if $constraint->check($value->[$i])
182 2 14 unless $tc->can_be_inlined
183 3 13 if $tc->has_coercion and not $tc->coercion->can_be_inlined
184 5 11 if $tc->has_coercion
187 1 5 unless $child_coercions_exist
190 2 3 if ($all_inlinable) { }
208 2 3 $ct_coerce ? :
232 3 0 @_ ? :
234 0 3 if (scalar(@$value) % scalar(@tuple) != 0)
241 6 12 $ct->has_coercion ? :
243 0 18 unless $ct->check($x)