Sub/changes_group_ala_perlancar.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 66.6% 16 / 24 CC 1 SCAR 3.4
CC
1
Cov
76%
meta
2.0
gen_sorter
2.0
BEGIN
1.0
CRAP 1.4
« Sub/pod_section_ala_perlancar.pm ↑ Summary SubBundle/PERLANCAR.pm »
1 package Sort::Sub::changes_group_ala_perlancar;
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 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
8 1 our $DATE = '2024-01-08'; # DATE
9 1 our $DIST = 'Sort-SubBundle-PERLANCAR'; # DIST
10 1 our $VERSION = '0.093'; # VERSION
11  
12 0 ▶sub meta {
Subroutine meta: not called CC=1 SCAR=6.9
Pod undocumented
13 return {
14 0 v => 1,
15 summary => 'Sort changes group heading PERLANCAR-style',
16 };
17 }
18  
19 0 ▶sub gen_sorter {
Subroutine gen_sorter: not called CC=1 SCAR=6.9
Pod undocumented
20 0 require Sort::BySpec;
21  
22 0 my ($is_reverse, $is_ci) = @_;
23  
24 0 Sort::BySpec::cmp_by_spec(
25 spec => [
26 '',
27 qr/break|incompatible/i,
28 qr/remove|delete/i,
29 qr/new|feature/i,
30 qr/enhance/i,
31 qr/bug|fix/i,
32 ],
33 reverse => $is_reverse,
34 );
35 }
36  
37 1 1;
38 # ABSTRACT: Sort changes group heading PERLANCAR-style
39  
40 __END__
« Sub/pod_section_ala_perlancar.pm ↑ Summary SubBundle/PERLANCAR.pm »