blib/lib/Mo/chain.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | 4 | 4 | 100.0 |
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | n/a | ||
total | 14 | 14 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Mo::chain;my$M="Mo::"; | ||||||
2 | $VERSION=0.39; | ||||||
3 | 2 | 100 | 2 | 3 | *{$M.'chain::e'}=sub{my($P,$e,$o)=@_;$o->{chain}=sub{my($m,$n,%a)=@_;$a{chain}or return$m;sub{$#_?($m->(@_),return$_[0]):$m->(@_)}}}; | ||
2 | 100 | 21 | 64 | ||||
6 | 21 | 16 | |||||
6 | 6 | 22 | |||||
4 | 28 | ||||||
21 | 72 |