Perl/Lint/Constants/Kind.pm

filter: Statementstmt 100% 17 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Perl/Lint/Filter/LikePerlCritic/Stern.pm ↑ Summary Perl/Lint/Constants/Type.pm »
1 package Perl::Lint::Constants::Kind;
2 19 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 19 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 19 ▶use Compiler::Lexer::Constants;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 19 ▶use parent qw/Exporter/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 19 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 19 ▶use constant {
Subroutine BEGIN: called CC=1 SCAR=0.0
18 19 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 19 };
26  
27 19 1;
28  
« Perl/Lint/Filter/LikePerlCritic/Stern.pm ↑ Summary Perl/Lint/Constants/Type.pm »