Condition Coverage

blib/lib/RDF/Query/Plan.pm
Criterion Covered Total %
condition 48 88 54.5


and 2 conditions

line l !l condition
838 773 0 $constant and scalar @$constant
862 4 406 &blessed($query) and $pred->isa('RDF::Trine::Node::Resource') and scalar @{$query->get_computed_statement_generators($st->predicate->uri_value);}

and 3 conditions

line !l l&&!r l&&r condition
426 0 0 773 &blessed($algebra) and $algebra->isa('RDF::Query::Algebra')
440 2 7 0 scalar @ops == 1 and $ops[0][0] eq 'COUNT(*)'
444 0 0 0 scalar @bgp == 1 and $bgp[0]->isa('RDF::Query::Algebra::BasicGraphPattern')
573 0 0 0 scalar @input and $input[0]->isa('RDF::Query::Algebra::Service')
0 0 0 scalar @input and $input[0]->isa('RDF::Query::Algebra::Service') and $a->endpoint->value eq $input[0]->endpoint->value
724 1 0 0 &blessed($ag) and $ag->isa('RDF::Query::Node::Variable')
805 7 0 1 $dcount == 1 and $ncount == 0
0 0 7 $dcount == 0 and $ncount == 0
862 0 4 406 &blessed($query) and $pred->isa('RDF::Trine::Node::Resource')
903 0 0 28 ref $_ and &reftype($_) eq 'ARRAY'
908 14 14 0 $join_type eq 'RDF::Query::Plan::Join::PushDownNestedLoop' and $b->subplans_of_type('RDF::Query::Plan::Service')
1208 4 0 0 $op eq '^' and scalar @$path == 2
4 0 0 $op eq '^' and scalar @$path == 2 and &blessed($path->[1])
4 0 0 $op =~ /^\d+$/ and $op == 1
1291 55 0 0 $block and $self->isa($block)
1298 6 175 11 &blessed($p) and $p->isa('RDF::Query::Plan')

or 2 conditions

line l !l condition
147 0 0 $self->[0]{'logging_keys'} || {}
194 45 143 shift() || {}
195 45 143 shift() || ''
257 630 0 shift() || {}
264 149 481 $context->{'namespaces'} || {}
420 768 5 $context->options || {}
796 2 6 $algebra->dataset || {}
797 1 7 $ds->{'default'} || []
798 0 8 $ds->{'named'} || {}
877 27 0 $context->options || {}
957 3 0 $context->options || {}
1030 47 0 $context->options || {}

or 3 conditions

line l !l&&r !l&&!r condition
417 0 773 0 ref $self || $self
423 136 637 0 $args{'active_graph'} || 'RDF::Trine::Node::Nil'->new
479 12 582 179 $algebra->isa('RDF::Query::Algebra::Sort') or not $algebra->is_solution_modifier
487 25 108 15 $type eq 'Triple' or $type eq 'Quad'