blib/lib/Mo/build.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | 2 | 3 | 66.6 |
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 16 | 17 | 94.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mo::build;my$M="Mo::"; | ||||||
2 | $VERSION=0.39; | ||||||
3 | 4 | 66 | 6 | 3580 | *{$M.'build::e'}=sub{my($P,$e)=@_;$e->{new}=sub{$c=shift;my$s=&{$M.Object::new}($c,@_);my@B;do{@B=($c.::BUILD,@B)}while($c)=@{$c.::ISA};exists&$_&&&$_($s)for@B;$s}}; | ||
4 | 6 | 18 | |||||
5 | 5 | 40 | |||||
5 | 11 | ||||||
5 | 20 | ||||||
7 | 35 | ||||||
7 | 94 | ||||||
12 | 78 | ||||||
12 | 55 | ||||||
3 | 25 | ||||||
3 | 10 |