| blib/lib/Net/Connection/Match/States.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 14 | 85.7 |
| line | true | false | branch |
|---|---|---|---|
| 74 | 1 | 1 | if (defined $_[1]) |
| 79 | 1 | 1 | unless (defined $args{'states'}) |
| 82 | 0 | 1 | if (ref \$args{'states'} eq 'ARRAY') |
| 85 | 0 | 1 | unless (defined $args{'states'}[0]) |
| 123 | 1 | 3 | unless (defined $object) |
| 127 | 1 | 2 | if (ref $object ne 'Net::Connection') |
| 133 | 1 | 1 | if ($self->{'states'}[$states_int] eq lc $object->state) |