Mildew/AST/Goto.pm

filter: Statementstmt 85.7% 24 / 28 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 10 / 12 Podpod n/a totaltotal 85.0% 34 / 40 CC 1 SCAR 0.7
CC
1
Cov
86%
__ANON__
1.3
__ANON__
1.3
BEGIN
1.1
CRAP 1.1
« Mildew/AST/Base.pm ↑ Summary Mildew/AST/Pair.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::Goto 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.1
4 4 has 'block' => (is => 'rw');
5 0 ▶ method pretty {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
6 0 "goto ".$self->block->id;
7 4 }
8 0 ▶ method m0ld($target) {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
9 0 "goto ".$self->block->id.";\n";
10 4 }
11 4 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
« Mildew/AST/Base.pm ↑ Summary Mildew/AST/Pair.pm »