blib/lib/PLS/Parser/Element/Variable.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 11 | 81.8 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 1 | 1 | 100.0 |
total | 13 | 16 | 81.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | |||||||
2 | use strict; | ||||||
3 | 11 | 11 | 64 | use warnings; | |||
11 | 21 | ||||||
11 | 259 | ||||||
4 | 11 | 11 | 44 | ||||
11 | 22 | ||||||
11 | 213 | ||||||
5 | use parent 'PLS::Parser::Element'; | ||||||
6 | 11 | 11 | 44 | ||||
11 | 19 | ||||||
11 | 36 | ||||||
7 | =head1 NAME | ||||||
8 | |||||||
9 | PLS::Parser::Element::Variable | ||||||
10 | |||||||
11 | =head1 DESCRIPTION | ||||||
12 | |||||||
13 | Subclass of L<PLS::Parser::Element> representing a variable reference. | ||||||
14 | |||||||
15 | =cut | ||||||
16 | |||||||
17 | { | ||||||
18 | my ($self) = @_; | ||||||
19 | |||||||
20 | 0 | 0 | 1 | return $self->element->symbol; | |||
21 | } | ||||||
22 | 0 | ||||||
23 | 1; |