API2/Outlines.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 28 / 28 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« API2/Content/Text.pm ↑ Summary API2/Resource/CIDFont/CJKFont/adobesongstdlightacro.data »
1 package PDF::API2::Outlines;
2  
3 2 ▶use base 'PDF::API2::Outline';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = '2.044'; # VERSION
9  
10 2 ▶use PDF::API2::Basic::PDF::Utils;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 sub new {
13 3 ▶ my ($class, $api) = @_;
Subroutine new: called CC=1 SCAR=0.0
Pod documented
14 3 my $self = $class->SUPER::new($api);
15 3 $self->{'Type'} = PDFName('Outlines');
16  
17 3 return $self;
18 }
19  
20 sub count {
21 11 ▶ my $self = shift();
Subroutine count: called CC=1 SCAR=0.0
Pod documented
22 11 return abs($self->SUPER::count());
23 }
24  
25 2 1;
« API2/Content/Text.pm ↑ Summary API2/Resource/CIDFont/CJKFont/adobesongstdlightacro.data »