File Coverage

lib/Config/HAProxy/Node/Empty.pm
Criterion Covered Total %
statement 3 4 75.0
branch n/a
condition n/a
subroutine 1 2 50.0
pod 1 1 100.0
total 5 7 71.4


line stmt bran cond sub pod time code
1             package Config::HAProxy::Node::Empty;
2 2     2   11 use parent 'Config::HAProxy::Node';
  2         3  
  2         9  
3              
4             =head1 NAME
5              
6             Config::HAProxy::Node::Empty - empty HAProxy configuration node
7              
8             =head1 DESCRIPTION
9              
10             Objects of this class represent empty lines in HAProxy configuration file.
11              
12             =head1 METHODS
13              
14             =head2 is_empty
15              
16             Always true.
17              
18             =head2 orig
19              
20             Returns original line as it appeared in the configuration file.
21              
22             =head2 locus
23              
24             Returns the location of this statement in the configuration file (the
25             B object).
26              
27             =head1 SEE ALSO
28              
29             B, B.
30              
31             =cut
32              
33 0     0 1   sub is_empty { 1 }
34              
35             1;