Branch Coverage

blib/lib/Acme/Mitey/Cards/Card/Numeric.pm.mite.pm
Criterion Covered Total %
branch 24 60 40.0


line true false branch
68 0 42 ref $_[0] ? :
74 0 42 @_ == 1 ? :
0 42 $meta->{'HAS_BUILDARGS'} ? :
79 40 2 if (exists $args->{'deck'})
81 0 40 unless &blessed($args->{'deck'}) and $args->{'deck'}->isa("Acme::Mitey::Cards::Deck")
87 40 2 if ref $self->{'deck'}
91 2 40 if (exists $args->{'reverse'})
92 0 2 unless do {
95 2 0 if (defined $args->{'reverse'})
97 0 2 unless ref \$args->{'reverse'} eq "SCALAR"
107 0 42 unless exists $args->{'suit'}
115 42 0 if &Scalar::Util::blessed($to_coerce)
123 0 0 if (defined $to_coerce)
124 0 0 unless ref \$to_coerce eq "SCALAR"
130 0 0 do {
42 0 do {
140 0 42 unless &blessed($coerced_value) and $coerced_value->isa("Acme::Mitey::Cards::Suit")
150 0 42 unless exists $args->{'number'}
175 0 0 if defined $to_coerce and not ref $to_coerce
179 0 0 do {
42 0 do {
182 0 42 unless do {
188 42 0 if defined $tmp and not ref $tmp
203 0 42 unless $meta->{'BUILD'}
0 42 if not $no_build and @{[] unless $meta->{'BUILD'};}
209 0 42 if @unknown
252 0 0 if exists $DOES{$role}
253 0 0 if $role eq "Acme::Mitey::Cards::Card::Numeric"
254 0 0 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
257 0 0 if $meta->can("does_role") and $meta->does_role($role)