Condition Coverage

blib/lib/Mojolicious/Plugin/Systemd.pm
Criterion Covered Total %
condition 13 17 76.4


and 3 conditions

line !l l&&!r l&&r condition
85 1 0 2 $flag eq '-' and not -r $file

or 2 conditions

line l !l condition
7 0 3 $ENV{'MOJO_SYSTEMD_DEBUG'} || 0
48 2 2 $config->{$k} ||= {}
72 1 0 $target->{$k} ||= {}
97 2 1 $file || 'SYSTEMD_UNIT_FILE_MISSING'

or 3 conditions

line l !l&&r !l&&!r condition
37 0 1 2 $config->{'service_file'} || $ENV{'SYSTEMD_SERVICE_FILE'}
38 1 1 1 $file or $ENV{'XDG_SESSION_ID'}