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.38; | ||||||
3 | 4 | 66 | 4 | 3976 | *{$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 | 15 | |||||
5 | 5 | 29 | |||||
5 | 10 | ||||||
5 | 19 | ||||||
11 | 55 | ||||||
11 | 35 | ||||||
8 | 56 | ||||||
8 | 38 | ||||||
6 | 28 | ||||||
6 | 155 |