blib/lib/Config/Model/Backend/Systemd/Unit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 15 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 17 | 18 | 14 | $app_type and $app_type ne "user" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
45 | 35 | 14 | 0 | $unit_type ||= $t |
46 | 35 | 14 | 0 | $unit_name ||= $n |
50 | 14 | 0 | 0 | $unit_type ||= $app_type |
59 | 35 | 14 | 0 | $app =~ /^systemd(-user)?$/u or $app =~ /^systemd-$unit_type/u |