Condition Coverage

blib/lib/AtteanX/Store/DBI.pm
Criterion Covered Total %
condition 15 36 41.6


and 3 conditions

line !l l&&!r l&&r condition
301 0 5 2 scalar @$terms == 1 and not defined $terms->[0]
646 18 0 9 $algebra->isa('Attean::Algebra::BGP') and scalar @{$algebra->triples;} > 0
652 0 0 4 $operand->isa('Attean::ValueExpression') and $operand->value->does('Attean::API::Variable')
669 1 0 4 $varexpr->isa('Attean::ValueExpression') and $varexpr->value->does('Attean::API::Variable')
1 0 4 $varexpr->isa('Attean::ValueExpression') and $varexpr->value->does('Attean::API::Variable') and $pat->isa('Attean::ValueExpression')
0 0 4 $varexpr->isa('Attean::ValueExpression') and $varexpr->value->does('Attean::API::Variable') and $pat->isa('Attean::ValueExpression') and $pat->value->does('Attean::API::Literal')

or 2 conditions

line l !l condition
527 20 0 $ENV{'ATTEAN_SHAREDIR'} || eval {
545 0 0 $ENV{'ATTEAN_SHAREDIR'} || eval {
562 0 0 $ENV{'ATTEAN_SHAREDIR'} || eval {

or 3 conditions

line l !l&&r !l&&!r condition
649 5 0 0 $e->operator eq 'STRSTARTS' or $e->operator eq 'CONTAINS'
683 0 0 4 $db eq 'mysql' or $db eq 'postgresql'
0 4 0 $db eq 'mysql' or $db eq 'postgresql' or $db eq 'sqlite'
940 0 21 0 $self->rename_mapping->{$k} // $k