| blib/lib/Business/CyberSource/RequestPart/Card.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 24 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 33 | 0 | 10 | if $ct =~ /not a credit card/imsx |
| 61 | 6 | 9 | if ($cmp == -1) { } |
| 3 | 6 | elsif ($cmp == 0) { } | |
| 6 | 0 | elsif ($cmp == 1) { } | |
| 76 | 0 | 0 | $self->type =~ /american\ express/imsx ? : |
| 0 | 0 | $self->type =~ /laser /imsx ? : | |
| 0 | 0 | $self->type =~ /enroute /imsx ? : | |
| 0 | 0 | $self->type =~ /jcb /imsx ? : | |
| 2 | 0 | $self->type =~ /discover /imsx ? : | |
| 2 | 2 | $self->type =~ /mastercard /imsx ? : | |
| 5 | 4 | $self->type =~ /visa /imsx ? : | |
| 88 | 0 | 9 | unless $code |