blib/lib/MealMaster.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 15 | 93.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 2916 | 2019 | 485 | $dflag == 0 and $line =~ /^\s*$/ |
61 | 691 | 2141 | 1819 | length $line > 12 and substr($line, 0, 7) =~ m[^[ 0-9\.\/]+$] |
2832 | 64 | 1755 | length $line > 12 and substr($line, 0, 7) =~ m[^[ 0-9\.\/]+$] and substr($line, 7, 4) =~ /^ .. $/ | |
110 | 1211 | 53 | 491 | length $line > 40 and $line =~ /^.{40} ...... .. ./ |
158 | 0 | 99 | 1907 | defined $i->quantity && !(defined $i->measure && $i->product =~ /^-/) |