Branch Coverage

blib/lib/JSON/Builder.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
204 0 2 if ($@)
249 0 10 if (ref $d eq 'ARRAY') { }
2 8 elsif (ref $d eq 'HASH') { }
6 2 elsif (ref $d eq 'GLOB') { }
2 0 elsif (not ref $d) { }
254 0 0 if --$i
264 6 2 if --$i
312 0 4 if ($@)
317 2 2 if ($$self{'first'}) { }
361 0 4 if ($@)
367 0 4 if ($@)
372 2 2 if ($$self{'first'}) { }
413 0 13 unless $status == Z_OK()
415 1 12 if ($output)
418 0 1 if ($l) { }
433 0 1 unless $status == Z_OK()
435 1 0 if ($output)