Branch Coverage

blib/lib/AtteanX/Parser/SPARQLXML/SAXHandler.pm
Criterion Covered Total %
branch 34 48 70.8


line true false branch
66 3 0 if (@_)
89 15 40 if ($expecting_string{$tag})
93 0 55 if ($tag eq "triple")
111 3 52 if ($tag eq 'head') { }
3 49 elsif ($tag eq 'sparql') { }
11 38 elsif ($tag eq 'variable') { }
0 38 elsif ($tag eq 'boolean') { }
15 23 elsif ($tag eq 'binding') { }
5 18 elsif ($tag eq 'result') { }
2 16 elsif ($tag eq 'bnode') { }
7 9 elsif ($tag eq 'uri') { }
6 3 elsif ($tag eq 'literal') { }
0 3 elsif ($tag eq 'subject') { }
0 3 elsif ($tag eq 'predicate') { }
0 3 elsif ($tag eq 'object') { }
0 3 elsif ($tag eq 'triple') { }
113 3 0 if (my $code = $result_handlers{$addr})
114 0 3 if ($config{$addr}{'variables'})
123 0 0 $string eq 'true' ? :
124 0 0 if ($string =~ /^(?:true|false)$/u and my $code = $result_handlers{$addr})
135 5 0 if (my $code = $result_handlers{$addr}) { }
146 3 3 if (my $dtinf = $el->{'Attributes'}{'{}datatype'}) { }
2 1 elsif (my $langinf = $el->{'Attributes'}{'{http://www.w3.org/XML/1998/namespace}lang'}) { }
181 15 61 if ($expecting_string{$tag})