Condition Coverage

blib/lib/RDF/Trine/Store/LanguagePreference.pm
Criterion Covered Total %
condition 8 17 47.0


and 3 conditions

line !l l&&!r l&&r condition
183 1 0 0 &blessed($g) and not $g->is_variable
1 0 0 &blessed($g) and not $g->is_variable and not $g->is_nil
299 0 0 484 $object->isa('RDF::Trine::Node::Literal') and $object->has_language
320 1 0 44 $object->isa('RDF::Trine::Node::Literal') and $object->has_language

or 2 conditions

line l !l condition
235 484 0 shift() || {}

or 3 conditions

line l !l&&r !l&&!r condition
194 13 0 3 not &blessed($nodes[$i]) or $nodes[$i]->is_variable