File Coverage

blib/lib/PPI/Structure/Condition.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package PPI::Structure::Condition;
2              
3             =pod
4              
5             =head1 NAME
6              
7             PPI::Structure::Condition - Round braces for boolean context conditions
8              
9             =head1 SYNOPSIS
10              
11             if ( condition ) {
12             ...
13             }
14            
15             while ( condition ) {
16             ...
17             }
18              
19             =head1 INHERITANCE
20              
21             PPI::Structure::Condition
22             isa PPI::Structure
23             isa PPI::Node
24             isa PPI::Element
25              
26             =head1 DESCRIPTION
27              
28             C is the class used for all round braces
29             that represent boolean contexts used in various conditions.
30              
31             =head1 METHODS
32              
33             C has no methods beyond those provided by
34             the standard L, L and L methods.
35              
36             =cut
37              
38 63     63   357 use strict;
  63         119  
  63         1380  
39 63     63   264 use PPI::Structure ();
  63         106  
  63         2783  
40              
41             our $VERSION = '1.275';
42              
43             our @ISA = "PPI::Structure";
44              
45             1;
46              
47             =pod
48              
49             =head1 SUPPORT
50              
51             See the L in the main module.
52              
53             =head1 AUTHOR
54              
55             Adam Kennedy Eadamk@cpan.orgE
56              
57             =head1 COPYRIGHT
58              
59             Copyright 2001 - 2011 Adam Kennedy.
60              
61             This program is free software; you can redistribute
62             it and/or modify it under the same terms as Perl itself.
63              
64             The full text of the license can be found in the
65             LICENSE file included with this module.
66              
67             =cut