Mildew/AST/Reg.pm

filter: Statementstmt 76.1% 32 / 42 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 72.2% 13 / 18 Podpod n/a totaltotal 75.0% 45 / 60 CC 1 SCAR 1.1
CC
1
Cov
76%
__ANON__
1.3
__ANON__
1.3
__ANON__
1.3
CRAP 1.1
« Mildew/AST/Let.pm ↑ Summary Mildew/AST/IntegerConstant.pm »
1 4 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use MooseX::Declare;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶class Mildew::AST::Reg extends 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.3
4 4 has 'name' => (is=>'ro');
5 4 has 'real_name' => (is=>'ro');
6 4 has 'type_info' => (is=>'rw');
7 0 ▶ method m0ld($ret) {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
8 0 "my $ret = ".$self->name.";\n";
9 4 }
10 0 ▶ method pretty {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
11 #XXX metachars
12 0 $self->name;
13 4 }
14 0 ▶ method simplified {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
15 0 $self;
16 4 }
17 0 ▶ method m0ld_literal {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
18 0 $self->name;
19 4 }
20 0 ▶ method forest {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
21 0 Forest::Tree->new(node=>$self->pretty,children=>[Forest::Tree->new(node=>$self->type_info->type->pretty)]);
22 4 }
23 4 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
« Mildew/AST/Let.pm ↑ Summary Mildew/AST/IntegerConstant.pm »