Branch Coverage

lib/Ubic/Service/Common.pm
Criterion Covered Total %
branch 5 12 41.6


line true false branch
28 11 0 if ($params->{'custom_commands'})
30 0 6 unless ref $params->{'custom_commands'}{$_} eq 'CODE'
69 0 16 if defined $self->{'user'}
77 16 0 unless defined $groups
78 0 0 if ref $groups eq 'ARRAY'
84 0 3 unless (exists $self->{'custom_commands'}{$command})