Perl/Analysis/Static/Question/Lexical/NameLike.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
set_arguments
2.0
BEGIN
2.0
CRAP 2.0
1 package Perl::Analysis::Static::Question::Lexical::NameLike;
2 {
3 $Perl::Analysis::Static::Question::Lexical::NameLike::VERSION = '0.004'; # TRIAL
4 }
5 # ABSTRACT: Does the name of the lexical variable match this regex?
6  
7 use Moose;
8  
9 extends 'Perl::Analysis::Static::Question';
10  
11 sub set_arguments {
12 my ($self, $arguments) = @_;
13 $self->class('Perl::Analysis::Static::Element::Lexical');
14 $self->filter( ['NameLike'] );
15 $self->arguments( [split(/:/, $arguments)] );
16 }
17  
18 1;
19  
20 __END__