Condition Coverage

blib/lib/Types/TypeTiny.pm
Criterion Covered Total %
condition 61 93 65.5


and 3 conditions

line !l l&&!r l&&r condition
173 24 15 6 builtin::blessed($_) and _check_overload($_, "\"\"")
2 43 16 defined $_ and not ref $_
204 161 2 99 defined $cache{'HashLike'} and not @_
210 37 19 8 builtin::blessed($_) and _check_overload($_, "%{}")
248 0 10 13 $xsubname and not $Type::Tiny::AvoidCallbacks
302 162 2 103 defined $cache{'ArrayLike'} and not @_
308 35 19 8 builtin::blessed($_) and _check_overload($_, "\@{}")
346 0 10 13 $xsubname and not $Type::Tiny::AvoidCallbacks
409 38 19 3 builtin::blessed($_) and _check_overload($_, "&{}")
451 29 21 0 builtin::blessed($_) and _check_overload($_, 'bool') || _check_overload($_, '0+') && do { my $n = sprintf('%d', $_); $n == 1 unless $n == 0 } || do { my $d = $_->can('DOES') || $_->can('isa'); $_->$d('boolean') }
42 10 8 not ref $_ and $_ eq '' || $_ eq '0' || $_ eq '1'
537 0 47 6 $t->can("DOES") and $t->DOES("Type::Library::Compiler::TypeConstraint")
47 0 6 $t->can("DOES") and $t->DOES("Type::Library::Compiler::TypeConstraint") and $t->can("to_TypeTiny")
599 0 0 0 $t->can("can_be_inlined") and $t->can_be_inlined
735 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")
739 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")
764 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")
813 0 0 1 $perlstring and not $captures

or 2 conditions

line l !l condition
52 1 38 $opts->{'into'} ||= scalar caller
672 0 0 $f || 'pre'
681 0 0 $f || 'pre'

or 3 conditions

line l !l&&r !l&&!r condition
191 61 0 350 $Type::Tiny::AvoidCallbacks || !$xsubname
287 71 0 226 $Type::Tiny::AvoidCallbacks || !$xsubname
385 71 0 227 $Type::Tiny::AvoidCallbacks || !$xsubname
428 62 0 230 $Type::Tiny::AvoidCallbacks || !$xsubname
451 4 0 15 _check_overload($_, 'bool') || _check_overload($_, '0+') && do { my $n = sprintf('%d', $_); $n == 1 unless $n == 0 } || do { my $d = $_->can('DOES') || $_->can('isa'); $_->$d('boolean') }
6 4 8 $_ eq '' || $_ eq '0' || $_ eq '1'
2 8 52 not defined $_ or not ref $_ and $_ eq '' || $_ eq '0' || $_ eq '1'
800 0 1 40018 $QFS ||= "Sub::Quote"->can("quoted_from_sub")