Elemental/Flat.pm

filter: Statementstmt 64.2% 9 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 61.1% 11 / 18 CC 1 SCAR 2.9
CC
1
Cov
64%
as_debug_string
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Elemental/Paragraph.pm ↑ Summary Elemental/Element/Generic/Blank.pm »
1 package Pod::Elemental::Flat 0.103006;
2 # ABSTRACT: a content-only pod paragraph
3  
4 15 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 15 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 #pod =head1 OVERVIEW
9 #pod
10 #pod Pod::Elemental::Flat is a role that is included to indicate that a class
11 #pod represents a Pod paragraph that will have no children, and represents only its
12 #pod own content. Generally it is used for text paragraphs.
13 #pod
14 #pod =cut
15  
16 15 with 'Pod::Elemental::Paragraph';
17 15 excludes 'Pod::Elemental::Node';
18  
19 0 ▶sub as_debug_string {
Subroutine as_debug_string: not called CC=1 SCAR=6.9
Pod undocumented
20 0 my ($self) = @_;
21  
22 0 my $moniker = ref $self;
23 0 $moniker =~ s/\APod::Elemental::Element:://;
24  
25 0 my $summary = $self->_summarize_string($self->content);
26  
27 0 return "$moniker <$summary>";
28 }
29  
30 15 1;
31  
32 __END__
« Elemental/Paragraph.pm ↑ Summary Elemental/Element/Generic/Blank.pm »