Admin.pm

filter: Statementstmt 85.7% 18 / 21 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 77.4% 24 / 31 CC 3 SCAR 15.4
CC
3
Cov
78%
run
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 4.7
« Admin/Command.pm ↑ Summary Admin/Command/Amend.pm »
1 1 ▶use v5.38;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use feature qw( class );
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶no warnings qw( experimental::class );
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use ENV::Util -load_dotenv;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Pod::Usage;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use CPANSEC::Admin::Command;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 class CPANSEC::Admin 0.001 {
10 0 ▶ method run (@args) {
Subroutine run: not called CC=3 SCAR=24.8
Pod undocumented
11 0 my $dispatcher = CPANSEC::Admin::Command->new( config => {ENV::Util::prefix2hash('CPANSEC_')} );
12 0 $dispatcher->load($_) for qw(Help CVEScan Triage Publish); # Show New);
13 0 ▶ $dispatcher->run(@args) or $dispatcher->run('help');
Branch: 1 branch
BranchTrueFalseTotal
$dispatcher->run(@args) or $dispatcher->run("help") 0 0 0
14 }
15 }
16 __END__
« Admin/Command.pm ↑ Summary Admin/Command/Amend.pm »