Condition Coverage

lib/SMB/Server.pm
Criterion Covered Total %
condition 0 54 0.0


and 3 conditions

line !l l&&!r l&&r condition
60 0 0 0 not $share_roots and $FindBin::Bin
62 0 0 0 -d $_ and -x _
65 0 0 0 do { not %$share_roots } && do { $self->err('No shares to manage, specify non-empty share_roots hash') }
134 0 0 0 $tid || exists $command->{'fid'} and not $tree
0 0 0 $command->is('Ioctl') and $command->function == 393620
0 0 0 $command->is('Ioctl') and $command->function == 1114136
145 0 0 0 $connection->chain_fid and $command->is_fid_unset($fid)
165 0 0 0 defined $auth_completed and not $auth_completed
189 0 0 0 $file->exists and $disposition == 1
190 0 0 0 $command->requested_directory and not $file->is_directory
0 0 0 $command->requested_non_directory and $file->is_directory

or 2 conditions

line l !l condition
229 0 0 $rename_info->{'new_name'} // die()
230 0 0 $rename_info->{'replace'} // die()
310 0 0 $socket->accept || (next)

or 3 conditions

line l !l&&r !l&&!r condition
40 0 0 0 $port or $fifo_filename
50 0 0 0 $options{'passwd_filename'} //= "$FindBin::Bin/../conf/passwd.txt"
134 0 0 0 $tid || exists $command->{'fid'}
165 0 0 0 not $command->security_buffer or defined $auth_completed and not $auth_completed
172 0 0 0 $tree_root or $share eq 'IPC$'