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 13     13   100 use strict;
  13         29  
  13         746  
4 13     13   88 use warnings;
  13         39  
  13         766  
5              
6 13     13   84 use parent 'PLS::Parser::Element';
  13         27  
  13         87  
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;