Branch Coverage

blib/lib/RDF/Trine/Graph.pm
Criterion Covered Total %
branch 40 50 80.0


line true false branch
95 2 31 unless (&blessed($_[0]))
100 2 29 if ($_[0]->isa('RDF::Trine::Iterator::Graph')) { }
28 1 elsif ($_[0]->isa('RDF::Trine::Model')) { }
127 5 4 $self->_check_equality($graph) ? :
133 2 9 unless (&blessed($graph) and $graph->isa('RDF::Trine::Graph'))
141 1 8 if (scalar @$nba != scalar @$nbb)
149 1 7 if ($bac != $bbc)
159 1 5 unless ($nba->[$i] eq $nbb->[$i])
179 9 4 $self->_check_subgraph($graph) ? :
196 0 0 if $map
203 2 13 unless (&blessed($graph) and $graph->isa('RDF::Trine::Graph'))
211 0 13 if (scalar @$nba > scalar @$nbb) { }
0 13 elsif (scalar @$ba > scalar @$bb) { }
222 1 10 unless ($NBB{$st->as_string})
233 2 16 if (scalar @$ba == 0)
260 0 28 if $debug
267 49 68 if ($n->isa('RDF::Trine::Node::Blank')) { }
269 0 49 if $debug
277 0 39 if $debug
278 23 16 if ($bb{$mapped_st}) { }
284 0 12 if $debug
304 75 60 if ($st->has_blanks) { }
331 46 0 if ref $proto
341 0 1 if ref $proto
347 30 52 if $AUTOLOAD =~ /::DESTROY$/