Branch Coverage

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


line true false branch
66 0 15 *{$_;}{'CODE'} ? :
70 0 15 *{$_;}{'CODE'} ? :
86 0 6 ref $_[0] ? :
92 0 6 @_ == 1 ? :
0 6 $meta->{'HAS_BUILDARGS'} ? :
97 2 4 if (exists $args->{'deck'})
99 0 2 unless &blessed($args->{'deck'}) and $args->{'deck'}->isa("Acme::Mitey::Cards::Deck")
105 2 4 if ref $self->{'deck'}
109 2 4 if (exists $args->{'reverse'})
110 0 2 unless do {
113 2 0 if (defined $args->{'reverse'})
115 0 2 unless ref \$args->{'reverse'} eq "SCALAR"
124 0 6 unless $meta->{'BUILD'}
0 6 if not $no_build and @{[] unless $meta->{'BUILD'};}
129 0 6 if @unknown
139 0 0 unless $meta->{'BUILD'}
147 63 0 defined ${^GLOBAL_PHASE} ? :
151 0 63 unless $meta->{'DEMOLISH'}
158 0 0 if $e
184 0 6 unless @_ == 1
187 5 1 exists $_[0]{'reverse'} ? :
189 0 1 unless do {
192 1 0 if (defined $default_value)
193 0 1 unless ref \$default_value eq "SCALAR"
210 0 0 if exists $DOES{$role}
211 0 0 if $role eq "Acme::Mitey::Cards::Card"
212 0 0 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
215 0 0 if $meta->can("does_role") and $meta->does_role($role)