Branch Coverage

blib/lib/JSON/Syck.pm
Criterion Covered Total %
branch 6 18 33.3


line true false branch
17 0 0 if (YAML::Syck::_is_glob($file)) { }
19 0 0 if ($err)
25 0 0 unless open my $fh, '>', $file
27 0 0 if ($err)
31 0 0 unless close $fh
39 8 2 if (YAML::Syck::_is_glob($file)) { }
45 1 1 if (not -e $file or -z $file)
48 0 1 unless open my $fh, '<', $file
57 0 7 unless ref $bufref