Branch Coverage

blib/lib/Attean/TripleModel.pm
Criterion Covered Total %
branch 21 40 52.5


line true false branch
97 0 7 if (&blessed($g) and $g->does('Attean::API::IRI')) { }
98 0 0 if (my $store = $self->stores->{$g->value}) { }
145 83 5 if (not ref $t or &reftype($t) ne "ARRAY")
161 21 1 if (scalar @iters <= 1) { }
174 5 18 if (&blessed($g) and $g->does('Attean::API::IRI')) { }
18 0 elsif (&blessed($g) and $g->does('Attean::API::Variable')) { }
175 5 0 if (my $store = $self->stores->{$g->value})
190 0 0 &blessed($g) && $g->can('as_string') ? :
210 5 0 if (scalar @$active_graphs == 1)
212 5 0 if (my $store = $self->stores->{$graph->value})
213 0 5 if ($store->does("Attean::API::CostPlanner"))
260 0 1 &blessed($graph) ? :
263 0 1 if exists $self->stores->{$iri}
283 0 1 if exists $self->stores->{$iri}
298 1 0 if ($g->does("Attean::API::IRI"))
331 0 14 unless $g->does("Attean::API::IRI")
333 14 0 if (my $store = $self->stores->{$v}) { }
350 1 0 if ($g->does("Attean::API::IRI"))
352 1 0 if (my $store = $self->stores->{$v})
369 2 0 if ($g->does("Attean::API::IRI"))