blib/lib/Mo/build.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | 2 | 3 | 66.6 |
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 15 | 16 | 93.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mo::build; | ||||||
2 | $Mo::build::VERSION = '0.40';my$M="Mo::"; | ||||||
3 | $VERSION='0.40'; | ||||||
4 | 9 | 66 | 9 | 2767 | *{$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}}; | ||
9 | 5 | 103 | |||||
5 | 30 | ||||||
5 | 9 | ||||||
5 | 12 | ||||||
10 | 39 | ||||||
10 | 22 | ||||||
9 | 63 | ||||||
9 | 35 | ||||||
1 | 10 | ||||||
1 | 4 |