Branch Coverage

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


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