Finnigan/InjectionData.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Finnigan/GenericRecord.pm ↑ Summary Finnigan/OLE2FAT.pm »
1 package Finnigan::InjectionData;
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 "unknown_long[1]" => ['V', 'UInt32'],
15 "n" => ['V', 'UInt32'],
16 "unknown_long[2]" => ['V', 'UInt32'],
17 vial => ['U0C12', 'UTF16LE'],
18 "inj volume" => ['d<', 'Float64'],
19 "weight" => ['d<', 'Float64'],
20 "volume" => ['d<', 'Float64'],
21 "istd amount" => ['d<', 'Float64'],
22 "dilution factor" => ['d<', 'Float64'],
23 ];
24  
25 1 my $self = Finnigan::Decoder->read($stream, $fields);
26  
27 1 return bless $self, $class;
28 }
29  
30 1 ▶sub n {
Subroutine n: called CC=1 SCAR=0.0
Pod documented
31 1 shift->{data}->{n}->{value};
32 }
33 2 1;
34  
35 __END__
« Finnigan/GenericRecord.pm ↑ Summary Finnigan/OLE2FAT.pm »