Branch Coverage

blib/lib/Sub/HandlesVia/XS.pm
Criterion Covered Total %
branch 8 50 16.0


line true false branch
32 0 6 unless wantarray
35 6 0 if (is_Object($type) and $type->can('compiled_check')) { }
0 0 elsif (is_Object($type) and $type->can('check')) { }
0 0 elsif (is_CodeRef($type)) { }
0 0 elsif (is_CodeLike($type)) { }
39 0 0 @_ ? :
58 6 0 if (&is_TypeTiny($given_type))
61 0 6 if ($type == &Any() or $type == &Item()) { }
0 6 elsif ($type == &Defined()) { }
0 6 elsif ($type == &Ref()) { }
0 6 elsif ($type == &Bool()) { }
6 0 elsif ($type == &Int()) { }
0 0 elsif ($type == &PositiveOrZeroInt()) { }
0 0 elsif ($type == &Num()) { }
0 0 elsif ($type == &PositiveOrZeroNum()) { }
0 0 elsif ($type == &Str()) { }
0 0 elsif ($type == &NonEmptyStr()) { }
0 0 elsif ($type == &ClassName()) { }
0 0 elsif ($type == &Object()) { }
0 0 elsif ($type == &ScalarRef()) { }
0 0 elsif ($type == &CodeRef()) { }
0 0 elsif ($type == &ArrayRef()) { }
0 0 elsif ($type == &HashRef()) { }
0 0 elsif ($type->is_parameterized and @{$type->parameters;} == 1 and $type->parameterized_from == &ArrayRef() || $type->parameterized_from == &HashRef()) { }
115 0 0 unless $no_recurse