Condition Coverage

blib/lib/RDF/Trine/Node/Resource.pm
Criterion Covered Total %
condition 11 17 64.7


and 3 conditions

line !l l&&!r l&&r condition
252 0 16 1112 &blessed($node) and $node->isa('RDF::Trine::Node::Resource')

or 2 conditions

line l !l condition
139 2 0 $context->{'namespaces'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
277 255 8 0 our $r_PN_CHARS_BASE ||= qr/([A-Z]|[a-z]|[\x{00C0}-\x{00D6}]|[\x{00D8}-\x{00F6}]|[\x{00F8}-\x{02FF}]|[\x{0370}-\x{037D}]|[\x{037F}-\x{1FFF}]|[\x{200C}-\x{200D}]|[\x{2070}-\x{218F}]|[\x{2C00}-\x{2FEF}]|[\x{3001}-\x{D7FF}]|[\x{F900}-\x{FDCF}]|[\x{FDF0}-\x{FFFD}]|[\x{10000}-\x{EFFFF}])/
278 255 8 0 our $r_PN_CHARS_U ||= qr/(_|$r_PN_CHARS_BASE)/
279 255 8 0 our $r_PN_CHARS ||= qr/$r_PN_CHARS_U|-|[0-9]|\x{00B7}|[\x{0300}-\x{036F}]|[\x{203F}-\x{2040}]/
280 255 8 0 our $r_PN_LOCAL ||= qr/(($r_PN_CHARS_U)(($r_PN_CHARS|[.])*$r_PN_CHARS)?)/