Parser/CentralDirectoryEnd.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 11 / 11 Podpod 100% 9 / 9 totaltotal 100% 45 / 45 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
get_signature
1.0
CRAP 1.0
« Parser/Entry/CentralDirectory.pm ↑ Summary Parser/Entry/DataDescriptor.pm »
1 package Archive::Zip::Parser::CentralDirectoryEnd;
2  
3 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶sub get_signature {
Subroutine get_signature: called CC=1 SCAR=0.0
Pod documented
7 1 my $self = shift;
8 1 return unpack( 'H*', pack( 'N', $self->{'_signature'} ) );
9 }
10  
11 1 ▶sub get_disk_number {
Subroutine get_disk_number: called CC=1 SCAR=0.0
Pod documented
12 1 my $self = shift;
13 1 return $self->{'_disk_number'};
14 }
15  
16 1 ▶sub get_start_disk_number {
Subroutine get_start_disk_number: called CC=1 SCAR=0.0
Pod documented
17 1 my $self = shift;
18 1 return $self->{'_start_disk_number'};
19 }
20  
21 1 ▶sub get_total_disk_entries {
Subroutine get_total_disk_entries: called CC=1 SCAR=0.0
Pod documented
22 1 my $self = shift;
23 1 return $self->{'_total_disk_entries'};
24 }
25  
26 1 ▶sub get_total_entries {
Subroutine get_total_entries: called CC=1 SCAR=0.0
Pod documented
27 1 my $self = shift;
28 1 return $self->{'_total_entries'};
29 }
30  
31 1 ▶sub get_size {
Subroutine get_size: called CC=1 SCAR=0.0
Pod documented
32 1 my $self = shift;
33 1 return $self->{'_size'};
34 }
35  
36 1 ▶sub get_start_offset {
Subroutine get_start_offset: called CC=1 SCAR=0.0
Pod documented
37 1 my $self = shift;
38 1 return $self->{'_start_offset'};
39 }
40  
41 1 ▶sub get_zip_comment_length {
Subroutine get_zip_comment_length: called CC=1 SCAR=0.0
Pod documented
42 1 my $self = shift;
43 1 return $self->{'_zip_comment_length'};
44 }
45  
46 1 ▶sub get_zip_comment {
Subroutine get_zip_comment: called CC=1 SCAR=0.0
Pod documented
47 1 my $self = shift;
48 1 return $self->{'_zip_comment'};
49 }
50  
51 3 1;
52 __END__
« Parser/Entry/CentralDirectory.pm ↑ Summary Parser/Entry/DataDescriptor.pm »