blib/lib/Parse/Method/Signatures/Param/Bindable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 15 | 15 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Parse::Method::Signatures::Param::Bindable; | ||||||
2 | |||||||
3 | 3 | 3 | 3633 | use Moose::Role; | |||
3 | 7 | ||||||
3 | 25 | ||||||
4 | 3 | 3 | 11982 | use Parse::Method::Signatures::Types qw/VariableName/; | |||
3 | 4 | ||||||
3 | 29 | ||||||
5 | |||||||
6 | 3 | 3 | 4136 | use namespace::clean -except => 'meta'; | |||
3 | 5 | ||||||
3 | 26 | ||||||
7 | |||||||
8 | has variable_name => ( | ||||||
9 | is => 'ro', | ||||||
10 | isa => VariableName, | ||||||
11 | required => 1, | ||||||
12 | ); | ||||||
13 | |||||||
14 | sub _stringify_variable_name { | ||||||
15 | 135 | 135 | 239 | my ($self) = @_; | |||
16 | 135 | 3993 | return $self->variable_name; | ||||
17 | } | ||||||
18 | |||||||
19 | 1; |