Condition Coverage

blib/lib/RDF/RDFa/Generator/HTML/Head.pm
Criterion Covered Total %
condition 16 46 34.7


and 3 conditions

line !l l&&!r l&&r condition
22 21 0 0 &blessed($opts{'namespacemap'}) and $opts{'namespacemap'}->isa('URI::NamespaceMap')
113 12 0 0 defined $self->{'version'} and $self->{'version'} == 1.1
12 0 0 defined $self->{'version'} and $self->{'version'} == 1.1 and $self->{'prefix_attr'}
156 12 0 0 defined $self->{'base'} and $st->subject->is_resource
12 0 0 defined $self->{'base'} and $st->subject->is_resource and $st->subject->abs eq $self->{'base'}
177 7 14 0 $attr eq 'rel' and $st->predicate->abs =~ m[^http://www\.w3\.org/1999/xhtml/vocab\#
7 14 0 $attr eq 'rel' and $st->predicate->abs =~ m[^http://www\.w3\.org/1999/xhtml/vocab#(.*)$]
21 0 0 defined $self->{'version'} and $self->{'version'} == 1.1
208 21 0 0 defined $self->{'base'} and $st->subject->is_resource
21 0 0 defined $self->{'base'} and $st->subject->is_resource and $st->subject->abs eq $self->{'base'}
0 0 0 defined $self->{'base'} and $st->subject->is_resource and $st->subject->abs eq $self->{'base'} and $st->object->is_resource
21 0 0 defined $self->{'base'} and $st->object->is_resource
21 0 0 defined $self->{'base'} and $st->object->is_resource and $st->object->abs eq $self->{'base'}

or 2 conditions

line l !l condition
71 0 13 $self->{'version'} || '1.0'
0 13 $self->{'title'} || 'RDFa Document'

or 3 conditions

line l !l&&r !l&&!r condition
141 0 0 0 $self->{'data_context'}->does('Attean::API::BlankOrIRI') or $self->{'data_context'}->isa('RDF::Trine::Node')