App/lcpan/Cmd/x_mentions_for_mod.pm

filter: Statementstmt 84.2% 16 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 83.3% 20 / 24 CC 1 SCAR 2.2
CC
1
Cov
84%
handle_cmd
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« App/lcpan/Cmd/db_path.pm ↑ Summary App/lcpan/Cmd/author_mods_by_rdep_count.pm »
1 package App::lcpan::Cmd::x_mentions_for_mod;
2  
3 1 ▶use 5.010;
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 require App::lcpan;
8  
9 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
10 1 our $DATE = '2023-09-26'; # DATE
11 1 our $DIST = 'App-lcpan'; # DIST
12 1 our $VERSION = '1.074'; # VERSION
13  
14 1 our %SPEC;
15  
16 1 $SPEC{'handle_cmd'} = {
17 v => 1.1,
18 summary => 'List distributions which has an x_mentions relationship '.
19 'dependency for specified module',
20 args => {
21 %App::lcpan::common_args,
22 %App::lcpan::mod_args,
23 %App::lcpan::detail_args,
24 },
25 };
26 0 ▶sub handle_cmd {
Subroutine handle_cmd: not called CC=1 SCAR=6.9
Pod documented
27 0 my %args = @_;
28  
29 0 $args{modules} = [delete $args{module}];
30 0 App::lcpan::rdeps(
31 %args,
32 rel => 'x_mentions',
33 phase => 'x_mentions',
34 );
35 }
36  
37 1 1;
38 # ABSTRACT: List distributions which has an x_mentions relationship dependency for specified module
39  
40 __END__
« App/lcpan/Cmd/db_path.pm ↑ Summary App/lcpan/Cmd/author_mods_by_rdep_count.pm »