Branch Coverage

blib/lib/Games/Cards/Pair/Card.pm
Criterion Covered Total %
branch 12 12 100.0


line true false branch
39 7 35 if (defined $args->{'value'} and $args->{'value'} =~ /Joker/i) { }
40 1 6 if defined $args->{'suit'}
43 2 33 unless defined $args->{'suit'}
71 2 5 unless defined $other and ref $other eq 'Games::Cards::Pair::Card'
78 3 1 if defined $self->{'value'} and $self->{'value'} =~ /Joker/i or defined $other->{'value'} and $other->{'value'} =~ /Joker/i or defined $self->{'value'} and (defined $other->{'value'} and lc $self->{'value'} eq lc $other->{'value'})
100 8 2 if defined $self->suit