blib/lib/Daemon/Shutdown/Monitor/hdparm.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 16 | 0.0 |
line | true | false | branch |
---|---|---|---|
96 | 0 | 0 | unless -e $disk |
140 | 0 | 0 | if ($self->{'params'}{'use_sudo'}) |
145 | 0 | 0 | unless (IPC::Run::run(\@cmd, \$in, \$out, \$err, IPC::Run::timeout(10))) |
148 | 0 | 0 | if ($err) |
154 | 0 | 0 | if ($out =~ /drive state is: active/s) |
160 | 0 | 0 | if ($conditions_met) { } |
164 | 0 | 0 | if ($self->{'trigger_pending'} and time - $self->{'trigger_pending'} >= $self->{'params'}{'trigger_time'}) |
178 | 0 | 0 | if ($self->{'trigger_pending'}) |