blib/lib/Image/Base/Text.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 33 | 75.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
135 | 1 | 2 | 9 | @lines and $lines[-1] eq '' |
169 | 0 | 0 | 2 | open $fh, '>', $filename and $self->save_fh($fh) |
0 | 0 | 2 | open $fh, '>', $filename and $self->save_fh($fh) and close $fh | |
240 | 6 | 0 | 363 | $x2 >= 0 and $y2 >= 0 |
6 | 0 | 363 | $x2 >= 0 and $y2 >= 0 and $x1 < $$self{'-width'} | |
0 | 0 | 363 | $x2 >= 0 and $y2 >= 0 and $x1 < $$self{'-width'} and $y1 <= $#$rows_array |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
197 | 9 | 8 | 5303 | $x < 0 or $x >= $$self{'-width'} |
17 | 4 | 5299 | $x < 0 or $x >= $$self{'-width'} or $y < 0 | |
12 | 4 | 5295 | $x < 0 or $x >= $$self{'-width'} or $y < 0 or $y >= @{$$self{'-rows_array'};} | |
214 | 2 | 2 | 44 | $y1 < 0 or $y1 > $#$rows_array |
218 | 1 | 1 | 42 | $x2 < 0 or $x1 > $xmax |