blib/lib/Games/LMSolve/Plank/Hex.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 15 | 80.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 5 | 80.0 |
pod | 1 | 1 | 100.0 |
total | 17 | 21 | 80.9 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Games::LMSolve::Plank::Hex; | ||||||
2 | $Games::LMSolve::Plank::Hex::VERSION = '0.14.0'; | ||||||
3 | 1 | 1 | 1091 | use strict; | |||
1 | 3 | ||||||
1 | 30 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 4 | ||||||
1 | 29 | ||||||
5 | |||||||
6 | 1 | 1 | 5 | use vars qw(@ISA); | |||
1 | 2 | ||||||
1 | 43 | ||||||
7 | |||||||
8 | 1 | 1 | 5 | use Games::LMSolve::Plank::Base; | |||
1 | 3 | ||||||
1 | 111 | ||||||
9 | |||||||
10 | @ISA = qw(Games::LMSolve::Plank::Base); | ||||||
11 | |||||||
12 | sub initialize | ||||||
13 | { | ||||||
14 | 0 | 0 | 1 | my $self = shift; | |||
15 | |||||||
16 | 0 | $self->SUPER::initialize(@_); | |||||
17 | |||||||
18 | 0 | $self->{'dirs'} = [qw(E W S N SE NW)]; | |||||
19 | } | ||||||
20 | |||||||
21 | 1; | ||||||
22 | |||||||
23 | __END__ |