Branch Coverage

blib/lib/JSON/Conditional.pm
Criterion Covered Total %
branch 6 14 42.8


line true false branch
12 0 1 if ($_[2])
19 0 0 unless open my $file, '>', $_[2]
26 0 15 if (not $_[1] =~ /\n/ and -f $_[1])
33 0 0 unless open my $file, '<', $_[1]
41 15 0 unless ref $json
43 0 15 unless ref $params
45 14 1 $return_struct ? :