Condition Coverage

lib/SMB/File.pm
Criterion Covered Total %
condition 21 32 65.6


and 3 conditions

line !l l&&!r l&&r condition
101 0 1 8 !$is_ipc && $filename && -e $filename
102 9 0 0 $is_ipc && $name =~ /^(?:srvsvc|wkssvc)$/
296 2 1 1 $want_all and $files

or 2 conditions

line l !l condition
64 0 21 shift() || 0
72 8 0 shift() || 0
87 9 0 delete $options{'name'} // die('No name in constructor')
91 9 0 $options{'share_root'} //= undef
100 0 9 $options{'is_ipc'} ||= 0
104 6 2 $stat[12] || 0
147 0 0 shift() || '%4Y-%2m-%2d %2H:%2M'
189 1 3 $exists || 0
286 2 2 $params{'pattern'} || '*'
288 1 3 $params{'start_idx'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
104 8 0 1 @stat || $is_srv