| blib/lib/Webservice/Shipment.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 12 | 58.3 |
| line | true | false | branch |
|---|---|---|---|
| 26 | 0 | 2 | if (&blessed($carrier) and $carrier->isa('Webservice::Shipment::Carrier')) |
| 32 | 0 | 2 | unless eval "require $class; 1" |
| 33 | 0 | 2 | unless $class->isa('Webservice::Shipment::Carrier') |
| 34 | 0 | 2 | unless my $inst = $class->new($conf) |
| 46 | 0 | 2 | unless my $carrier = $self->detect($id) |
| 56 | 4 | 2 | if $carrier->validate($id) |