Condition Coverage

lib/Sysync.pm
Criterion Covered Total %
condition 18 36 50.0


and 3 conditions

line !l l&&!r l&&r condition
346 3 0 0 $user->{'disabled'} and $user->{'ssh_keys'}
754 100 0 0 $params{'must_exist'} and not -f $file

or 2 conditions

line l !l condition
231 6 210 join(',', @{[] unless $group->{'users'};}) || ''
580 0 1 $hosts->{'passwd_file'} || '/etc/passwd'
581 0 1 $hosts->{'group_file'} || '/etc/group'
582 0 1 $hosts->{'shadow_file'} || '/etc/shadow'
583 0 1 $hosts->{'gshadow_file'} || '/etc/gshadow'
679 1 0 $shadow_group->{'gid'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
42 0 1 0 $params->{'stagedir'} || "$params->{'sysdir'}/stage"
0 1 0 $params->{'stagefiledir'} || "$params->{'sysdir'}/stage-files"
190 12 66 6 $user->{'gid'} || $user->{'uid'}
191 6 78 0 $user->{'fullname'} || $user->{'username'}
563 1 0 0 $params{'hosts'} || $self->get_all_hosts
572 0 0 1 $hosts->{'extra_users'} or $self->{'extra_users'}