Branch Coverage

blib/lib/RDF/Trine/Store/LanguagePreference.pm
Criterion Covered Total %
branch 19 30 63.3


line true false branch
160 0 0 if ($q == 0) { }
181 1 3 if (scalar @_ >= 4)
183 0 0 if (&blessed($g) and not $g->is_variable and not $g->is_nil)
194 13 3 if (not &blessed($nodes[$i]) or $nodes[$i]->is_variable)
236 440 44 if (exists $cache->{$lang}) { }
241 3 30 if ($lang =~ /^$l/)
247 3 41 if (scalar @{[keys %q];}) { }
269 44 440 $lang =~ /^en/ ? :
299 484 0 if ($object->isa('RDF::Trine::Node::Literal') and $object->has_language)
320 44 1 if ($object->isa('RDF::Trine::Node::Literal') and $object->has_language) { }
324 292 148 $availableValues{$a} > $availableValues{$b} ? :
359 0 2 if exists $methods{$name}
360 2 0 if (ref $proto) { }
370 0 0 if $AUTOLOAD =~ /:DESTROY$/
373 0 0 unless ($store->can($name))