Branch Coverage

blib/lib/RDF/Trine/Iterator/SAXHandler.pm
Criterion Covered Total %
branch 34 50 68.0


line true false branch
77 0 3 if (@_)
97 1 2 if (exists $booleans{$addr}) { }
141 1 2 if (exists $booleans{$addr}) { }
159 0 0 if (exists $booleans{$addr}) { }
178 0 0 if (exists $booleans{$addr}) { }
179 0 0 if (exists $booleans{$addr})
183 0 0 unless $results{$addr}
0 0 if (scalar @{[] unless $results{$addr};})
204 11 28 if ($expecting_string{$tag})
222 3 36 if ($tag eq 'head') { }
3 33 elsif ($tag eq 'sparql') { }
5 28 elsif ($tag eq 'variable') { }
1 27 elsif ($tag eq 'boolean') { }
10 17 elsif ($tag eq 'binding') { }
4 13 elsif ($tag eq 'result') { }
1 12 elsif ($tag eq 'bnode') { }
3 9 elsif ($tag eq 'uri') { }
6 3 elsif ($tag eq 'literal') { }
224 0 3 if (my $code = $result_handlers{$addr})
225 0 0 if ($config{$addr}{'variables'})
234 1 0 $string eq 'true' ? :
244 0 4 if (my $code = $result_handlers{$addr}) { }
255 1 5 if (my $dtinf = $el->{'Attributes'}{'{}datatype'}) { }
1 4 elsif (my $langinf = $el->{'Attributes'}{'{http://www.w3.org/XML/1998/namespace}lang'}) { }
274 11 38 if ($expecting_string{$tag})