ElementRole/Block.pm

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