Condition Coverage

blib/lib/Types/TypeTiny.pm
Criterion Covered Total %
condition 67 99 67.6


and 3 conditions

line !l l&&!r l&&r condition
173 24 15 4 &blessed($_) and _check_overload($_, "\"\"")
2 41 14 defined $_ and not ref $_
204 119 2 81 defined $cache{'HashLike'} and not @_
210 35 17 8 &blessed($_) and _check_overload($_, "%{}")
248 0 10 13 $xsubname and not $Type::Tiny::AvoidCallbacks
302 120 2 81 defined $cache{'ArrayLike'} and not @_
308 33 17 8 &blessed($_) and _check_overload($_, "\@{}")
346 0 10 13 $xsubname and not $Type::Tiny::AvoidCallbacks
409 36 17 3 &blessed($_) and _check_overload($_, "&{}")
449 29 13 2 &blessed($_) and _check_overload($_, "0+")
42 2 0 &blessed($_) and _check_overload($_, "0+") and do { my $n = sprintf("%d", $_); $n == 1 unless $n == 0 }
38 9 4 not ref $_ and $_ eq '' || $_ eq '0' || $_ eq '1'
29 15 2 &blessed($_) and _check_overload($_, "bool")
531 0 44 6 $t->can("DOES") and $t->DOES("Type::Library::Compiler::TypeConstraint")
44 0 6 $t->can("DOES") and $t->DOES("Type::Library::Compiler::TypeConstraint") and $t->can("to_TypeTiny")
593 0 0 0 $t->can("can_be_inlined") and $t->can_be_inlined
729 2 0 1 $t->can("has_coercion") and $t->has_coercion
2 0 1 $t->can("has_coercion") and $t->has_coercion and $t->can("coerce")
733 3 0 0 $t->can("can_be_inlined") and $t->can_be_inlined
3 0 0 $t->can("can_be_inlined") and $t->can_be_inlined and $t->can("inline_check")
758 0 0 0 $t->can("has_coercion") and $t->has_coercion
0 0 0 $t->can("has_coercion") and $t->has_coercion and $t->can("coerce")
807 0 0 1 $perlstring and not $captures

or 2 conditions

line l !l condition
52 0 34 $opts->{'into'} ||= scalar caller
666 0 0 $f || 'pre'
675 0 0 $f || 'pre'

or 3 conditions

line l !l&&r !l&&!r condition
191 57 0 317 $Type::Tiny::AvoidCallbacks || !$xsubname
287 67 0 180 $Type::Tiny::AvoidCallbacks || !$xsubname
385 67 0 181 $Type::Tiny::AvoidCallbacks || !$xsubname
428 58 0 184 $Type::Tiny::AvoidCallbacks || !$xsubname
449 3 2 8 $_ eq '' || $_ eq '0' || $_ eq '1'
1 4 47 not defined $_ or not ref $_ and $_ eq '' || $_ eq '0' || $_ eq '1'
3 2 44 not defined $_ or not ref $_ and $_ eq '' || $_ eq '0' || $_ eq '1' or &blessed($_) and _check_overload($_, "bool")
794 0 1 40018 $QFS ||= "Sub::Quote"->can("quoted_from_sub")