autodie/skip.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 75.0% 12 / 16 CC 1 SCAR 2.9
CC
1
Cov
77%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« autodie/Scope/GuardStack.pm ↑ Summary autodie/exception/system.pm »
1 package autodie::skip;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $VERSION = '2.37'; # VERSION
6  
7 # This package exists purely so people can inherit from it,
8 # which isn't at all how roles are supposed to work, but it's
9 # how people will use them anyway.
10  
11 1 ▶if ($] < 5.010) {
Branch: 1 branch
BranchTrueFalseTotal
if ($] < "5.01") 0 1 1
12 # Older Perls don't have a native ->DOES. Let's provide a cheap
13 # imitation here.
14  
15 0 ▶ *DOES = sub { return shift->isa(@_); };
Subroutine __ANON__: not called CC=1 SCAR=6.9
16 }
17  
18 1 1;
19  
20 __END__
« autodie/Scope/GuardStack.pm ↑ Summary autodie/exception/system.pm »