File Coverage

blib/lib/Pod/Elemental/Element/Pod5/Ordinary.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Pod::Elemental::Element::Pod5::Ordinary 0.103006;
2             # ABSTRACT: a Pod5 ordinary text paragraph
3              
4 13     13   1122 use Moose;
  13         27  
  13         89  
5             extends 'Pod::Elemental::Element::Generic::Text';
6             with 'Pod::Elemental::Autoblank';
7             with 'Pod::Elemental::Autochomp';
8              
9             # BEGIN Autochomp Replacement
10 13     13   76207 use Pod::Elemental::Types qw(ChompedString);
  13         29  
  13         126  
11             has '+content' => (coerce => 1, isa => ChompedString);
12             # END Autochomp Replacement
13              
14             #pod =head1 OVERVIEW
15             #pod
16             #pod A Pod5::Ordinary element represents a plain old paragraph of text found in a
17             #pod Pod document that's gone through the Pod5 translator.
18             #pod
19             #pod =cut
20              
21 13     13   14007 use namespace::autoclean;
  13         31  
  13         108  
22              
23             __PACKAGE__->meta->make_immutable;
24              
25             1;
26              
27             __END__
28              
29             =pod
30              
31             =encoding UTF-8
32              
33             =head1 NAME
34              
35             Pod::Elemental::Element::Pod5::Ordinary - a Pod5 ordinary text paragraph
36              
37             =head1 VERSION
38              
39             version 0.103006
40              
41             =head1 OVERVIEW
42              
43             A Pod5::Ordinary element represents a plain old paragraph of text found in a
44             Pod document that's gone through the Pod5 translator.
45              
46             =head1 PERL VERSION
47              
48             This library should run on perls released even a long time ago. It should work
49             on any version of perl released in the last five years.
50              
51             Although it may work on older versions of perl, no guarantee is made that the
52             minimum required version will not be increased. The version may be increased
53             for any reason, and there is no promise that patches will be accepted to lower
54             the minimum required perl.
55              
56             =head1 AUTHOR
57              
58             Ricardo SIGNES <cpan@semiotic.systems>
59              
60             =head1 COPYRIGHT AND LICENSE
61              
62             This software is copyright (c) 2022 by Ricardo SIGNES.
63              
64             This is free software; you can redistribute it and/or modify it under
65             the same terms as the Perl 5 programming language system itself.
66              
67             =cut