Branch Coverage

blib/lib/Acme/Mitey/Cards/Types.pm
Criterion Covered Total %
branch 0 472 0.0


line true false branch
39 0 0 if &$_(@_)
52 0 0 defined $_[1] ? :
56 0 0 $_[0]{'check'}->($_[1]) ? :
62 0 0 $_[0]{'check'}->($_[1]) ? :
68 0 0 $_[0]{'check'}->($_[1]) ? :
74 0 0 if ($_[0]{'union'})
81 0 0 if (my $library = $_[0]{'library'})
83 0 0 unless eval "require $library; 1"
85 0 0 if $type
98 0 0 if $_[1] eq "Type::API::Constraint"
99 0 0 if $_[1] eq "Type::Library::Compiler::TypeConstraint"
139 0 0 ref $_[0] eq 'ARRAY' ? :
158 0 0 if not ref $_[0]
162 0 0 !ref($_[0]) && (!defined($_[0]) || $_[0] eq '' || $_[0] eq '0' || $_[0] eq '1') ? :
181 0 0 if &Scalar::Util::blessed($_[0])
185 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
204 0 0 if &Scalar::Util::blessed($i)
0 0 unless do {
0 0 if (ref $_[0] eq "ARRAY")
208 0 0 if &Scalar::Util::blessed($i)
0 0 unless do {
0 0 if (ref $_[0] eq "ARRAY")
0 0 do {
227 0 0 if defined $tmp and not ref $tmp
0 0 if do {
231 0 0 do {
250 0 0 if defined $_[0] and not ref $_[0]
254 0 0 if defined $_[0] and not ref $_[0]
0 0 do {
275 0 0 if ref $_[0]
276 0 0 unless $_[0]
277 0 0 if ref do {
279 0 0 if exists $stash->{'ISA'} and *{$stash->{'ISA'};}{"ARRAY"} and @{$_[0] . "::ISA";}
280 0 0 if exists $stash->{'VERSION'}
285 0 0 ref \$globref eq 'GLOB' ? :
0 0 if ref \$globref eq "GLOB" ? *{$globref;}{"CODE"} : ref $globref
292 0 0 do {
294 0 0 if ref $_[0]
295 0 0 unless $_[0]
296 0 0 if ref do {
298 0 0 if exists $stash->{'ISA'} and *{$stash->{'ISA'};}{"ARRAY"} and @{$_[0] . "::ISA";}
299 0 0 if exists $stash->{'VERSION'}
304 0 0 ref \$globref eq 'GLOB' ? :
0 0 if ref \$globref eq "GLOB" ? *{$globref;}{"CODE"} : ref $globref
330 0 0 ref $_[0] eq 'CODE' ? :
353 0 0 do {
376 0 0 ref $_[0] eq 'ARRAY' ? :
395 0 0 if &Scalar::Util::blessed($_[0])
399 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
422 0 0 defined $_[0] ? :
441 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
445 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 do {
468 0 0 ref $_[0] eq 'HASH' ? :
487 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
491 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 do {
510 0 0 if &Scalar::Util::blessed($_[0])
514 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
533 0 0 unless ref $_[0] and &Scalar::Util::openhandle($_[0])
537 0 0 unless ref $_[0] and &Scalar::Util::openhandle($_[0])
0 0 do {
560 0 0 ref $_[0] eq 'GLOB' ? :
579 0 0 if &Scalar::Util::blessed($_[0])
583 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
606 0 0 do {
629 0 0 ref $_[0] eq 'HASH' ? :
652 0 0 do {
671 0 0 if defined $tmp and not ref $tmp
675 0 0 if defined $tmp and not ref $tmp
0 0 do {
694 0 0 if defined $tmp and not ref $tmp
698 0 0 if defined $tmp and not ref $tmp
0 0 do {
740 0 0 if &Scalar::Util::blessed($_[0])
744 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
763 0 0 if defined $_[0] and not ref $_[0]
767 0 0 if defined $_[0] and not ref $_[0]
0 0 do {
786 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if do {
0 0 if (do {
790 0 0 do {
809 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if (do {
813 0 0 do {
836 0 0 ref $_[0] eq 'HASH' ? :
878 0 0 if defined $tmp and not ref $tmp
0 0 if do {
882 0 0 do {
901 0 0 if defined $_[0] and not ref $_[0]
0 0 if do {
905 0 0 do {
924 0 0 if defined $tmp and not ref $tmp
0 0 if do {
928 0 0 do {
947 0 0 if defined $_[0] and not ref $_[0]
0 0 if do {
951 0 0 do {
970 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if do {
974 0 0 do {
993 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
997 0 0 do {
1016 0 0 if defined $_[0] and not ref $_[0]
1020 0 0 if defined $_[0] and not ref $_[0]
0 0 do {
1039 0 0 if defined $_[0] and not ref $_[0]
1043 0 0 if defined $_[0] and not ref $_[0]
0 0 do {
1062 0 0 if &Scalar::Util::blessed($_[0])
1066 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
1085 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if do {
1089 0 0 do {
1112 0 0 do {
1131 0 0 unless ref \$inner->[0] eq "SCALAR"
0 0 if (defined $inner->[0])
0 0 unless ref $inner eq "ARRAY" and @$inner == 2 and do {
0 0 if (ref $_[0] eq "ARRAY")
1135 0 0 ref $_[0] eq 'ARRAY' && do {
1177 0 0 if &Scalar::Util::blessed($_[0])
1181 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
1200 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if do {
1204 0 0 do {
1223 0 0 if defined $tmp and not ref $tmp
0 0 if do {
1227 0 0 do {
1246 0 0 if defined $_[0] and not ref $_[0]
0 0 if do {
1250 0 0 do {
1269 0 0 if defined $tmp and not ref $tmp
0 0 if do {
1273 0 0 do {
1292 0 0 if defined $_[0] and not ref $_[0]
0 0 if do {
1296 0 0 do {
1319 0 0 !!ref($_[0]) ? :
1338 0 0 unless ref $_[0] and not !&re::is_regexp($_[0])
1342 0 0 unless ref $_[0] and not !&re::is_regexp($_[0])
0 0 do {
1363 0 0 if ref $_[0]
1364 0 0 unless $_[0]
1365 0 0 if ref do {
1367 0 0 if exists $stash->{'ISA'} and *{$stash->{'ISA'};}{"ARRAY"} and @{$_[0] . "::ISA";}
1368 0 0 if exists $stash->{'VERSION'}
1373 0 0 ref \$globref eq 'GLOB' ? :
0 0 if ref \$globref eq "GLOB" ? *{$globref;}{"CODE"} : ref $globref
1376 0 0 if sub {
1380 0 0 do {
1382 0 0 if ref $_[0]
1383 0 0 unless $_[0]
1384 0 0 if ref do {
1386 0 0 if exists $stash->{'ISA'} and *{$stash->{'ISA'};}{"ARRAY"} and @{$_[0] . "::ISA";}
1387 0 0 if exists $stash->{'VERSION'}
1392 0 0 ref \$globref eq 'GLOB' ? :
0 0 if ref \$globref eq "GLOB" ? *{$globref;}{"CODE"} : ref $globref
1395 0 0 if sub {
1414 0 0 unless ref $_[0] eq "SCALAR"
1418 0 0 ref $_[0] eq 'SCALAR' || ref $_[0] eq 'REF' ? :
1437 0 0 if &Scalar::Util::blessed($_[0])
1441 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
1460 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
1464 0 0 do {
1483 0 0 if defined $tmp and not ref $tmp
0 0 if do {
1487 0 0 do {
1529 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
1533 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 do {
1552 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
1556 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 do {
1575 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
1579 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 do {
1598 0 0 if defined $val and not ref $val
1607 0 0 if defined $val and not ref $val
0 0 do {
1631 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if do {
1635 0 0 do {
1654 0 0 if &Scalar::Util::blessed($_[0])
1658 0 0 if &Scalar::Util::blessed($_[0])
0 0 do {
1681 0 0 do {
1704 0 0 ref $_[0] eq 'ARRAY' ? :
1727 0 0 !defined($_[0]) ? :
1746 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if do {
0 0 if (do {
1750 0 0 do {
1769 0 0 unless ref \$_[0] eq "SCALAR"
0 0 if (defined $_[0])
0 0 if do {
0 0 if (do {
1773 0 0 do {
1792 0 0 if defined $_[0]
1796 0 0 defined $_[0] && !ref($_[0]) ? :