blib/lib/Games/Cards/Pair/Card.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 24 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 2 | 33 | 7 | defined $args->{'value'} and $args->{'value'} =~ /Joker/i |
71 | 1 | 1 | 5 | defined $other and ref $other eq 'Games::Cards::Pair::Card' |
78 | 0 | 4 | 1 | defined $self->{'value'} and $self->{'value'} =~ /Joker/i |
0 | 3 | 1 | defined $other->{'value'} and $other->{'value'} =~ /Joker/i | |
0 | 2 | 1 | defined $other->{'value'} and lc $self->{'value'} eq lc $other->{'value'} | |
0 | 2 | 1 | defined $self->{'value'} and (defined $other->{'value'} and lc $self->{'value'} eq lc $other->{'value'}) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
78 | 1 | 1 | 3 | defined $self->{'value'} and $self->{'value'} =~ /Joker/i or defined $other->{'value'} and $other->{'value'} =~ /Joker/i |
1 | 1 | 2 | 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'}) |