Condition Coverage

lib/Test/Debian.pm
Criterion Covered Total %
condition 6 16 37.5


and 2 conditions

line l !l condition
141 0 10 $inst_ver = $1 and last

and 3 conditions

line !l l&&!r l&&r condition
112 0 0 10 $op and $ver =~ /^[\d._-]+/
115 0 0 6 $pkg and length $str == length $pkg

or 2 conditions

line l !l condition
21 0 1 shift() || 'System is debian'

or 3 conditions

line l !l&&r !l&&!r condition
58 0 13 0 $name ||= "package(s) '${pkgs}' is/are installed"
78 0 1 0 $name ||= "$pkg_spec is not installed"