Branch Coverage

lib/BalanceOfPower/Role/Mapmaker.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
55 0 16 unless open my $borders, '<', $file
61 56 0 if ($self->check_nation_name($nodes[0]) and $self->check_nation_name($nodes[1])) { }
63 56 0 if ($nodes[0] and $nodes[1] and not $self->border_exists($nodes[0], $nodes[1]))
81 15 2 if ($geographical) { }
87 7 3 if $self->in_military_range($nation, $_)
122 8 13 if ($self->in_military_range($from_n, $to_n))