Element/TableHLine.pm

filter: Statementstmt 82.3% 14 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 75.0% 18 / 24 SCAR 7.3
CC
2
Cov
74%
as_string
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.1
« ElementRole/Inline.pm ↑ Summary Element/Target.pm »
1 package Org::Element::TableHLine;
2  
3 6 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use locale;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 6 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 6 extends 'Org::Element';
7  
8 6 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
9 6 our $DATE = '2023-08-05'; # DATE
10 6 our $DIST = 'Org-Parser'; # DIST
11 6 our $VERSION = '0.560'; # VERSION
12  
13 sub as_string {
14 0 ▶ my ($self) = @_;
Subroutine as_string: not called CC=2 SCAR=17.9
Pod documented
15 0 ▶ return $self->_str if $self->_str;
Branch: 1 branch
BranchTrueFalseTotal
if $self->_str 0 0 0
16 0 "|---\n";
17 }
18  
19 6 1;
20 # ABSTRACT: Represent Org table horizontal line
21  
22 __END__
23  
24 =pod
25  
26 =encoding UTF-8
27  
28 =head1 NAME
29  
30 Org::Element::TableHLine - Represent Org table horizontal line
31  
32 =head1 VERSION
33  
34 This document describes version 0.560 of Org::Element::TableHLine (from Perl distribution Org-Parser), released on 2023-08-05.
35  
36 =head1 DESCRIPTION
37  
38 Derived from L<Org::Element>.
39  
40 =head1 ATTRIBUTES
41  
42 =head1 METHODS
43  
44 =for Pod::Coverage as_string
45  
46 =head1 HOMEPAGE
47  
48 Please visit the project's homepage at L<https://metacpan.org/release/Org-Parser>.
49  
50 =head1 SOURCE
51  
52 Source repository is at L<https://github.com/perlancar/perl-Org-Parser>.
53  
54 =head1 AUTHOR
55  
56 perlancar <perlancar@cpan.org>
57  
58 =head1 CONTRIBUTING
59  
60  
61 To contribute, you can send patches by email/via RT, or send pull requests on
62 GitHub.
63  
64 Most of the time, you don't need to build the distribution yourself. You can
65 simply modify the code, then test via:
66  
67 % prove -l
68  
69 If you want to build the distribution (e.g. to try to install it locally on your
70 system), you can install L<Dist::Zilla>,
71 L<Dist::Zilla::PluginBundle::Author::PERLANCAR>,
72 L<Pod::Weaver::PluginBundle::Author::PERLANCAR>, and sometimes one or two other
73 Dist::Zilla- and/or Pod::Weaver plugins. Any additional steps required beyond
74 that are considered a bug and can be reported to me.
75  
76 =head1 COPYRIGHT AND LICENSE
77  
78 This software is copyright (c) 2023, 2022, 2021, 2020, 2019, 2017, 2016, 2015, 2014, 2013, 2012, 2011 by perlancar <perlancar@cpan.org>.
79  
80 This is free software; you can redistribute it and/or modify it under
81 the same terms as the Perl 5 programming language system itself.
82  
83 =head1 BUGS
84  
85 Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Org-Parser>
86  
87 When submitting a bug or request, please include a test-file or a
88 patch to an existing test-file that illustrates the bug or desired
89 feature.
90  
91 =cut
« ElementRole/Inline.pm ↑ Summary Element/Target.pm »