Branch Coverage

blib/lib/JSON/Builder.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
204 0 2 if ($@)
249 0 14 if (ref $d eq 'ARRAY') { }
2 12 elsif (ref $d eq 'HASH') { }
10 2 elsif (ref $d eq 'GLOB') { }
2 0 elsif (not ref $d) { }
254 0 0 if --$i
264 10 2 if --$i
312 0 4 if ($@)
317 2 2 if ($$self{'first'}) { }
330 2 2 if ($$self{'first'})
367 0 4 if ($@)
373 0 4 if ($@)
378 2 2 if ($$self{'first'}) { }
391 2 2 if ($$self{'first'})
425 0 19 unless $status == Z_OK()
427 1 18 if ($output)
430 0 1 if ($l) { }
445 0 1 unless $status == Z_OK()
447 1 0 if ($output)