Branch Coverage

blib/lib/Config/YAML/Modern.pm
Criterion Covered Total %
branch 25 26 96.1


line true false branch
190 1 32 unless (defined $filename)
194 1 31 unless (-e $filename)
205 26 5 if (defined $$self{'i_dont_use_suffix'})
209 20 6 if $suffix ne ''
214 31 0 if defined $key_conv
228 6 25 if (not defined $temp_val and defined $$self{'ignore_empty_file'})
254 1 7 unless (defined $dir)
258 1 6 unless (-d $dir)
280 4 13 if not scalar keys %$temp_val and defined $$self{'ignore_empty_file'}
314 1 7 unless defined $hash_ref
316 1 6 unless ref $hash_ref eq 'HASH'
354 1 1 if (not scalar keys %$temp_val and defined $$self{'ignore_empty_file'}) { }
394 1 1 if (not scalar keys %$temp_val and defined $$self{'ignore_empty_file'}) { }