Condition Coverage

lib/BalanceOfPower/Role/Mapmaker.pm
Criterion Covered Total %
condition 6 14 42.8


and 3 conditions

line !l l&&!r l&&r condition
61 0 0 56 $self->check_nation_name($nodes[0]) and $self->check_nation_name($nodes[1])
63 0 56 0 $nodes[0] and $nodes[1]
0 0 56 $nodes[0] and $nodes[1] and not $self->border_exists($nodes[0], $nodes[1])

or 2 conditions

line l !l condition
80 15 2 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
54 0 16 0 shift() || $self->data_directory . '/' . $bordersfile