Perl/Analysis/Static/Element/Declaration/Package.pm

filter: Statementstmt 80.0% 8 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 100% 1 / 1 totaltotal 76.9% 10 / 13 CC 1 SCAR 4.1
CC
1
Cov
80%
stringify
2.0
BEGIN
1.0
CRAP 1.5
« Perl/Analysis/Static/Element/Block.pm ↑ Summary Perl/Analysis/Static/Element/Declaration/Variable.pm »
1 package Perl::Analysis::Static::Element::Declaration::Package;
2 {
3 1 $Perl::Analysis::Static::Element::Declaration::Package::VERSION = '0.004'; # TRIAL
4 }
5 # ABSTRACT: declaration of a package
6  
7 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 extends 'Perl::Analysis::Static::Element::Declaration';
10  
11 1 has 'name' => ( is => 'rw', isa => 'Str' );
12  
13  
14 0 ▶sub stringify {
Subroutine stringify: not called CC=1 SCAR=6.9
Pod documented
15 0 my ($self)=@_;
16
17 0 return $self->from.': '.$self->name;
18 }
19  
20 1 1;
21 __END__
« Perl/Analysis/Static/Element/Block.pm ↑ Summary Perl/Analysis/Static/Element/Declaration/Variable.pm »