Finnigan/CASInfo.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 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Finnigan/ScanEventTemplate.pm ↑ Summary Finnigan/CASInfoPreamble.pm »
1 package Finnigan::CASInfo;
2  
3 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use warnings FATAL => qw( all );
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 our $VERSION = 0.0206;
6  
7 2 ▶use Finnigan;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use base 'Finnigan::Decoder';
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 ▶sub decode {
Subroutine decode: called CC=1 SCAR=0.0
Pod documented
11 1 my ($class, $stream) = @_;
12  
13 1 my $fields = [
14 preamble => ['object', 'Finnigan::CASInfoPreamble'],
15 text => ['varstr', 'PascalStringWin32'],
16 ];
17  
18 1 my $self = Finnigan::Decoder->read($stream, $fields);
19  
20 1 return bless $self, $class;
21 }
22  
23 1 ▶sub preamble {
Subroutine preamble: called CC=1 SCAR=0.0
Pod documented
24 1 my ( $self ) = @_;
25 1 $self->{data}->{preamble}->{value};
26 }
27  
28 2 1;
29 __END__
« Finnigan/ScanEventTemplate.pm ↑ Summary Finnigan/CASInfoPreamble.pm »