Branch Coverage

blib/lib/Acme/Mitey/Cards/Hand.pm.mite.pm
Criterion Covered Total %
branch 17 44 38.6


line true false branch
66 0 3 ref $_[0] ? :
72 0 3 @_ == 1 ? :
0 3 $meta->{'HAS_BUILDARGS'} ? :
77 2 1 if (exists $args->{'cards'})
84 0 2 unless do { package Acme::Mitey::Cards::Mite; ref $args->{'cards'} eq "ARRAY" } and do { my $ok = 1; foreach my $i (@{$$args{"cards"};}) { $ok = 0, last unless do { $i->isa("Acme::Mitey::Cards::Card") if &Scalar::Util::blessed($i) }; } ; $ok }
89 0 16 unless do { $i->isa("Acme::Mitey::Cards::Card") if &Scalar::Util::blessed($i) }
91 16 0 if &Scalar::Util::blessed($i)
106 3 0 if (exists $args->{'owner'})
107 0 3 unless do { package Acme::Mitey::Cards::Mite; unless (do { if (defined $args->{'owner'}) { ref \(my $val = $args->{'owner'}) eq "SCALAR" unless ref \$args->{'owner'} eq "SCALAR"; } }) { &Scalar::Util::blessed($args->{'owner'}); } }
114 3 0 if (defined $args->{'owner'})
116 0 3 unless ref \$args->{'owner'} eq "SCALAR"
121 0 3 unless (do { if (defined $args->{'owner'}) { ref \(my $val = $args->{'owner'}) eq "SCALAR" unless ref \$args->{'owner'} eq "SCALAR"; } })
136 0 3 unless $meta->{'BUILD'}
0 3 if not $no_build and @{[] unless $meta->{'BUILD'};}
141 0 3 if @unknown
155 0 0 unless do { package Acme::Mitey::Cards::Mite; unless (do { if (defined $_[1]) { ref \(my $val = $_[1]) eq "SCALAR" unless ref \$_[1] eq "SCALAR"; } }) { &Scalar::Util::blessed($_[1]); } }
162 0 0 if (defined $_[1])
163 0 0 unless ref \$_[1] eq "SCALAR"
168 0 0 unless (do { if (defined $_[1]) { ref \(my $val = $_[1]) eq "SCALAR" unless ref \$_[1] eq "SCALAR"; } })
182 0 3 @_ > 1 ? :
189 0 0 if exists $DOES{$role}
190 0 0 if $role eq "Acme::Mitey::Cards::Hand"