Branch Coverage

blib/lib/AtteanX/Parser/SPARQLJSON.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
81 0 2 if (defined(my $bool = $data->{'boolean'})) { }
2 0 elsif (my $binds = $res->{'bindings'}) { }
82 0 0 $bool ? :
88 9 1 if (defined(my $value = $b->{$v}))
106 3 6 if ($type eq 'uri') { }
2 4 elsif ($type eq 'bnode') { }
4 0 elsif ($type eq 'literal') { }
0 0 elsif ($type eq 'typed-literal') { }
0 0 elsif ($type eq 'triple') { }
114 2 2 if (my $lang = $value->{'xml:lang'}) { }
1 1 elsif (my $dt = $value->{'datatype'}) { }