blib/lib/CGI/Imagemap.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 32 | 71.8 |
line | l | !l | condition |
---|---|---|---|
35 | 6 | 1 | $self->_rect($x, $y, $points) and return $URI |
36 | 2 | 1 | $self->_poly($x, $y, $points) and return $URI |
37 | 3 | 2 | $self->_circle($x, $y, $points) and return $URI |
38 | 5 | 1 | $self->_oval($x, $y, $points) and return $URI |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
39 | 1 | 7 | 0 | $self->_point($x, $y, $points) and $$self{'DEFAULT'} = $URI |
66 | 4 | 0 | 1 | $x >= $ulx && $y >= $uly && $x <= $llx && $y <= $lly |
127 | 4 | 1 | 4 | $x1 > 0 and $x2 > 0 |
130 | 0 | 0 | 4 | $y1 != 0 and $y2 != 0 |
1 | 4 | 0 | ($y1 <=> 0) == ($y2 <=> 0) and ($y1 != 0 and $y2 != 0) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
34 | 1 | 1 | 0 | $$self{'DEFAULT'} ||= $URI |
54 | 6 | 1 | 1 | $$self{'MINDIST'} == -1 or $dist2 < $$self{'MINDIST'} |
143 | 0 | 0 | 0 | $x1 < 0 or $x2 < 0 |