Branch Coverage

blib/lib/Attean/Algebra.pm
Criterion Covered Total %
branch 64 130 49.2


line true false branch
43 0 9 $self->subquery ? :
46 9 0 unless $dataset{'default'}
47 9 0 unless $dataset{'named'}
51 0 9 if ($has_dataset)
53 0 0 if (scalar @default)
56 0 0 if (scalar @named)
73 4 4 unless $dataset{'default'}
74 4 4 unless $dataset{'named'}
76 7 1 if ($child->does('Attean::API::SPARQLQuerySerializable')) { }
77 0 7 if ($self->subquery) { }
85 4 3 if ($has_dataset)
96 0 1 if ($self->subquery)
100 0 1 if ($has_dataset)
115 0 1 if ($self->subquery)
237 2 2 if ($expr->isa("Attean::ValueExpression"))
239 2 0 if ($value->equals("Attean::Literal"->true))
244 2 2 unless ($is_true)
347 2 4 if ($graph->does('Attean::API::Variable')) { }
507 0 0 if $self->limit >= 0
508 0 0 if $self->offset > 0
559 1 0 if ($self->ascending) { }
574 0 2 if ($self->ascending) { }
712 0 3 if ($self->silent)
786 3 6 if ($op eq "RANK")
787 0 3 if (scalar @{$self->aggregates;} > 1)
803 4 0 if ($e->isa("Attean::ValueExpression"))
805 4 0 if ($value->does("Attean::API::Variable"))
822 0 6 $a->distinct ? :
942 8 2 if (scalar @tokens > 1) { }
1050 2 0 if (scalar @tokens > 1)
1091 2 0 if (scalar @tokens > 1)
1132 2 0 if (scalar @tokens > 1)
1289 0 0 if ($self->silent)
1294 0 0 if ($self->has_graph)
1324 0 0 if ($self->target eq "GRAPH")
1325 0 0 unless (&blessed(scalar $self->graph))
1335 0 0 $self->drop ? :
1342 0 0 $self->drop ? :
1343 0 0 if ($self->silent)
1347 0 0 if ($self->target =~ /^(DEFAULT|NAMED|ALL)$/u) { }
1383 0 0 if ($self->silent)
1417 0 3 $self->drop_destination ? :
0 3 $self->drop_source && $self->drop_destination ? :
1424 0 0 $self->drop_destination ? :
0 0 $self->drop_source && $self->drop_destination ? :
1426 0 0 if ($self->silent)
1430 0 0 if ($self->has_source) { }
1439 0 0 if ($self->has_destination) { }
1479 2 6 if ($i and not $d) { }
6 0 elsif ($d and not $i) { }
1481 1 1 $ig && !$w ? :
1484 1 5 $dg && !$w ? :
1520 1 0 if ($ic)
1521 0 1 $dc ? :
1524 0 1 if ($dc)
1525 0 0 $ic ? :
1556 3 4 unless $dataset->{'default'}
1557 5 2 unless $dataset->{'named'}
1558 4 3 if (scalar @default or scalar @named)
1568 2 5 if ($op eq 'ID' or $op eq 'DD') { }
5 0 elsif ($op eq 'I' or $op eq 'D') { }
1569 1 1 $op eq 'ID' ? :
1570 1 1 $op eq 'ID' ? :
1580 0 5 $op eq 'I' ? :
1581 0 5 $op eq 'I' ? :