Branch Coverage

blib/lib/RDF/Query/Algebra.pm
Criterion Covered Total %
branch 32 42 76.1


line true false branch
115 30 3 if (&blessed($arg) and $arg->isa('RDF::Query::Algebra'))
133 1905 248 if (&blessed($arg))
134 33 1872 if ($arg->isa('RDF::Query::Expression::Function')) { }
836 1036 elsif ($arg->isa('RDF::Query::Algebra')) { }
156 122 173 if (&blessed($arg) and $arg->isa('RDF::Query::Algebra'))
168 127 38 if (&blessed($arg) and $arg->isa('RDF::Query::Algebra'))
189 25 75 if (&blessed($arg) and $arg->isa('RDF::Query::Algebra')) { }
34 41 elsif (&blessed($arg) and $arg->isa('RDF::Query::Node::Resource')) { }
193 0 34 if (ref $uri)
217 0 0 if (&blessed($arg) and $arg->isa('RDF::Query::Algebra')) { }
0 0 elsif (&blessed($arg) and $arg->isa('RDF::Trine::Node::Variable') and exists $$bound{$arg->name}) { }
253 1 2676 if $block and $self->isa($block)
256 118 2558 if $self->isa($type)
258 2250 3599 if (&blessed($arg) and $arg->isa('RDF::Query::Algebra')) { }
5 4324 elsif (&blessed($arg) and $arg->isa('RDF::Query')) { }
277 3 1 if (substr($_[0], 0, 1) eq '(') { }
279 3 0 if (my($tag) = /^[(](\w+)/) { }
280 0 3 if ($tag eq 'prefix')
282 0 0 unless $context
294 3 0 if (my $class = {BGP => 'RDF::Query::Algebra::BasicGraphPattern', constant => 'RDF::Query::Algebra::Constant', construct => 'RDF::Query::Algebra::Construct', distinct => 'RDF::Query::Algebra::Distinct', filter => 'RDF::Query::Algebra::Filter', join => 'RDF::Query::Algebra::GroupGraphPattern', leftjoin => 'RDF::Query::Algebra::Optional', limit => 'RDF::Query::Algebra::Limit', namedgraph => 'RDF::Query::Algebra::NamedGraph', offset => 'RDF::Query::Algebra::Offset', project => 'RDF::Query::Algebra::Project', quad => 'RDF::Query::Algebra::Quad', service => 'RDF::Query::Algebra::Service', sort => 'RDF::Query::Algebra::Sort', triple => 'RDF::Query::Algebra::Triple', union => 'RDF::Query::Algebra::Union'}->{$tag}) { }
295 2 1 if ($class->can('_from_sse')) { }