Condition Coverage

blib/lib/NL/File/Lock.pm
Criterion Covered Total %
condition 5 30 16.6


and 3 conditions

line !l l&&!r l&&r condition
82 0 0 0 defined $dir_for_locks and $dir_for_locks ne ''
84 0 0 0 $dir_for_locks ne '' and -d $dir_for_locks
87 0 0 0 defined $$in_SETTINGS{'REMOVE_OLD'} and $$in_SETTINGS{'REMOVE_OLD'}
125 0 0 2 defined $$in_ref_hash_EXT{'time_sleep'} && $$in_ref_hash_EXT{'time_sleep'} > 0
142 0 0 0 not $is_locked and time < $time_stop
173 2 0 0 $$NL::File::Lock::OS_SETTINGS{'IS_SOLARIS'} and not $$NL::File::Lock::OS_SETTINGS{'USE_FCNTL'}
2 0 0 $$NL::File::Lock::OS_SETTINGS{'IS_SOLARIS'} and not $$NL::File::Lock::OS_SETTINGS{'USE_FCNTL'} and $lock_type == &LOCK_SH()

or 3 conditions

line l !l&&r !l&&!r condition
119 0 0 2 not defined $lock_type or $lock_type <= 0
120 0 0 2 not defined $in_ref_hash_EXT or ref $in_ref_hash_EXT ne 'HASH'
239 0 0 0 not defined $lock_type or $lock_type <= 0