blib/lib/Test2/Require/AutomatedTesting.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/Require/AuthorTesting.pm ↑ Summary blib/lib/Test2/Require/ExtendedTesting.pm »
1 package Test2::Require::AutomatedTesting;
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 ▶use base 'Test2::Require';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 our $VERSION = '1.302226';
8  
9 2 ▶sub skip {
Subroutine skip: called CC=2 SCAR=6.9
Pod undocumented
10 2 my $class = shift;
11 2 ▶ return undef if $ENV{'AUTOMATED_TESTING'};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"AUTOMATED_TESTING"} 1 1 2
12 1 return 'Automated test, set the $AUTOMATED_TESTING environment variable to run it';
13 }
14  
15 1 1;
16  
17 __END__
« blib/lib/Test2/Require/AuthorTesting.pm ↑ Summary blib/lib/Test2/Require/ExtendedTesting.pm »