App/lcpan/Cmd/author_mods_by_rdep_count.pm

filter: Statementstmt 85.0% 17 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 84.0% 21 / 25 CC 1 SCAR 2.2
CC
1
Cov
85%
handle_cmd
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« App/lcpan/Cmd/x_mentions_for_mod.pm ↑ Summary App/lcpan/Cmd/author_dists.pm »
1 package App::lcpan::Cmd::author_mods_by_rdep_count;
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 1 require App::lcpan::Cmd::mods_by_rdep_count;
9  
10 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
11 1 our $DATE = '2023-09-26'; # DATE
12 1 our $DIST = 'App-lcpan'; # DIST
13 1 our $VERSION = '1.074'; # VERSION
14  
15 1 our %SPEC;
16  
17 1 $SPEC{'handle_cmd'} = {
18 v => 1.1,
19 summary => 'List modules of an author sorted by their number of reverse dependencies',
20 args => {
21 %App::lcpan::common_args,
22 %App::lcpan::author_args,
23 %App::lcpan::detail_args,
24 },
25 tags => [],
26 };
27 0 ▶sub handle_cmd {
Subroutine handle_cmd: not called CC=1 SCAR=6.9
Pod documented
28 0 my %args = @_;
29  
30 0 $args{module_authors} = [delete $args{author}];
31 0 App::lcpan::Cmd::mods_by_rdep_count::handle_cmd(%args);
32 }
33  
34 1 1;
35 # ABSTRACT: List modules of an author sorted by their number of reverse dependencies
36  
37 __END__
« App/lcpan/Cmd/x_mentions_for_mod.pm ↑ Summary App/lcpan/Cmd/author_dists.pm »