| blib/lib/Linux/Landlock/Syscalls.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 10 | 40.0 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 2 | 0 | if ($supports_Q) { } |
| 25 | 0 | 0 | if ($is_le) { } |
| 36 | 2 | 3 | if (not %SYSCALLS and $^O eq "linux") |
| 42 | 2 | 0 | if (my($arch) = $Linux::Landlock::Syscalls::Config{'archname'} =~ /($re_x86_64|$re_x86|$re_arm|$re_aarch64)/x) { } |
| 0 | 0 | elsif ($^O eq 'linux' and eval { do { require 'syscall.ph' } } || eval { do { require 'sys/syscall.ph' } }) { } |