Condition Coverage

blib/lib/Acme/IRC/Art.pm
Criterion Covered Total %
condition 45 78 57.6


and 3 conditions

line !l l&&!r l&&r condition
75 0 8 0 $largeur =~ /^\d+$/ and $hauteur =~ /^\d+$/
77 0 8 0 $largeur =~ /\d/ and $hauteur =~ /\d/
149 252 0 2 ref $y and ref $x
252 2 0 ref $y and ref $x and @$x != @$y
151 252 2 0 ref $y and not ref $x
252 2 0 ref $x and not ref $y
153 2 252 0 not ref $x || ref $y and $y > $#canevas || $x > @{$canevas[0];} - 1
221 1 11 0 not ref $bolt and length $bolt > 3 || !($bolt =~ /\d/ || $bolt =~ /b/)
11 0 0 not ref $bolt and length $bolt > 3 || !($bolt =~ /\d/ || $bolt =~ /b/) and @_ == 5
223 0 12 0 $x =~ /\d/ and $y =~ /\d/
226 1 11 0 not ref $fond and $fond > 15
227 1 11 0 not ref $bolt and $bolt > 15
266 39 20 8 $_[0] =~ /^\d$/ and $_[2] =~ /^\d$/
267 2 52 13 $_[1] =~ /^\d$/ and $_[2] =~ /^\d$/

or 3 conditions

line l !l&&r !l&&!r condition
147 0 0 254 @_ < 4 or @_ > 5
151 0 0 254 ref $y and not ref $x or ref $x and not ref $y
153 2 0 252 ref $x || ref $y
0 0 252 $y > $#canevas || $x > @{$canevas[0];} - 1
217 0 0 12 @_ > 6 or @_ < 4
221 0 0 11 length $bolt > 3 || !($bolt =~ /\d/ || $bolt =~ /b/)
228 0 0 12 $y > $#canevas or $x > @{$canevas[0];} - 1
243 28 4 21 $fond2 ||= $2
244 28 8 17 $fond or $$pixel ne ' '
256 44 0 9 $bolt or $fond
260 44 0 9 $bolt or $fond
0 0 9 $bolt or $fond or $fond2