Condition Coverage

blib/lib/Net/MirrorDir.pm
Criterion Covered Total %
condition 25 58 43.1


or 2 conditions

line l !l condition
10 10 1 $_[1] ||= '.'
15 5 6 $_[1] ||= ''
42 0 7 $arg{'timeout'} || 30
1 6 $Net::MirrorDir::_connection || $arg{'connection'} || undef
62 2 5 $arg{'localdir'} || '.'
63 2 5 $arg{'remotedir'} || ''
64 1 6 $arg{'exclusions'} || []
65 0 7 $arg{'subset'} || []

or 3 conditions

line l !l&&r !l&&!r condition
9 7 0 0 $class || ref $class
14 7 0 0 $class || ref $class
19 7 0 0 $class || ref $class
24 7 0 0 $class || ref $class
29 7 0 0 $_[0] || ref $_[0]
42 7 0 0 $arg{'ftpserver'} || warn('missing ftpservername')
7 0 0 $arg{'user'} || warn('missing username')
7 0 0 $arg{'pass'} || warn('missing password')
52 7 0 0 $class || ref $class
118 1 10 0 $dir ||= $$self{'_localdir'}
172 0 0 0 $dir ||= $$self{'_remotedir'}
182 0 0 0 $Net::MirrorDir::_connection->dir($p) || ++$count > 3
195 0 0 0 $name eq '.' or $name eq '..'
323 0 0 0 $self || ref($self) . "object destroyed\n"