Perl/Analysis/Static/Question.pm

filter: Statementstmt 91.3% 21 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 86.6% 26 / 30 CC 1 SCAR 1.5
CC
1
Cov
91%
set_arguments
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Perl/Analysis/Static/Element.pm ↑ Summary Perl/Analysis/Static/Question/Lexical/Name.pm »
1 package Perl::Analysis::Static::Question;
2 {
3 4 $Perl::Analysis::Static::Question::VERSION = '0.004'; # TRIAL
4 }
5 # ABSTRACT: represents a question about a Perl document
6  
7  
8 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 4 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 4 ▶use English qw( -no_match_vars ); # Avoids regex performance penalty
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 4 ▶use Module::Runtime qw(use_module);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 4 ▶use Perl::Analysis::Static::Document;
Subroutine BEGIN: called CC=1 SCAR=0.0
15  
16  
17 4 has 'class' => ( is => 'rw', isa => 'Str' );
18  
19  
20 4 has 'filter' => ( is => 'rw', isa => 'ArrayRef[Str]' );
21  
22  
23 4 has 'arguments' => ( is => 'rw', isa => 'ArrayRef[Str]' );
24  
25 0 ▶sub set_arguments {
Subroutine set_arguments: not called CC=1 SCAR=6.9
Pod undocumented
26 0 my ($self) = @_;
27 0 die 'implement me';
28 }
29  
30 4 1;
31  
32 __END__
« Perl/Analysis/Static/Element.pm ↑ Summary Perl/Analysis/Static/Question/Lexical/Name.pm »