Remote/CodeContainer.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
call
2.0
BEGIN
2.0
CRAP 2.0
1 package Object::Remote::CodeContainer;
2  
3 use Moo;
4  
5 has code => (is => 'ro', required => 1);
6  
7 sub call {
8 my $self = shift;
9 $self->code->(@_)
10 }
11  
12 1;