blib/lib/YAML/SyckWrapper.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 20 | 60.0 |
line | true | false | branch |
---|---|---|---|
58 | 0 | 5 | unless (eval { do { $res = LoadFile($fh); 1 } }) |
62 | 0 | 5 | if ($err) |
77 | 2 | 3 | unless open my $fh, '<:encoding(UTF-8)', $file_name |
111 | 2 | 2 | unless open my $fh, '<:bytes', $file_name |
142 | 0 | 1 | unless defined $data |
193 | 3 | 5 | if ($type eq 'HASH') { } |
0 | 5 | elsif ($type eq 'ARRAY') { } | |
196 | 1 | 0 | if ($tmphref) |
197 | 1 | 0 | if (ref $tmphref eq 'HASH') { } |
0 | 0 | elsif (ref $tmphref eq 'ARRAY') { } |