line |
true |
false |
branch |
127
|
1 |
24 |
if $r->is_reserved($local_part)
|
141
|
1 |
6 |
if $r->is_reserved($_[1])
|
179
|
4 |
0 |
if ($abbr =~ /^([^:]*):(.*)$/) { }
|
185
|
0 |
4 |
unless &blessed($ns)
|
186
|
3 |
1 |
if ($local ne '') { }
|
203
|
4 |
4 |
if (ref $uri)
|
204
|
4 |
0 |
if (&blessed($uri)) { }
|
205
|
2 |
2 |
if ($uri->isa('URI::Namespace')) { }
|
|
0 |
2 |
elsif ($uri->isa('IRI')) { }
|
|
2 |
0 |
elsif ($uri->isa('URI')) { }
|
|
0 |
0 |
elsif ($uri->isa('RDF::Trine::Node')) { }
|
|
0 |
0 |
elsif ($uri->isa('RDF::Trine::Namespace')) { }
|
252
|
5 |
4 |
if length $nsuri > length $uri
|
256
|
2 |
2 |
if $cns eq $nsuri
|
260
|
1 |
2 |
unless @candidates
|
266
|
0 |
2 |
wantarray ? :
|
287
|
1 |
2 |
unless defined $prefix
|
299
|
17 |
5 |
unless $ns
|
300
|
2 |
3 |
if $arg
|
311
|
0 |
0 |
unless $rnscu or $xmlns or $rdfns or $rdfpr
|
316
|
8 |
9 |
if ($entry =~ /^[a-z]\w+$/i) { }
|
318
|
0 |
0 |
unless $rnscu or $xmlns or $rdfns
|
323
|
0 |
0 |
if $i > 5
|
327
|
8 |
0 |
if ($rnscu)
|
331
|
0 |
8 |
if (not $namespaces{$prefix} and $xmlns)
|
338
|
0 |
8 |
if (not $namespaces{$prefix} and $rdfns)
|
342
|
0 |
8 |
unless $namespaces{$prefix}
|
345
|
0 |
0 |
unless $rnscu or $rdfns or $rdfpr
|
347
|
9 |
0 |
if ($rnscu)
|
351
|
4 |
5 |
if (not $prefix and $rdfns)
|
355
|
3 |
6 |
if (not $prefix and $rdfpr)
|
359
|
9 |
0 |
if ($prefix) { }
|
365
|
0 |
2 |
if $i > 5
|