Condition Coverage

blib/lib/RDF/Trine/Pattern.pm
Criterion Covered Total %
condition 5 15 33.3


and 3 conditions

line !l l&&!r l&&r condition
51 1 1 1036 &blessed($t) and $t->isa('RDF::Trine::Statement')
182 0 0 12 &blessed($pattern) and $pattern->isa('RDF::Trine::Pattern')
258 51 0 0 do { $o->isa('RDF::Trine::Node::Literal') } && do { ++$structure_counts{$name}{'literal_count'} }

or 3 conditions

line l !l&&r !l&&!r condition
305 0 0 0 $RDF::Trine::Pattern::b->{'common_variable_count'} <=> $RDF::Trine::Pattern::a->{'common_variable_count'} or $RDF::Trine::Pattern::b->{'literal_count'} <=> $RDF::Trine::Pattern::a->{'literal_count'}
0 0 0 $RDF::Trine::Pattern::b->{'common_variable_count'} <=> $RDF::Trine::Pattern::a->{'common_variable_count'} or $RDF::Trine::Pattern::b->{'literal_count'} <=> $RDF::Trine::Pattern::a->{'literal_count'} or $RDF::Trine::Pattern::b->{'not_variable_count'} <=> $RDF::Trine::Pattern::a->{'not_variable_count'}