blib/lib/Image/PNM.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 30 | 30.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
308 | 0 | 0 | 6 | $w and $h |
342 | 0 | 0 | 1 | $max =~ /^[0-9]+$/ and $max > 0 |
363 | 0 | 0 | 1 | $max =~ /^[0-9]+$/ and $max > 0 |
406 | 0 | 0 | 1 | $max =~ /^[0-9]+$/ and $max > 0 |
427 | 0 | 0 | 1 | $max =~ /^[0-9]+$/ and $max > 0 |
465 | 0 | 0 | 240 | $word =~ /^[0-9]+$/ and $word >= 0 |
0 | 0 | 240 | $word =~ /^[0-9]+$/ and $word >= 0 and $word <= $$self{'max'} | |
496 | 0 | 0 | 240 | $word =~ /^[0-9]+$/ and $word >= 0 |
0 | 0 | 240 | $word =~ /^[0-9]+$/ and $word >= 0 and $word <= $$self{'max'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
274 | 0 | 0 | 0 | length $line or length $rest |