Builder/Resource/Pattern.pm

filter: Statementstmt 75.0% 12 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 100% 1 / 1 totaltotal 76.1% 16 / 21 CC 1 SCAR 2.2
CC
1
Cov
75%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Builder/Resource/XObject.pm ↑ Summary Builder/Resource/XObject/Form/Hybrid.pm »
1 package PDF::Builder::Resource::Pattern;
2  
3 39 ▶use base 'PDF::Builder::Resource';
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 39 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 39 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 39 our $VERSION = '3.028'; # VERSION
9 39 our $LAST_UPDATE = '3.027'; # manually update whenever code is changed
10  
11 =head1 NAME
12  
13 PDF::Builder::Resource::Pattern - Support stub for fill patterns
14  
15 Inherits from L<PDF::Builder::Resource>
16  
17 =head1 METHODS
18  
19 =head2 new
20  
21 PDF::Builder::Resource::Pattern->new()
22  
23 =over
24  
25 Create a new pattern object.
26  
27 =back
28  
29 =cut
30  
31 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
32 0 my ($class, $pdf, $name) = @_;
33  
34 0 my $self = $class->SUPER::new($pdf, $name);
35  
36 0 $self->type('Pattern');
37  
38 0 return $self;
39 }
40  
41 39 1;
« Builder/Resource/XObject.pm ↑ Summary Builder/Resource/XObject/Form/Hybrid.pm »