| line |
true |
false |
branch |
|
17
|
2 |
0 |
unless $_[0]->size |
|
42
|
7 |
38 |
if (defined $labels) |
|
43
|
0 |
7 |
unless ref $labels eq 'ARRAY' and defined $descriptions and ref $descriptions eq 'ARRAY' and defined $uris and ref $uris eq 'ARRAY' |
|
49
|
1 |
6 |
unless @{$descriptions;} == $l and @{$uris;} == $l |
|
67
|
28 |
0 |
defined $label ? : |
|
68
|
12 |
16 |
defined $description ? : |
|
69
|
12 |
16 |
defined $uri ? : |
|
70
|
10 |
18 |
if ($uri ne '') |
|
71
|
1 |
9 |
unless $uri =~ /^[a-z][a-z0-9.+\-]*:/i |
|
75
|
1 |
2 |
unless $label ne '' or $description ne '' or $uri ne '' |
|
93
|
4 |
15 |
unless defined $index and $index >= 0 and $index < $self->size |
|
105
|
46 |
26 |
if (scalar @_) |
|
107
|
35 |
11 |
unless UNIVERSAL::isa($query, 'SeeAlso::Identifier') |
|
160
|
0 |
2 |
unless ref $json eq 'ARRAY' and @{$json;} == 4 |
|
162
|
1 |
1 |
if (ref $self) { } |
|
199
|
0 |
0 |
if (is_uri($url)) { } |
|
200
|
0 |
0 |
unless $label eq '' and $description eq '' |
|
201
|
0 |
0 |
unless $description eq '' |
|
210
|
0 |
0 |
unless $description eq '' and $url eq '' |
|
211
|
0 |
0 |
unless $url eq '' |
|
223
|
1 |
5 |
unless is_uri($subject->as_string) |
|
228
|
1 |
10 |
unless is_uri($predicate) |
|
230
|
8 |
2 |
if ($object) { } |
|
231
|
0 |
8 |
unless is_uri($object) |
|
237
|
3 |
7 |
if ($$values{$predicate}) { } |
|
278
|
0 |
6 |
unless $self->size |
|
281
|
1 |
5 |
unless $subject and %$values |
|
286
|
0 |
7 |
if ($predicate eq 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type') { } |
|
|
0 |
7 |
elsif ($predicate eq 'http://www.w3.org/2002/07/owl#sameAs') { } |
|
295
|
8 |
2 |
if ($$object{'type'} eq 'uri') { } |
|
301
|
3 |
4 |
if (@objects > 1) { } |
|
309
|
2 |
3 |
if (@lines > 1) { } |
|
320
|
0 |
0 |
unless $url |
|
321
|
0 |
0 |
unless $url |
|
353
|
0 |
28 |
if $callback and not $callback =~ /^[a-z][a-z0-9._\[\]]*$/i |
|
357
|
28 |
0 |
unless $JSON |
|
361
|
5 |
23 |
$callback ? : |