Condition Coverage

blib/lib/Config/Model/Backend/Systemd/Unit.pm
Criterion Covered Total %
condition 14 24 58.3


and 3 conditions

line !l l&&!r l&&r condition
44 17 15 14 $app_type and $app_type ne "user"
130 6 21 0 $service_path->exists and $service_path->realpath eq "/dev/null"

or 3 conditions

line l !l&&r !l&&!r condition
39 32 14 0 $unit_type ||= $t
40 32 14 0 $unit_name ||= $n
44 14 0 0 $unit_type ||= $app_type
53 32 14 0 $app =~ /^systemd(-user)?$/u or $app =~ /^systemd-$unit_type/u
86 27 0 0 $args{'root'} || path('/')
87 27 0 0 $args{'root'} || path('.')