| blib/lib/Net/Flotum/API/Customer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 12 | 83.3 |
| line | true | false | branch |
|---|---|---|---|
| 45 | 4 | 2 | if exists $opts{'id'} and defined $opts{'id'} |
| 47 | 2 | 4 | if exists $opts{'remote_id'} and defined $opts{'remote_id'} |
| 66 | 2 | 3 | if exists $obj->{'customers'} |
| 67 | 1 | 4 | unless $obj->{'id'} |
| 162 | 0 | 1 | unless defined $customer |
| 182 | 1 | 0 | if (%ret) |