Branch Coverage

blib/lib/Lemonldap/NG/Common/Conf/File.pm
Criterion Covered Total %
branch 2 18 11.1


line true false branch
11 0 1 unless ($$self{'dirName'})
16 0 1 unless (-d $$self{'dirName'})
29 0 0 /lmConf-(\d+)/ ? :
41 0 0 if ($self->isLocked)
43 0 0 if $self->isLocked
45 0 0 unless (open F, '>' . $$self{'dirName'} . '/lmConf.lock')
71 0 0 unless (open FILE, '>' . $$self{'dirName'} . '/lmConf-' . $$fields{'cfgNum'})
95 0 0 if ($fields) { }
96 0 0 if grep {$_ eq $k;} @$fields