blib/lib/WebService/Xero/Invoice.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 3 | 8 | 37.5 |
line | true | false | branch |
---|---|---|---|
54 | 0 | 48 | defined $params{$key} ? : |
69 | 0 | 0 | unless ref($params{'agent'}) =~ /Agent/m |
95 | 0 | 2 | if (ref $data->{'Invoices'} eq 'ARRAY' and scalar @{$data->{'Invoices'};} == 1) { } |
0 | 4 | elsif (ref $data->{'Invoices'} eq 'ARRAY' and scalar @{$data->{'Invoices'};} > 1) { } |