Mildew/AST/Pair.pm

filter: Statementstmt 86.2% 25 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 10 / 12 Podpod n/a totaltotal 85.3% 35 / 41 CC 1 SCAR 0.7
CC
1
Cov
86%
__ANON__
1.3
__ANON__
1.3
BEGIN
1.1
CRAP 1.1
« Mildew/AST/Goto.pm ↑ Summary Mildew/AST/Comment.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::Pair 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 'key' => (is=>'ro');
5 4 has 'value' => (is=>'ro');
6 0 ▶ method m0ld {
Subroutine BEGIN: called CC=1 SCAR=1.2
Subroutine __ANON__: not called CC=1 SCAR=2.6
7 0 die('Pairs are here just to be seen as named arguments, for now.');
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 return ':'.$self->key->pretty.'('.$self->value->pretty.')';
11 4 }
12 4 ▶}
Subroutine BEGIN: called CC=1 SCAR=0.0
« Mildew/AST/Goto.pm ↑ Summary Mildew/AST/Comment.pm »