Exception/InvalidArrayPointer.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 73.3% 11 / 15 CC 1 SCAR 2.9
CC
1
Cov
82%
error
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Exception/InvalidArrayLength.pm ↑ Summary Exception/MissingParameter.pm »
1 package Catalyst::Exception::InvalidArrayPointer;
2  
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 2 extends 'Catalyst::Exception::StructuredParameter';
7  
8 2 has 'pointer' => (is=>'ro', required=>1);
9  
10 0 ▶sub error {
Subroutine error: not called CC=1 SCAR=6.9
Pod undocumented
11 0 return "Pointer '@{[ $_[0]->pointer ]}' is not an array.";
12 }
13  
14 2 __PACKAGE__->meta->make_immutable;
« Exception/InvalidArrayLength.pm ↑ Summary Exception/MissingParameter.pm »