blib/lib/Games/2048/Tile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Games::2048::Tile; | ||||||
2 | 4 | 4 | 128 | use 5.012; | |||
4 | 14 | ||||||
4 | 159 | ||||||
3 | 4 | 4 | 292 | use Moo; | |||
4 | 12 | ||||||
4 | 31 | ||||||
4 | |||||||
5 | has value => is => 'rw', default => 2; | ||||||
6 | has merged => is => 'rw', default => 0; | ||||||
7 | has appear => is => 'rw'; | ||||||
8 | |||||||
9 | has merging_tiles => is => 'rw'; | ||||||
10 | has moving_from => is => 'rw'; | ||||||
11 | |||||||
12 | 1; |