| blib/lib/Linux/IO_Prio.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 12 | 41.6 |
| line | true | false | branch |
|---|---|---|---|
| 46 | 0 | 0 | unless require 'syscall.ph' |
| 53 | 0 | 3 | if (defined &SYS_ioprio_get) { } |
| 64 | 0 | 2 | if (defined &SYS_ioprio_set) { } |
| 91 | 0 | 1 | if $class == 3 and $data |
| 97 | 1 | 0 | if ((my $priority = ioprio_get($which, $who)) < 0) { } |
| 107 | 1 | 0 | if ((my $priority = ioprio_get($which, $who)) < 0) { } |