Branch Coverage

blib/lib/RDF/Query/Plan/Update.pm
Criterion Covered Total %
branch 19 42 45.2


line true false branch
66 0 8 if ($self->state == $self->OPEN)
73 0 8 if ($self->dataset)
78 8 0 if ($plan->state == $self->OPEN) { }
97 12 6 &blessed($template) ? :
102 6 134 if ($nodes[$i]->isa('RDF::Trine::Node::Variable')) { }
1 133 elsif ($nodes[$i]->isa('RDF::Trine::Node::Blank')) { }
104 3 3 if ($method eq 'remove_statements') { }
105 3 0 if (exists $row->{$name}) { }
115 1 0 unless (exists $self->[0]{'blank_map'}{$id})
116 0 1 if ($method eq 'remove_statements') { }
128 0 140 unless (&blessed($n))
129 0 0 if ($i == 3) { }
141 35 0 scalar @nodes == 4 ? :
145 3 32 if ($method eq 'remove_statements') { }
167 0 0 unless ($self->state == $self->OPEN)
173 0 0 if (my $d = $self->delegate)
185 0 8 unless ($self->state == $self->OPEN)
307 0 0 if (my $d = $self->delete_template)
312 0 0 if (my $i = $self->insert_template)
317 0 0 if (my $p = $self->pattern)
318 0 0 if ($p->isa('RDF::Query::Plan::Constant') and $p->is_unit) { }