Condition Coverage

blib/lib/RDF/Query.pm
Criterion Covered Total %
condition 39 76 51.3


and 2 conditions

line l !l condition
1022 13 87 ref $sources and &reftype($sources) eq 'ARRAY' and scalar @$sources

and 3 conditions

line !l l&&!r l&&r condition
203 43 121 43 @_ and ref $_[0]
243 207 0 0 ref $query and $query->isa('RDF::Query::Algebra')
367 0 0 0 $delegate and not &blessed($delegate)
464 138 0 0 $self->{'options'}{'allow_passthrough'} and $model->supports($lang_iri)
573 0 0 0 not &blessed($_[0]) and &reftype($_[0]) eq 'ARRAY'
611 1 147 0 scalar @bkeys == 0 and $model->supports($delegate_key)
760 2 428 0 scalar @triples == 1 and $triples[0]->isa('RDF::Query::Algebra::GroupGraphPattern') || $triples[0]->isa('RDF::Query::Algebra::Filter') || $triples[0]->isa('RDF::Query::Algebra::Sort') || $triples[0]->isa('RDF::Query::Algebra::Limit') || $triples[0]->isa('RDF::Query::Algebra::Offset') || $triples[0]->isa('RDF::Query::Algebra::Distinct') || $triples[0]->isa('RDF::Query::Algebra::Project') || $triples[0]->isa('RDF::Query::Algebra::Construct') || $triples[0]->isa('RDF::Query::Algebra::Load') || $triples[0]->isa('RDF::Query::Algebra::Clear') || $triples[0]->isa('RDF::Query::Algebra::Create') || $triples[0]->isa('RDF::Query::Algebra::Update')
1022 13 0 87 ref $sources and &reftype($sources) eq 'ARRAY'
1026 7 0 16 2 == @{$source;} && $source->[1] eq 'NAMED'
1145 0 0 360 &blessed($uri) and $uri->isa('RDF::Query::Node::Resource')
1150 360 0 0 &blessed($uri) and $uri->isa('RDF::Query::Node::Resource')

or 2 conditions

line l !l condition
407 0 158 $self->{'optimistic_threshold_time'} || 0
443 136 2 $model || ''
509 0 157 $parsed->{'options'} || {}
803 33 0 $self->parsed || {}
1234 5 404 $self->{'computed_statement_generators'}{$pred} || []
1236 0 0 $self->{'computed_statement_generators'} || {}
1296 0 202 $self->{'hooks'}{$uri} || $RDF::Query::hooks{$uri} || []

or 3 conditions

line l !l&&r !l&&!r condition
206 0 0 43 $options{'base_uri'} || $options{'base'}
239 7 0 51 $names{$lang} || $uris{$languri} || $names{$DEFAULT_PARSER}
376 0 158 0 $self->{'model'} || $self->get_model($_model, %args)
607 148 0 0 not exists $self->{'options'}{'rdf.query.plan.delegate'} or $self->{'options'}{'rdf.query.plan.delegate'}
760 0 22 1 $triples[0]->isa('RDF::Query::Algebra::GroupGraphPattern') || $triples[0]->isa('RDF::Query::Algebra::Filter') || $triples[0]->isa('RDF::Query::Algebra::Sort') || $triples[0]->isa('RDF::Query::Algebra::Limit') || $triples[0]->isa('RDF::Query::Algebra::Offset') || $triples[0]->isa('RDF::Query::Algebra::Distinct') || $triples[0]->isa('RDF::Query::Algebra::Project') || $triples[0]->isa('RDF::Query::Algebra::Construct') || $triples[0]->isa('RDF::Query::Algebra::Load') || $triples[0]->isa('RDF::Query::Algebra::Clear') || $triples[0]->isa('RDF::Query::Algebra::Create') || $triples[0]->isa('RDF::Query::Algebra::Update')
856 31 2 0 $methoddata or $ns
932 0 2 0 $self->{'dateparser'} ||= 'DateTime::Format::W3CDTF'->new
1156 4 0 257 $self->{'functions'}{$uri} || $RDF::Query::functions{$uri}
1358 315 18 0 shift() || $self->parsed