Aspect/Point/After.pm

filter: Statementstmt 100% 17 / 17 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 96.0% 24 / 25 SCAR 6.9
CC
2
Cov
100%
exception
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« Aspect/Pointcut/Wantarray.pm ↑ Summary Aspect/Point/Static.pm »
1 package Aspect::Point::After;
2  
3 21 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 21 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 21 ▶use Aspect::Point ();
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 21 our $VERSION = '0.97_06';
8 21 our @ISA = 'Aspect::Point';
9  
10 21 ▶use constant type => 'after';
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 sub exception {
13 24 ▶ return $_[0]->{exception} if defined wantarray;
Subroutine exception: called CC=2 SCAR=6.9
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
if defined wantarray 4 20 24
14 20 $_[0]->{exception} = $_[1];
15 }
16  
17 21 1;
18  
19 __END__
« Aspect/Pointcut/Wantarray.pm ↑ Summary Aspect/Point/Static.pm »