File Coverage

blib/lib/Mo/xs.pm
Criterion Covered Total %
statement 3 5 60.0
branch 1 2 50.0
condition n/a
subroutine 1 2 50.0
pod n/a
total 5 9 55.5


line stmt bran cond sub pod time code
1             package Mo::xs;my$M="Mo::";
2             $VERSION=0.38;
3 0 50   0   0 require Class::XSAccessor;*{$M.'xs::e'}=sub{my($P,$e,$o,$f)=@_;$P=~s/::$//;$e->{has}=sub{my($n,%a)=@_;Class::XSAccessor->import(class=>$P,accessors=>{$n=>$n})}if!grep!/^xs$/,@$f};
  0     1   0  
  1         3  
  1         5  
  1         63