| blib/lib/Net/IP/Identifier_Role.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 6 | 24 | 25.0 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 3 | 0 | if (@_ > 1) |
| 35 | 0 | 6 | if (ref $cidr) { } |
| 37 | 0 | 0 | if (ref $ip eq 'Net::IP') |
| 43 | 1 | 2 | if (defined $new[$ii + 1] and not ref $new[$ii + 1] and $new[$ii + 1] eq '-' and defined $new[$ii + 2]) |
| 52 | 6 | 0 | if $ip |
| 57 | 0 | 3 | wantarray ? : |
| 65 | 0 | 0 | wantarray ? : |
| 72 | 0 | 0 | unless ref $ip |
| 76 | 0 | 0 | if $net->version ne $ip->version |
| 78 | 0 | 0 | if ($overlap == $Net::IP::Identifier_Role::IP_IDENTICAL or $overlap == $Net::IP::Identifier_Role::IP_A_IN_B_OVERLAP) |
| 80 | 0 | 0 | if $self->cidr_id |
| 90 | 0 | 0 | if (@_ > 1) |