Condition Coverage

lib/Provision/Unix/User.pm
Criterion Covered Total %
condition 6 27 22.2


and 3 conditions

line !l l&&!r l&&r condition
197 0 0 0 getpwnam $user and getpwnam $user > 0

or 2 conditions

line l !l condition
150 0 1 $$conf{'quota_filesystem'} || '/home'
163 0 1 $$conf{'quota_inodes_soft'} || 0
164 0 1 $$conf{'quota_inodes_hard'} || 0
195 0 0 $util->find_bin('pw') || '/usr/sbin/pw'
375 1 0 shift() || 8
487 16 0 shift() || $$self{'username'} || (return $$self{'prov'}->error('username missing', 'location', join(',', caller), 'fatal', 0, 'debug', 0))

or 3 conditions

line l !l&&r !l&&!r condition
286 0 0 0 -d $ssh_dir or -e $ssh_dir
334 0 0 0 $pass =~ /a-z/ or $pass =~ /A-Z/
0 0 0 $pass =~ /a-z/ or $pass =~ /A-Z/ or $pass =~ /0-9/
367 2 0 0 shift() || $self->get_salt(8)