Condition Coverage

blib/lib/Game/TextMapper/Smale.pm
Criterion Covered Total %
condition 42 62 67.7


and 3 conditions

line !l l&&!r l&&r condition
214 1604 0 1236 @arr == 1 and ref $arr[0] eq "ARRAY"
252 45 0 0 $primary eq "water" and $random < 10
39 5 1 $primary eq "swamp" and $random < 20
44 0 0 $primary eq "sand" and $random < 20
44 0 0 $primary eq "grass" and $random < 60
32 8 4 $primary eq "forest" and $random < 40
34 4 2 $primary eq "hill" and $random < 40
29 7 2 $primary eq "mountain" and $random < 20
382 36 3 6 $hex->[0] == 1 and $terrain_above

or 2 conditions

line l !l condition
234 4 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 1 44 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20
1 0 44 $primary eq "water" and $random < 10 or $primary eq "swamp" and $random < 20 or $primary eq "sand" and $random < 20
0 0 44 $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 4 40 $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
4 2 38 $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
2 21 17 $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