Branch Coverage

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


line true false branch
66 0 4 *{$_;}{'CODE'} ? :
70 0 4 *{$_;}{'CODE'} ? :
86 0 12 ref $_[0] ? :
92 0 12 @_ == 1 ? :
0 12 $meta->{'HAS_BUILDARGS'} ? :
97 0 12 unless exists $args->{'name'}
103 12 0 if (defined $args->{'name'})
105 0 12 unless ref \$args->{'name'} eq "SCALAR"
109 0 12 unless do {
121 0 12 if (exists $args->{'abbreviation'})
122 0 0 unless do {
125 0 0 if (defined $args->{'abbreviation'})
127 0 0 unless ref \$args->{'abbreviation'} eq "SCALAR"
139 0 12 unless exists $args->{'colour'}
140 0 12 unless do {
143 12 0 if (defined $args->{'colour'})
145 0 12 unless ref \$args->{'colour'} eq "SCALAR"
153 0 12 unless $meta->{'BUILD'}
0 12 if not $no_build and @{[] unless $meta->{'BUILD'};}
159 0 12 if @unknown
169 0 0 unless $meta->{'BUILD'}
177 0 0 defined ${^GLOBAL_PHASE} ? :
181 0 0 unless $meta->{'DEMOLISH'}
188 0 0 if $e
199 0 164 unless @_ == 1
202 152 12 exists $_[0]{'abbreviation'} ? :
204 0 12 unless do {
207 12 0 if (defined $default_value)
208 0 12 unless ref \$default_value eq "SCALAR"
255 0 0 if exists $DOES{$role}
256 0 0 if $role eq "Acme::Mitey::Cards::Suit"
257 0 0 if ($INC{'Moose/Util.pm'} and my $meta = Moose::Util::find_meta(ref $self || $self))
260 0 0 if $meta->can("does_role") and $meta->does_role($role)