Pod/Weaver/SectionBase/CollectWithIntro.pm

filter: Statementstmt 95.4% 21 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod n/a totaltotal 92.8% 26 / 28 CC 1 SCAR 0.2
CC
1
Cov
95%
__ANON__
1.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Pod/Weaver/PluginBundle/RSRCHBOY.pm ↑ Summary Pod/Weaver/Section/RSRCHBOY/GeneratedAttributes.pm »
1 #
2 # This file is part of Dist-Zilla-PluginBundle-RSRCHBOY
3 #
4 # This software is Copyright (c) 2026 by Chris Weyl.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 package Pod::Weaver::SectionBase::CollectWithIntro;
11 5 our $AUTHORITY = 'cpan:RSRCHBOY';
12 5 $Pod::Weaver::SectionBase::CollectWithIntro::VERSION = '0.080';
13 # ABSTRACT: Extends CollectWithIntro to provide a better default plugin name
14  
15 5 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 5 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 5 ▶use autobox::Core;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 5 ▶use MooseX::AttributeShortcuts;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 5 ▶use MooseX::NewDefaults;
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 5 extends 'Pod::Weaver::Section::CollectWithIntro';
22  
23 0 ▶default_for plugin_name => sub { shift->ref->split(qr/::/)->pop };
Subroutine __ANON__: not called CC=1 SCAR=1.2
24  
25 5 __PACKAGE__->meta->make_immutable;
26 5 !!42;
27  
28 __END__
« Pod/Weaver/PluginBundle/RSRCHBOY.pm ↑ Summary Pod/Weaver/Section/RSRCHBOY/GeneratedAttributes.pm »