blib/lib/Test2/Require/AuthorTesting.pm

filter: Statementstmt 100% 14 / 14 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 95.2% 20 / 21 CC 2 SCAR 3.4
CC
2
Cov
100%
skip
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« blib/lib/Test2/Event/Pass.pm ↑ Summary blib/lib/Test2/Require/AutomatedTesting.pm »
1 package Test2::Require::AuthorTesting;
2 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 ▶use base 'Test2::Require';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 our $VERSION = '1.302226';
8  
9 4 ▶sub skip {
Subroutine skip: called CC=2 SCAR=6.9
Pod undocumented
10 4 my $class = shift;
11 4 ▶ return undef if $ENV{'AUTHOR_TESTING'};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"AUTHOR_TESTING"} 1 3 4
12 3 return 'Author test, set the $AUTHOR_TESTING environment variable to run it';
13 }
14  
15 3 1;
16  
17 __END__
« blib/lib/Test2/Event/Pass.pm ↑ Summary blib/lib/Test2/Require/AutomatedTesting.pm »