Branch Coverage

blib/lib/Acme/Mitey/Cards/Suit.pm.mite.pm
Criterion Covered Total %
branch 23 62 37.1


line true false branch
28 0 12 ref $_[0] ? :
34 0 12 @_ == 1 ? :
0 12 $meta->{'HAS_BUILDARGS'} ? :
38 0 12 unless exists $args->{'name'}
44 12 0 if (defined $args->{'name'})
46 0 12 unless ref \$args->{'name'} eq "SCALAR"
50 0 12 unless do { package Acme::Mitey::Cards::Mite; if (defined $args->{'name'}) { ref \(my $val = $args->{'name'}) eq "SCALAR" unless ref \$args->{'name'} eq "SCALAR"; } } and do { package Acme::Mitey::Cards::Mite; length $args->{'name'} > 0 }
61 0 12 if (exists $args->{'abbreviation'})
62 0 0 unless do { package Acme::Mitey::Cards::Mite; if (defined $args->{'abbreviation'}) { ref \(my $val = $args->{'abbreviation'}) eq "SCALAR" unless ref \$args->{'abbreviation'} eq "SCALAR"; } }
65 0 0 if (defined $args->{'abbreviation'})
67 0 0 unless ref \$args->{'abbreviation'} eq "SCALAR"
78 0 12 unless exists $args->{'colour'}
79 0 12 unless do { package Acme::Mitey::Cards::Mite; if (defined $args->{'colour'}) { ref \(my $val = $args->{'colour'}) eq "SCALAR" unless ref \$args->{'colour'} eq "SCALAR"; } }
82 12 0 if (defined $args->{'colour'})
84 0 12 unless ref \$args->{'colour'} eq "SCALAR"
95 0 12 if @unknown
99 0 12 unless $meta->{'BUILD'}
0 12 if not $no_build and @{[] unless $meta->{'BUILD'};}
107 0 0 unless $meta->{'BUILD'}
114 0 0 defined ${^GLOBAL_PHASE} ? :
118 0 0 unless $meta->{'DEMOLISH'}
125 0 0 if $e
138 0 4 *{$_;}{'CODE'} ? :
142 0 4 *{$_;}{'CODE'} ? :
153 0 0 if exists $DOES{$role}
154 0 0 if $role eq "Acme::Mitey::Cards::Suit"
171 152 12 exists $_[0]{'abbreviation'} ? :
0 164 @_ > 1 ? :
173 0 12 unless do { package Acme::Mitey::Cards::Mite; if (defined $default_value) { ref \(my $val = $default_value) eq "SCALAR" unless ref \$default_value eq "SCALAR"; } }
176 12 0 if (defined $default_value)
177 0 12 unless ref \$default_value eq "SCALAR"