Element/List.pm

filter: Statementstmt 73.9% 17 / 23 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 70.0% 21 / 30 CC 3 SCAR 18.7
CC
3
Cov
68%
items
12.0
BEGIN
1.0
BEGIN
1.0
CRAP 6.5
« Element/Headline.pm ↑ Summary Element/Table.pm »
1 package Org::Element::List;
2  
3 7 ▶use 5.010;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 7 ▶use locale;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 7 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 7 extends 'Org::Element';
7  
8 7 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
9 7 our $DATE = '2026-07-21'; # DATE
10 7 our $DIST = 'Org-Parser'; # DIST
11 7 our $VERSION = '0.563'; # VERSION
12  
13 7 has indent => (is => 'rw');
14 7 has type => (is => 'rw');
15 7 has bullet_style => (is => 'rw');
16  
17 0 ▶sub items {
Subroutine items: not called CC=3 SCAR=24.8
Pod documented
18 0 my $self = shift;
19 0 my @items;
20 0 for (@{ $self->children }) {
21 0 ▶ push @items, $_ if $_->isa('Org::Element::ListItem');
Branch: 1 branch
BranchTrueFalseTotal
if $_->isa("Org::Element::ListItem") 0 0 0
22 }
23 0 \@items;
24 }
25  
26 7 1;
27 # ABSTRACT: Represent Org list
28  
29 __END__
« Element/Headline.pm ↑ Summary Element/Table.pm »