Branch Coverage

blib/lib/Attean/Expression.pm
Criterion Covered Total %
branch 10 30 33.3


line true false branch
70 6 23 if ($str =~ m[^"(true|false)"\^\^<http://www[.]w3[.]org/2001/XMLSchema#boolean>$]u) { }
4 19 elsif ($str =~ m[^"(\d+)"\^\^<http://www[.]w3[.]org/2001/XMLSchema#integer>$]u) { }
80 0 0 if ($self->value->does("Attean::API::Variable"))
93 1 0 if ($self->value->does("Attean::API::Variable"))
131 0 0 unless $c->is_stable
159 0 0 unless $c->is_stable
205 0 0 if $self->operator =~ /^(?:RAND|BNODE|UUID|STRUUID|NOW)$/u
207 0 0 unless $c->is_stable
225 3 0 if (scalar @tokens > 2)
266 0 0 unless $expr->is_stable
282 0 1 if ($self->distinct)
289 1 0 if (scalar @tokens > 2)
294 0 1 if (scalar @keys)
328 0 0 unless $c->is_stable
346 1 0 if (scalar @tokens > 2)