Mildew/AST/Base.pm

filter: Statementstmt 80.9% 34 / 42 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 77.7% 14 / 18 Podpod n/a totaltotal 80.0% 48 / 60 CC 1 SCAR 0.9
CC
1
Cov
81%
__ANON__
1.3
__ANON__
1.3
__ANON__
1.3
CRAP 1.1
« Mildew/AST/Branch.pm ↑ Summary Mildew/AST/Goto.pm »
1 4 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use Forest::Tree;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use MooseX::Declare;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶class Mildew::AST::Base {
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine __ANON__: called CC=1 SCAR=0.2
5 4 ▶ use YAML::XS;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 has id=>(is=>'ro',lazy_build=>1);
7 0 ▶ method pretty {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
8 0 Dump($self);
9 4 }
10 0 ▶ method forest {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
11 0 Forest::Tree->new(node=>$self->pretty,children=>[]);
12 4 }
13 4 my $UID;
14 0 ▶ method _build_id {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
15 0 $UID++;
16 4 }
17 0 ▶ method took {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
18 0 0;
19 4 }
20 4 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
« Mildew/AST/Branch.pm ↑ Summary Mildew/AST/Goto.pm »