scripts/yath

filter: Statementstmt 92.3% 12 / 13 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 85.0% 17 / 20 CC 3 SCAR 8.8
CC
3
Cov
82%
BEGIN
3.3
BEGIN
1.0
BEGIN
1.0
CRAP 2.4
« lib/App/Yath/Script/V0.pm ↑ Summary
1 #!/usr/bin/perl
2 12 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 12 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 12 our $VERSION = '2.000017';
6  
7 12 ▶BEGIN {
Subroutine BEGIN: called CC=3 SCAR=12.0
8 12 ▶ return if $^C;
Branch: 1 branch
BranchTrueFalseTotal
if $^C 0 12 12
9  
10 # Same as App::Yath::Script::inject_includes(), which cannot run yet: any
11 # @INC hook in this process was installed by PERL5OPT and must be kept.
12 0 @INC = (grep({ ref $_ } @INC), split(/;/, $ENV{T2_HARNESS_INCLUDES}))
13 12 ▶ if $ENV{T2_HARNESS_INCLUDES};
Branch: 1 branch
BranchTrueFalseTotal
if $ENV{"T2_HARNESS_INCLUDES"} 0 12 12
14  
15 12 require App::Yath::Script;
16  
17 12 App::Yath::Script::do_begin();
18 }
19  
20 12 exit(App::Yath::Script::do_runtime());
21  
22 __END__
« lib/App/Yath/Script/V0.pm ↑ Summary