blib/lib/PDF/API2/Resource/Pattern.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 13 | 69.2 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 1 | 1 | 100.0 |
total | 13 | 18 | 72.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package PDF::API2::Resource::Pattern; | ||||||
2 | |||||||
3 | 38 | 38 | 294 | use base 'PDF::API2::Resource'; | |||
38 | 108 | ||||||
38 | 3823 | ||||||
4 | |||||||
5 | 38 | 38 | 261 | use strict; | |||
38 | 84 | ||||||
38 | 770 | ||||||
6 | 38 | 38 | 188 | use warnings; | |||
38 | 85 | ||||||
38 | 3636 | ||||||
7 | |||||||
8 | our $VERSION = '2.044'; # VERSION | ||||||
9 | |||||||
10 | sub new { | ||||||
11 | 0 | 0 | 1 | my ($class, $pdf, $name) = @_; | |||
12 | 0 | my $self = $class->SUPER::new($pdf, $name); | |||||
13 | |||||||
14 | 0 | $self->type('Pattern'); | |||||
15 | |||||||
16 | 0 | return $self; | |||||
17 | } | ||||||
18 | |||||||
19 | 1; |