Condition Coverage

blib/lib/Game/TextMapper/Solo.pm
Criterion Covered Total %
condition 0 54 0.0


and 3 conditions

line !l l&&!r l&&r condition
201 0 0 0 defined $self->flows->[$_] and $self->flows->[$_] == $to
0 0 0 defined $self->flows->[$_] and $self->flows->[$_] == $to and defined $self->altitudes->[$_]
0 0 0 defined $self->flows->[$_] and $self->flows->[$_] == $to and defined $self->altitudes->[$_] and $self->altitudes->[$_] < $max
217 0 0 0 $altitude == 0 and &any(sub { $self->altitudes->[$_] > 1 if defined $self->altitudes->[$_]; } , @neighbours)
227 0 0 0 defined $self->altitudes->[$to] and $self->altitudes->[$to] == 0
229 0 0 0 $source and not $self->tiles->[$to]
0 0 0 $source and not $self->tiles->[$to] and $self->altitudes->[$to] >= 1
0 0 0 $source and not $self->tiles->[$to] and $self->altitudes->[$to] >= 1 and $self->altitudes->[$to] <= 8
235 0 0 0 $self->altitudes->[$_] < $self->altitudes->[$to] and $self->flowable($to, $_)
278 0 0 0 defined $self->flows->[$to] and $self->flows->[$to] >= 0
371 0 0 0 defined $self->flows->[$i] and $log->level eq "debug"
375 0 0 0 ref $river and @$river > 1
378 0 0 0 ref $trail and @$trail > 1

or 3 conditions

line l !l&&r !l&&!r condition
162 0 0 0 $roll >= 5 && $roll <= 8 || $altitude == 1
180 0 0 0 $tile eq "forest" or $tile eq "forest-hill"
0 0 0 $tile eq "desert" or $tile eq "swamp"
0 0 0 $tile eq "desert" or $tile eq "swamp" or $tile eq "green-hills"
229 0 0 0 $source and not $self->tiles->[$to] and $self->altitudes->[$to] >= 1 and $self->altitudes->[$to] <= 8 or &any(sub { $self->flows->[$_] == $to if defined $self->flows->[$_]; } , @neighbours)