Branch Coverage

blib/lib/Acme/Mitey/Cards/Card/Face.pm.mite.pm
Criterion Covered Total %
branch 29 54 53.7


line true false branch
68 0 15 ref $_[0] ? :
74 0 15 @_ == 1 ? :
0 15 $meta->{'HAS_BUILDARGS'} ? :
79 12 3 if (exists $args->{'deck'})
81 0 12 unless &blessed($args->{'deck'}) and $args->{'deck'}->isa("Acme::Mitey::Cards::Deck")
87 12 3 if ref $self->{'deck'}
91 1 14 if (exists $args->{'reverse'})
92 0 1 unless do {
95 1 0 if (defined $args->{'reverse'})
97 0 1 unless ref \$args->{'reverse'} eq "SCALAR"
107 0 15 unless exists $args->{'suit'}
115 14 1 if &Scalar::Util::blessed($to_coerce)
123 1 0 if (defined $to_coerce)
124 0 1 unless ref \$to_coerce eq "SCALAR"
130 1 0 do {
14 1 do {
140 0 15 unless &blessed($coerced_value) and $coerced_value->isa("Acme::Mitey::Cards::Suit")
149 0 15 unless exists $args->{'face'}
150 1 14 unless do {
155 15 0 if defined $args->{'face'} and not ref $args->{'face'}
162 0 14 unless $meta->{'BUILD'}
0 14 if not $no_build and @{[] unless $meta->{'BUILD'};}
167 0 14 if @unknown
210 0 0 if exists $DOES{$role}
211 0 0 if $role eq "Acme::Mitey::Cards::Card::Face"
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)