File Coverage

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             package PLS::Parser::Element::Variable;
2              
3 11     11   66 use strict;
  11         20  
  11         275  
4 11     11   44 use warnings;
  11         22  
  11         232  
5              
6 11     11   46 use parent 'PLS::Parser::Element';
  11         19  
  11         39  
7              
8             =head1 NAME
9              
10             PLS::Parser::Element::Variable
11              
12             =head1 DESCRIPTION
13              
14             Subclass of L<PLS::Parser::Element> representing a variable reference.
15              
16             =cut
17              
18             sub name
19             {
20 0     0 1   my ($self) = @_;
21              
22 0           return $self->element->symbol;
23             }
24              
25             1;