Branch Coverage

blib/lib/Test2/Tools/TypeTiny.pm
Criterion Covered Total %
branch 37 54 68.5


line true false branch
153 4 4 if (not $type->_is_null_constraint and $type->has_inlined) { }
333 18 22 if ($type->check($value)) { }
6 16 elsif (not $type->has_coercion) { }
346 0 16 unless (_check_coercion($value, $new_value))
390 6 30 if ($type->check($value)) { }
12 18 elsif (not $type->has_coercion) { }
403 8 10 unless (_check_coercion($value, $new_value))
458 0 25 if ($type->check($value)) { }
0 25 elsif (not $type->has_coercion) { }
471 3 22 unless (_check_coercion($value, $new_value))
511 0 4 unless $type->is_parameterizable
539 0 48 unless $new_type
562 0 4 unless $type->is_parameterizable
695 4 0 defined $explanation_got ? :
751 0 400 if $delta
777 0 199 if (length $dd > 30)
787 1084 170 $check ? :
791 170 1084 unless ($check)
794 0 170 if ($current_check->is_parameterized and $current_check->parent->has_deep_explanation)
803 0 0 ref $deep ne 'ARRAY' ? :
0 0 !defined($deep) ? :
0 0 $@ ? :
823 0 59 if (length $dd > 30)
832 52 66 $check ? :
833 52 66 if $check and $coercion_type != $type
836 52 66 if $check
848 4 55 if ref $old_value or ref $new_value