Branch Coverage

blib/lib/Data/Sah/Util/Type.pm
Criterion Covered Total %
branch 27 40 67.5


line true false branch
38 24 58 if (ref $sch eq 'ARRAY')
42 82 0 if (defined $sch and not ref $sch) { }
54 0 24 if $opts->{'schema_is_normalized'}
64 8 16 if $sch->[1]{'of.op'}
66 4 8 unless $of and ref $of eq 'ARRAY' and @$of
68 4 10 unless &$crit($_)
77 0 3 unless my $type = get_type($sch)
78 1 2 unless my $tmeta = $Data::Sah::Util::Type::type_metas->{$type}
86 0 33 unless my $type = get_type($sch)
87 0 33 unless my $tmeta = $Data::Sah::Util::Type::type_metas->{$type}
88 12 21 if ($type eq 'any' or $type eq 'all')
98 0 31 unless my $type = get_type($sch)
99 0 31 unless my $tmeta = $Data::Sah::Util::Type::type_metas->{$type}
100 12 19 if ($type eq 'any' or $type eq 'all')
110 0 9 unless my $type = get_type($sch)
111 0 9 unless my $tmeta = $Data::Sah::Util::Type::type_metas->{$type}
112 0 9 if ($type eq 'any' or $type eq 'all')
122 0 6 unless my $type = get_type($sch)
123 0 6 unless my $tmeta = $Data::Sah::Util::Type::type_metas->{$type}
124 0 6 if ($type eq 'any' or $type eq 'all')