XCompletion/perl_distname.pm

filter: Statementstmt 81.8% 18 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 100% 1 / 1 totaltotal 79.3% 23 / 29 CC 1 SCAR 2.9
CC
1
Cov
82%
gen_completion
2.0
__ANON__
2.0
BEGIN
1.0
CRAP 1.3
↑ Summary XCompletion/perl_modname.pm »
1 package Perinci::Sub::XCompletion::perl_distname;
2  
3 1 ▶use 5.010001;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 1 ▶use Complete::Dist qw(complete_dist);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
10 1 our $DATE = '2022-11-25'; # DATE
11 1 our $DIST = 'Perinci-Sub-XCompletionBundle-Perl'; # DIST
12 1 our $VERSION = '0.103'; # VERSION
13  
14 1 our %SPEC;
15  
16 $SPEC{gen_completion} = {
17 1 v => 1.1,
18 };
19 0 ▶sub gen_completion {
Subroutine gen_completion: not called CC=1 SCAR=6.9
Pod documented
20 0 my %fargs = @_;
21 0 ▶ sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
22 0 my %cargs = @_;
23 0 complete_dist(%cargs, %fargs);
24 0 };
25 }
26  
27 1 1;
28 # ABSTRACT: Generate completion for perl distribution name
29  
30 __END__
↑ Summary XCompletion/perl_modname.pm »