Branch Coverage

blib/lib/Acme/Mitey/Cards/Card.pm.mite.pm
Criterion Covered Total %
branch 26 52 50.0


line true false branch
65 0 15 *{$_;}{'CODE'} ? :
69 0 15 *{$_;}{'CODE'} ? :
79 0 6 ref $_[0] ? :
85 0 6 @_ == 1 ? :
0 6 $meta->{'HAS_BUILDARGS'} ? :
90 2 4 if (exists $args->{'deck'})
92 0 2 unless &blessed($args->{'deck'}) and $args->{'deck'}->isa("Acme::Mitey::Cards::Deck")
98 2 4 if ref $self->{'deck'}
102 2 4 if (exists $args->{'reverse'})
103 0 2 unless do { package Acme::Mitey::Cards::Mite; if (defined $args->{'reverse'}) { ref \(my $val = $args->{'reverse'}) eq "SCALAR" unless ref \$args->{'reverse'} eq "SCALAR"; } }
106 2 0 if (defined $args->{'reverse'})
108 0 2 unless ref \$args->{'reverse'} eq "SCALAR"
117 0 6 unless $meta->{'BUILD'}
0 6 if not $no_build and @{[] unless $meta->{'BUILD'};}
122 0 6 if @unknown
132 0 0 unless $meta->{'BUILD'}
140 63 0 defined ${^GLOBAL_PHASE} ? :
144 0 63 unless $meta->{'DEMOLISH'}
151 0 0 if $e
177 0 6 unless @_ == 1
180 5 1 exists $_[0]{'reverse'} ? :
182 0 1 unless do { package Acme::Mitey::Cards::Mite; if (defined $default_value) { ref \(my $val = $default_value) eq "SCALAR" unless ref \$default_value eq "SCALAR"; } }
185 1 0 if (defined $default_value)
186 0 1 unless ref \$default_value eq "SCALAR"
203 0 0 if exists $DOES{$role}
204 0 0 if $role eq "Acme::Mitey::Cards::Card"