line |
true |
false |
branch |
20
|
8 |
0 |
ref $proto ? :
|
50
|
8 |
0 |
ref $proto ? :
|
61
|
0 |
20 |
if $st->subject->is_literal
|
62
|
13 |
7 |
$st->subject->is_resource ? :
|
73
|
2 |
9 |
if defined $id
|
80
|
2 |
9 |
if defined $opts{'notes'}
|
83
|
0 |
8 |
if (defined $self->{'version'} and $self->{'version'} == 1.1 and $self->{'prefix_attr'}) { }
|
86
|
0 |
0 |
if (defined $self->{'namespacemap'}->rdfa)
|
98
|
8 |
0 |
if wantarray
|
108
|
4 |
9 |
if (defined $prefix and $prefix =~ /^[A-Za-z][A-Za-z0-9\_\:\.\-]*$/)
|
122
|
7 |
4 |
$subject->is_resource ? :
|
123
|
7 |
4 |
$subject->is_resource ? :
|
133
|
0 |
0 |
unless $a->predicate->abs cmp $b->predicate->abs
|
137
|
7 |
13 |
if $_->predicate->abs eq 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'
|
142
|
4 |
7 |
unless @statements
|
166
|
0 |
6 |
unless $a->predicate->abs cmp $b->predicate->abs
|
170
|
7 |
13 |
unless $_->predicate->abs ne 'http://www.w3.org/1999/02/22-rdf-syntax-ns#type'
|
175
|
4 |
7 |
unless @statements
|
182
|
13 |
0 |
unless (defined $current_property and $st->predicate->abs eq $current_property)
|
192
|
0 |
13 |
if ($st->object->is_resource and $st->object->abs =~ /^javascript:/i) { }
|
|
0 |
13 |
elsif ($st->object->is_resource) { }
|
|
3 |
10 |
elsif ($st->object->is_blank) { }
|
|
0 |
10 |
elsif ($self->{'safe_xml_literals'} and $st->object->is_literal and $st->object->datatype->value eq 'http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral') { }
|
|
0 |
10 |
elsif ($st->object->is_literal and $st->object->datatype->value eq 'http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral') { }
|
|
10 |
0 |
elsif ($st->object->is_literal) { }
|
241
|
3 |
7 |
if ($st->object->has_language)
|
248
|
1 |
12 |
if ($interlink and not $st->object->is_literal)
|
250
|
1 |
0 |
if ($model->count_quads($st->object, undef, undef, undef))
|
254
|
0 |
1 |
$st->object->is_resource ? :
|
256
|
0 |
1 |
$st->object->is_resource ? :
|
262
|
2 |
5 |
if ($interlink)
|
265
|
1 |
1 |
if ($iter->peek)
|
274
|
1 |
0 |
$sast->subject->is_resource ? :
|
292
|
1 |
0 |
$curie eq $pkeys[-1] ? :
|
296
|
1 |
0 |
!($sas =~ /^_:/) ? :
|
300
|
1 |
0 |
$sas eq $keys[-1] ? :
|
316
|
1 |
1 |
if $note->is_relevant_to($subject)
|
320
|
1 |
1 |
if (@relevant)
|
340
|
0 |
7 |
if ($type eq 'urn:x-rdf-rdfa-linter:internals:OpenGraphProtocolNode')
|