File Coverage

blib/lib/Perl/Lint/Constants/Kind.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package Perl::Lint::Constants::Kind;
2 134     134   558 use strict;
  134         146  
  134         3084  
3 134     134   435 use warnings;
  134         153  
  134         2446  
4 134     134   787 use Compiler::Lexer::Constants;
  134         2535  
  134         2496  
5 134     134   730 use parent qw/Exporter/;
  134         363  
  134         495  
6              
7             our @EXPORT = qw(
8             KIND_ASSIGN
9             KIND_CTRL
10             KIND_DECL
11             KIND_OP
12             KIND_STMT
13             KIND_STMT_END
14             KIND_TERM
15             );
16              
17             use constant {
18 134         16558 KIND_ASSIGN => Compiler::Lexer::Kind::T_Assign,
19             KIND_CTRL => Compiler::Lexer::Kind::T_Control,
20             KIND_DECL => Compiler::Lexer::Kind::T_Decl,
21             KIND_OP => Compiler::Lexer::Kind::T_Operator,
22             KIND_STMT => Compiler::Lexer::Kind::T_Stmt,
23             KIND_STMT_END => Compiler::Lexer::Kind::T_StmtEnd,
24             KIND_TERM => Compiler::Lexer::Kind::T_Term,
25 134     134   12032 };
  134         169  
26              
27             1;
28