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 CC 1 SCAR 4.1
CC
1
Cov
83%
is_block
2.0
is_inline
2.0
BEGIN
1.0
CRAP 1.5
« Element/ListItem.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 = '2026-07-21'; # DATE
12 31 our $DIST = 'Org-Parser'; # DIST
13 31 our $VERSION = '0.563'; # VERSION
14  
15 31 1;
16 # ABSTRACT: Role for block elements
17  
18 __END__
« Element/ListItem.pm ↑ Summary Element/Comment.pm »