Branch Coverage

blib/lib/Config/Model/Backend/PlainFile.pm
Criterion Covered Total %
branch 26 32 81.2


line true false branch
40 52 12 $args{'file'} ? :
72 23 19 if ($type eq 'leaf') { }
19 0 elsif ($type eq 'list') { }
0 0 elsif ($type eq 'hash') { }
93 19 4 unless $file->exists
96 4 0 unless $obj->value_type eq "string"
97 0 4 if ($logger->is_trace)
107 1 18 unless $file->exists
135 1 9 unless $dir->is_dir
150 11 9 if ($type eq 'leaf') { }
9 0 elsif ($type eq 'list') { }
152 3 8 if defined $v and $obj->value_type ne "string"
153 3 8 if defined $v
163 11 9 if (@v) { }
1 8 elsif ($file->exists) { }
166 7 4 if $args{'file_mode'}