Branch Coverage

blib/lib/JSON/Builder.pm
Criterion Covered Total %
branch 28 40 70.0


line true false branch
222 0 3 if ($@)
267 0 21 if (ref $d eq 'ARRAY') { }
3 18 elsif (ref $d eq 'HASH') { }
15 3 elsif (ref $d eq 'GLOB') { }
3 0 elsif (not ref $d) { }
272 0 0 if --$i
282 15 3 if --$i
331 0 6 if ($@)
336 3 3 if ($$self{'first'}) { }
349 3 3 if ($$self{'first'})
387 0 6 if ($@)
393 0 6 if ($@)
398 3 3 if ($$self{'first'}) { }
411 3 3 if ($$self{'first'})
448 19 19 if $$self{'fh_plain'}
451 0 38 unless $status == Z_OK()
453 2 36 if ($output)
457 0 2 if ($l) { }
472 0 2 unless $status == Z_OK()
474 2 0 if ($output)