blib/lib/Devel/Declare/Lexer/Token/Bareword.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 13 | 92.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Devel::Declare::Lexer::Token::Bareword; | ||||||
2 | |||||||
3 | 10 | 10 | 71 | use base qw/ Devel::Declare::Lexer::Token /; | |||
10 | 17 | ||||||
10 | 1299 | ||||||
4 | |||||||
5 | 10 | 10 | 109 | use v5; | |||
10 | 32 | ||||||
10 | 990 | ||||||
6 | |||||||
7 | sub new | ||||||
8 | { | ||||||
9 | 180 | 180 | 0 | 1033 | my ($caller, %arg) = @_; | ||
10 | |||||||
11 | 180 | 788 | my $self = $caller->SUPER::new(%arg); | ||||
12 | |||||||
13 | 180 | 664 | return $self; | ||||
14 | } | ||||||
15 | |||||||
16 | 1; |