Branch Coverage

blib/lib/Ixchel/Actions/systemd_auto.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
106 0 0 if ($^O eq "linux" and -f '/usr/bin/systemctl' || -f '/bin/systemctl')
115 0 0 if (defined $self->{'opts'}{'s'}) { }
116 0 0 unless (defined $self->{'config'}{'systemd'}{'auto'}{$self->{'opts'}{'s'}})
125 0 0 unless (defined $services[0])
135 0 0 unless (defined $service_vars->{'description'})
150 0 0 if ($self->{'opts'}{'w'})
154 0 0 if ($@) { }
156 0 0 unless (defined $filled_in)
179 0 0 if ($self->{'opts'}{'reload'})
181 0 0 unless (defined $output)
184 0 0 if ($? != 0) { }
201 0 0 if ($self->{'opts'}{'enable'})
206 0 0 unless (defined $output)
209 0 0 if ($? != 0) { }
234 0 0 if ($self->{'opts'}{'start'})
239 0 0 unless (defined $output)
242 0 0 if ($? != 0) { }
266 0 0 if ($self->{'opts'}{'restart'})
271 0 0 unless (defined $output)
274 0 0 if ($? != 0) { }