Condition Coverage

blib/lib/RDF/LDF.pm
Criterion Covered Total %
condition 28 52 53.8


and 3 conditions

line !l l&&!r l&&r condition
163 0 0 14 _is_array_ref($bgps) and @$bgps > 0
201 0 0 8 _is_array_ref($bgps) and @$bgps > 0
209 0 16 8 defined $val and $binding->{$val}
295 0 0 32 _is_blessed($node) and $node->isa('RDF::Trine::Node')
345 548 42 126 _is_hash_ref($info->{$_}) and $info->{$_}{'hydra_property'}
377 19 0 0 _is_blessed($subject) and $subject->isa('RDF::Trine::Node')
19 0 0 _is_blessed($subject) and $subject->isa('RDF::Trine::Node') and not $subject->is_variable
378 19 0 0 _is_blessed($predicate) and $predicate->isa('RDF::Trine::Node')
19 0 0 _is_blessed($predicate) and $predicate->isa('RDF::Trine::Node') and not $predicate->is_variable
379 19 0 0 _is_blessed($object) and $object->isa('RDF::Trine::Node')
19 0 0 _is_blessed($object) and $object->isa('RDF::Trine::Node') and not $object->is_variable
408 24 4 10 not defined $triple and defined($url = pop @federated)
612 0 0 108 defined $_[0] && !ref($_[0]) && ref \$_[0] ne 'GLOB' && length $_[0] > 0

or 2 conditions

line l !l condition
111 8 6 shift() // {}
250 4 0 $self->_total_triples($pattern) // 0

or 3 conditions

line l !l&&r !l&&!r condition
76 4 0 2 $bgp->isa('RDF::Trine::Statement') || $bgp->isa('RDF::Query::Algebra::Filter')
252 2 0 2 not defined $best_count or $count < $best_count
412 29 2 6 defined $url or defined($url = pop @federated)