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 CC 2 SCAR 11.0
CC
2
Cov
74%
as_string
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.0
« Element/Drawer.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 = '2026-07-21'; # DATE
10 6 our $DIST = 'Org-Parser'; # DIST
11 6 our $VERSION = '0.563'; # VERSION
12  
13 0 ▶sub as_string {
Subroutine as_string: not called CC=2 SCAR=17.9
Pod documented
14 0 my ($self) = @_;
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__
« Element/Drawer.pm ↑ Summary Element/Target.pm »