Condition Coverage

blib/lib/RPi/SysInfo.pm
Criterion Covered Total %
condition 14 21 66.6


and 3 conditions

line !l l&&!r l&&r condition
34 10 9 0 $_[0] and $_[0] =~ /RPi::/
55 1 10 0 $_[0] and $_[0] =~ /RPi::/
120 9 0 0 $_[0] and $_[0] =~ /RPi::/
237 2 0 2 defined $milli and $milli =~ /^(\d+)/

or 2 conditions

line l !l condition
38 9 10 $degree //= "c"
79 3 0 _slurp("/proc/swaps") // ""
341 5 0 $ENV{'PATH'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
44 8 1 9 $degree eq "f" or $degree eq "F"