blib/lib/RDF/SN.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
14 | 1 | 21 | unless (&blessed($ns)) |
15 | 1 | 0 | $ns ? : |
22 | 1250 | 1464 | if (not $has or length $has > length $prefix or length $has == length $prefix and $has ge $prefix) |
35 | 16 | 5 | if ($self->{$uri}) |
36 | 3 | 13 | wantarray ? : |
45 | 3 | 2 | if ($uri =~ /$r_PN_LOCAL$/) |
48 | 3 | 0 | if ($self->{$ns}) |
49 | 1 | 2 | wantarray ? : |
57 | 1 | 1 | if (wantarray) { } |