Condition Coverage

blib/lib/Game/TextMapper/Smale.pm
Criterion Covered Total %
condition 40 62 64.5


and 3 conditions

line !l l&&!r l&&r condition
214 1619 0 1236 @arr == 1 and ref $arr[0] eq "ARRAY"
252 39 6 0 $primary eq "water" and $random < 10
44 1 0 $primary eq "swamp" and $random < 20
45 0 0 $primary eq "sand" and $random < 20
45 0 0 $primary eq "grass" and $random < 60
31 3 11 $primary eq "forest" and $random < 40
30 3 1 $primary eq "hill" and $random < 40
27 5 1 $primary eq "mountain" and $random < 20
382 36 3 6 $hex->[0] == 1 and $terrain_above

or 2 conditions

line l !l condition
234 3 0 $reverse_lookup{$world{$coordinates}} || ''

or 3 conditions

line l !l&&r !l&&!r condition
241 0 0 0 $primary ne "plains" or member($thing, "large-town", "city")
252 0 0 45 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20
0 0 45 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20 or $primary eq "sand" and $random < 20
0 0 45 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20 or $primary eq "sand" and $random < 20 or $primary eq "grass" and $random < 60
0 11 34 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20 or $primary eq "sand" and $random < 20 or $primary eq "grass" and $random < 60 or $primary eq "forest" and $random < 40
11 1 33 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20 or $primary eq "sand" and $random < 20 or $primary eq "grass" and $random < 60 or $primary eq "forest" and $random < 40 or $primary eq "hill" and $random < 40
1 19 14 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20 or $primary eq "sand" and $random < 20 or $primary eq "grass" and $random < 60 or $primary eq "forest" and $random < 40 or $primary eq "hill" and $random < 40 or $primary eq "mountain" and $random < 20
439 3 0 0 not defined $width or $width < 1
440 3 0 0 not defined $height or $height < 1
459 111 90 990 $1 < 1 or $2 < 1
460 156 279 756 $1 > $width or $2 > $height