Perl/Analysis/Static/Element.pm

filter: Statementstmt 85.7% 12 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 77.7% 14 / 18 CC 1 SCAR 2.9
CC
1
Cov
86%
stringify
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Perl/Analysis/Static/Analysis/Use.pm ↑ Summary Perl/Analysis/Static/Question.pm »
1 package Perl::Analysis::Static::Element;
2 {
3 16 $Perl::Analysis::Static::Element::VERSION = '0.004'; # TRIAL
4 }
5 # ABSTRACT: represents an element of a Perl document
6  
7 16 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 16 ▶use PPI::Node;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10  
11 16 has 'from' => ( is => 'rw', isa => 'Int' );
12 16 has 'to' => ( is => 'rw', isa => 'Int' );
13 16 has 'ppi_node' => ( is => 'rw', isa => 'PPI::Node' );
14  
15 0 ▶sub stringify {
Subroutine stringify: not called CC=1 SCAR=6.9
Pod undocumented
16 0 my ($self) = @_;
17
18 0 die 'implement me';
19 }
20  
21 16 1;
22  
23 __END__
« Perl/Analysis/Static/Analysis/Use.pm ↑ Summary Perl/Analysis/Static/Question.pm »