Condition Coverage

blib/lib/RDF/Trine/Store/DBI.pm
Criterion Covered Total %
condition 25 58 43.1


and 3 conditions

line !l l&&!r l&&r condition
132 1 0 1 &blessed($_[0]) and $_[0]->isa('DBI::db')
1 0 0 &blessed($_[0]) and $_[0]->isa('DBIx::Connector')
200 0 0 0 &blessed($obj) and $obj->isa('DBI::db')
284 57 2 4 &blessed($g) and not $g->is_variable
304 75 4 2 &blessed($context) and $context->is_variable
641 123 2 24 &blessed($g) and not $g->is_variable
899 310 0 21 $from_clause and $from_clause =~ /[^(]$/
310 0 21 $from_clause and $from_clause =~ /[^(]$/ and not $f =~ /^([)]|LEFT JOIN)/
991 0 0 0 $func eq 'sparql:isliteral' and &blessed($args[0])
0 0 0 $func eq 'sparql:isliteral' and &blessed($args[0]) and $args[0]->isa('RDF::Trine::Node::Variable')
0 0 0 $func =~ qr/^sparql:is[iu]ri$/ and &blessed($args[0])
0 0 0 $func =~ qr/^sparql:is[iu]ri$/ and &blessed($args[0]) and $args[0]->isa('RDF::Trine::Node::Variable')
0 0 0 $func =~ qr/^sparql:isblank$/ and &blessed($args[0])
0 0 0 $func =~ qr/^sparql:isblank$/ and &blessed($args[0]) and $args[0]->isa('RDF::Trine::Node::Variable')
1043 0 0 0 $e->isa('RDF::Query::Expression::Function') and $e->uri->uri_value eq 'sparql:logical-or'
1064 0 0 0 $sorted[1]->isa('RDF::Trine::Node') and not $sorted[1]->isa('RDF::Trine::Node::Variable')

or 2 conditions

line l !l condition
130 9 2 shift() || 'model'
888 310 0 $context->{'from_tables'} || []
889 177 133 $context->{'where_clauses'} || []
1258 28 51 $node->literal_value_language || ''
1259 18 61 $node->literal_datatype || ''