line |
true |
false |
branch |
29
|
5 |
9 |
@_ % 2 ? :
|
31
|
3 |
11 |
if (defined $args{'rdf'})
|
32
|
0 |
3 |
if $rdf
|
37
|
8 |
6 |
if (&blessed($namespaces) and $namespaces->isa('RDF::NS')) { }
|
|
6 |
0 |
elsif (ref $namespaces) { }
|
49
|
1 |
13 |
if $args{'cache'}
|
51
|
4 |
10 |
if (&blessed($rdf))
|
53
|
4 |
0 |
if ($rdf->isa('RDF::Trine::Model')) { }
|
|
0 |
0 |
elsif ($rdf->isa('RDF::Trine::Store')) { }
|
|
0 |
0 |
elsif ($rdf->isa('URI') or $rdf->isa('RDF::Trine::Node::Resource')) { }
|
64
|
0 |
14 |
if ($rdf and $rdf =~ m[^http://])
|
69
|
0 |
14 |
unless $rdf // 1
|
72
|
10 |
4 |
unless ($self->{'model'})
|
83
|
1 |
7 |
if (@_)
|
85
|
0 |
1 |
unless &blessed($c) and $c->can('get') and $c->can('set')
|
98
|
3 |
0 |
if ($self->cache) { }
|
102
|
2 |
1 |
if ($rdf) { }
|
127
|
1 |
11 |
if (@_ == 3 and not $_[1] =~ /^[a-z]+$/)
|
130
|
0 |
1 |
if (grep {not defined $_;} @triple)
|
141
|
0 |
11 |
if (&blessed($rdf)) { }
|
|
0 |
11 |
elsif (ref $rdf) { }
|
142
|
0 |
0 |
if ($rdf->isa('RDF::Trine::Graph'))
|
145
|
0 |
0 |
if ($rdf->isa('RDF::Trine::Iterator::Graph')) { }
|
|
0 |
0 |
elsif ($rdf->isa('RDF::Trine::Statement')) { }
|
|
0 |
0 |
elsif ($rdf->isa('RDF::Trine::Model')) { }
|
159
|
0 |
0 |
if (ref $rdf eq 'HASH') { }
|
230
|
0 |
134 |
unless defined $node
|
232
|
62 |
72 |
if (&blessed($node))
|
233
|
0 |
62 |
if ($node->isa('RDF::Lazy::Node'))
|
238
|
44 |
18 |
if ($node->isa('RDF::Trine::Node::Resource')) { }
|
|
16 |
2 |
elsif ($node->isa('RDF::Trine::Node::Literal')) { }
|
|
2 |
0 |
elsif ($node->isa('RDF::Trine::Node::Blank')) { }
|
252
|
7 |
65 |
if ($node =~ /^<(.*)>$/) { }
|
|
2 |
63 |
elsif ($node =~ qr"^(https?://.*)") { }
|
|
1 |
62 |
elsif ($node =~ /^_:(.*)$/) { }
|
|
0 |
62 |
elsif ($node =~ /^\[\s*\]$/) { }
|
|
3 |
59 |
elsif ($node =~ /^["'+-0-9]|^(true|false)$/) { }
|
|
32 |
27 |
elsif ($node =~ /^([^:]*):([^:]*)$/) { }
|
|
27 |
0 |
elsif ($node =~ /^(([^_:]*)_)?([^_:]+.*)$/) { }
|
270
|
2 |
57 |
unless defined $prefix
|
280
|
5 |
54 |
unless defined $uri
|
290
|
0 |
9 |
unless @_
|
292
|
1 |
8 |
if (@_ == 2)
|
294
|
1 |
0 |
if $self->{'nsprefix'}
|
297
|
2 |
6 |
unless $_[0] =~ /:/
|
300
|
2 |
4 |
unless $self->{'nsprefix'}
|
324
|
0 |
7 |
if not ref $self or $AUTOLOAD =~ /^(.+::)?DESTROY$/
|
349
|
2 |
1 |
if ($s =~ /$r_string1/ or $s =~ /$r_string2/) { }
|
|
0 |
1 |
elsif ($s =~ /$r_double/) { }
|
|
0 |
1 |
elsif ($s =~ /$r_decimal/) { }
|
|
0 |
1 |
elsif ($s =~ /$r_integer/) { }
|
|
1 |
0 |
elsif ($s =~ /$r_boolean/) { }
|
371
|
1 |
36 |
unless &blessed($subject) and $subject->isa('RDF::Lazy::Node')
|
374
|
37 |
0 |
if (defined $property)
|
377
|
32 |
0 |
if defined $property
|
381
|
29 |
3 |
if ($dir eq 'rel') { }
|
|
3 |
0 |
elsif ($dir eq 'rev') { }
|
391
|
4 |
28 |
if @filter
|
393
|
12 |
20 |
$all ? :
|
402
|
37 |
7 |
if (@_) { }
|
405
|
0 |
37 |
if $property and not ref $property and $property =~ s/^(.+[^_])_$/$1/
|
410
|
0 |
7 |
unless &blessed($subject) and $subject->isa('RDF::Lazy::Node')
|
415
|
3 |
4 |
if ($type eq 'rel') { }
|
|
4 |
0 |
elsif ($type eq 'rev') { }
|
421
|
5 |
2 |
$all ? :
|
429
|
1 |
2 |
if ($subject) { }
|
430
|
0 |
1 |
unless &blessed($subject) and $subject->isa('RDF::Lazy::Node')
|