blib/lib/Games/RolePlay/MapGen/Generator/Perfect.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 14 | 85.7 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 3800 | if exists $$opts{'t_cb'} |
55 | 0 | 15203 | if exists $$opts{'t_cb'} |
59 | 3800 | 11403 | if ($nex and not $$nex{'visited'}) { } |
7602 | 3801 | elsif (@togo) { } | |
72 | 340 | 3460 | if &roll(1, 100) > $$opts{'same_way_percent'} |
81 | 5239 | 2363 | if (@visited > 1 and &roll(1, 100) > $$opts{'same_node_percent'}) { } |
100 | 8 | 3793 | unless @visited |