Condition Coverage

blib/lib/Attean/API/Term.pm
Criterion Covered Total %
condition 11 33 33.3


and 3 conditions

line !l l&&!r l&&r condition
172 70 0 16 $self->does("Attean::API::NumericLiteral") and $dt->value eq "http://www.w3.org/2001/XMLSchema#integer"
530 0 0 14 $self->is_integer_type and $rhs->is_integer_type

or 2 conditions

line l !l condition
360 1 0 $1 || ''
378 0 4 $1 || ''
393 0 0 $1 || ''

or 3 conditions

line l !l&&r !l&&!r condition
198 14 0 12 $value eq 'true' || $value eq '1'
207 1 0 0 $b->does("Attean::API::Literal") or $b->does("Attean::API::Binding")
209 0 1 0 ($a->language // '') cmp ($b->language // '') || $a->datatype->value cmp $b->datatype->value || $a->value cmp $b->value
325 0 0 0 $value eq 'true' || $value eq '1'
343 1 0 0 $b->does("Attean::API::Literal") or $b->does("Attean::API::Binding")
429 0 0 0 $value eq 'true' || $value eq '1'
599 0 0 16 $b->does("Attean::API::Literal") or $b->does("Attean::API::Binding")