Branch Coverage

blib/lib/AtteanX/Model/SPARQLCache.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
31 14 21280 if ($plan->isa('Attean::Plan::Iterator')) { }
0 21280 elsif ($plan->isa('Attean::Plan::Quad')) { }
1845 19435 elsif ($plan->isa('AtteanX::Plan::SPARQLBGP')) { }
19435 0 elsif ($plan->does('Attean::API::Plan::Join')) { }
33 14 0 if $plan->has_size_estimate
41 1845 0 if ($plan->children_are_variable_connected) { }
49 7 19428 unless $countbgps
52 0 19428 if ($self->log->is_trace)
57 9862 9566 if ($plan->isa('Attean::Plan::NestedLoopJoin')) { }
9566 0 elsif ($plan->isa('Attean::Plan::HashJoin')) { }
60 0 9862 if ($lcost == 0) { }
0 9862 elsif ($rcost == 0) { }
67 4863 4999 if $rcost > $lcost
68 296 9566 unless $plan->children_are_variable_connected
74 4783 4783 if $rcost > $lcost
75 0 9566 unless $plan->children_are_variable_connected
77 19428 0 if ($cost)