Remote/GlobContainer.pm

filter: Statementstmt 75.0% 12 / 16 Branchbran 25.0% 1 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod n/a totaltotal 66.6% 16 / 24 CC 3 SCAR 7.9
CC
3
Cov
65%
AUTOLOAD
2.8
AUTOLOAD
2.8
BEGIN
1.0
CRAP 2.2
« Remote/Logging/Logger.pm ↑ Summary Remote/Connector/Local.pm »
1 package Object::Remote::GlobContainer;
2 11 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 11 ▶use FileHandle;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 11 has _handle => (is => 'ro', required => 1, init_arg => 'handle');
6  
7 1 ▶sub AUTOLOAD {
Subroutine AUTOLOAD: called CC=2 SCAR=10.3
8 0 ▶ my ($self, @args) = @_;
Subroutine AUTOLOAD: not called CC=2 SCAR=10.3
9 0 (my $method) = our $AUTOLOAD =~ m{::([^:]+)$};
10 0 ▶ return if $method eq 'DESTROY';
Branch: 2 branches
BranchTrueFalseTotal
if $method eq "DESTROY" 0 0 0
if $method eq "DESTROY" 0 1 1
11 0 return $self->_handle->$method(@args);
12 }
13  
14 11 1;
« Remote/Logging/Logger.pm ↑ Summary Remote/Connector/Local.pm »