Condition Coverage

blib/lib/RDF/aREF/Encoder.pm
Criterion Covered Total %
condition 23 32 71.8


and 3 conditions

line !l l&&!r l&&r condition
16 6 0 0 &blessed($options{'ns'}) && $options{'ns'}->isa('RDF::NS')
44 10 0 25 @qname and $qname[1] =~ /^[A-Z_a-z\N{U+00C0}-\N{U+00D6}\N{U+00D8}-\N{U+00F6}\N{U+00F8}-\N{U+02FF}\N{U+0370}-\N{U+037D}\N{U+037F}-\N{U+1FFF}\N{U+200C}-\N{U+200D}\N{U+2070}-\N{U+218F}\N{U+2C00}-\N{U+2FEF}\N{U+3001}-\N{U+D7FF}\N{U+F900}-\N{U+FDCF}\N{U+FDF0}-\N{U+FFFD}\N{U+10000}-\N{U+EFFFF}][A-Z_a-z\N{U+00C0}-\N{U+00D6}\N{U+00D8}-\N{U+00F6}\N{U+00F8}-\N{U+02FF}\N{U+0370}-\N{U+037D}\N{U+037F}-\N{U+1FFF}\N{U+200C}-\N{U+200D}\N{U+2070}-\N{U+218F}\N{U+2C00}-\N{U+2FEF}\N{U+3001}-\N{U+D7FF}\N{U+F900}-\N{U+FDCF}\N{U+FDF0}-\N{U+FFFD}\N{U+10000}-\N{U+EFFFF}0-9\-\.\N{U+00B7}\N{U+0300}-\N{U+036F}\N{U+203F}-\N{U+2040}]*$/
86 18 0 2 &reftype($predicate) eq 'HASH' and $predicate->{'type'} eq 'uri'
93 0 1 17 @$predicate == 2 && $predicate->[0] eq 'URI'
144 6 1 3 $datatype and $datatype ne 'http://www.w3.org/2001/XMLSchema#string'
171 1 1 4 $aref->{'_id'} eq $subject and not $self->{'subject_map'}

or 2 conditions

line l !l condition
160 15 0 $self->subject($subject) // (return)
161 15 0 $self->predicate($predicate) // (return)
162 15 0 $self->object($object) // (return)
163 13 2 $aref //= {}

or 3 conditions

line l !l&&r !l&&!r condition
66 1 1 0 $subject->{'type'} eq 'uri' or $subject->{'type'} eq 'bnode'
166 6 1 8 keys %$aref || $self->{'subject_map'}