Condition Coverage

blib/lib/Attean/QueryPlanner.pm
Criterion Covered Total %
condition 8 38 21.0


and 3 conditions

line !l l&&!r l&&r condition
213 3 0 3 $expr->isa("Attean::ValueExpression") and $expr->value->does("Attean::API::Variable")
235 0 0 3 scalar @cmps == 1 and $cmps[0]->expression->isa("Attean::ValueExpression")
0 0 3 scalar @cmps == 1 and $cmps[0]->expression->isa("Attean::ValueExpression") and $cmps[0]->expression->value->does("Attean::API::Variable")
448 0 0 0 $s_var and not $o_var
516 0 0 0 $target eq "DEFAULT" and $default{$graph->value}
0 0 0 $target eq "NAMED" and not $default{$graph->value}
549 0 0 0 $default_dest and $default_source

or 2 conditions

line l !l condition
590 0 0 scalar @default or scalar @named

or 3 conditions

line l !l&&r !l&&!r condition
128 8 0 124 $algebra->isa("Attean::Algebra::Query") or $algebra->isa("Attean::Algebra::Update")
6 0 38 $algebra->isa("Attean::Algebra::Distinct") or $algebra->isa("Attean::Algebra::Reduced")
410 0 0 0 $path->isa("Attean::Algebra::ZeroOrMorePath") or $path->isa("Attean::Algebra::OneOrMorePath")
549 0 0 0 $default_dest or $default_source
666 0 0 0 $_->isa('Attean::Algebra::BGP') || $_->isa('Attean::TriplePattern')