example/lib/Module/ImmutableMooseClass.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 12 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Module::ImmutableMooseClass; | ||||||
2 | 1 | 1 | 321 | use strict; | |||
1 | 1 | ||||||
1 | 29 | ||||||
3 | 1 | 1 | 4 | use warnings FATAL => 'all'; | |||
1 | 1 | ||||||
1 | 33 | ||||||
4 | |||||||
5 | 1 | 1 | 484 | use Moose; | |||
1 | 398017 | ||||||
1 | 6 | ||||||
6 | |||||||
7 | has counter => ( | ||||||
8 | is => 'ro', | ||||||
9 | isa => 'Int', | ||||||
10 | default => 1, | ||||||
11 | ); | ||||||
12 | |||||||
13 | 1 | 1 | 6168 | no Moose; | |||
1 | 2 | ||||||
1 | 4 | ||||||
14 | __PACKAGE__->meta->make_immutable; | ||||||
15 | |||||||
16 | 1; |