Mildew/AST/IntegerConstant.pm

filter: Statementstmt 76.3% 29 / 38 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 70.5% 12 / 17 Podpod n/a totaltotal 74.5% 41 / 55 CC 1 SCAR 1.0
CC
1
Cov
76%
__ANON__
1.3
__ANON__
1.3
__ANON__
1.3
CRAP 1.1
« Mildew/AST/Reg.pm ↑ Summary Mildew/AST/Branch.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::IntegerConstant 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 'value' => (is=>'ro');
5 0 ▶ has 'type_info' => (is=>'ro',lazy=>1,default=>sub {Mildew::TypeInfo::IntegerConstant->new()});
Subroutine __ANON__: not called CC=1 SCAR=1.2
6 0 ▶ method m0ld($ret) {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
7 0 "my $ret = ".$self->value.";\n";
8 4 }
9 0 ▶ method pretty {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
10 0 $self->value
11 4 }
12 0 ▶ method simplified {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
13 0 $self;
14 4 }
15 0 ▶ method m0ld_literal {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
16 0 $self->value;
17 4 }
18 4 ▶ }
Subroutine BEGIN: called CC=1 SCAR=0.0
« Mildew/AST/Reg.pm ↑ Summary Mildew/AST/Branch.pm »