Moose/Instrument/Keysight34470A.pm

filter: Statementstmt 69.5% 16 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 71.4% 20 / 28 CC 1 SCAR 1.8
CC
1
Cov
70%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Moose/Instrument/SCPI/Initiate.pm ↑ Summary Moose/Connection/WWW.pm »
1 package Lab::Moose::Instrument::Keysight34470A;
2 1 $Lab::Moose::Instrument::Keysight34470A::VERSION = '3.931';
3 #ABSTRACT: Keysight 34470A digital multimeter.
4  
5 1 ▶use v5.20;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 1 extends 'Lab::Moose::Instrument::HP34410A';
14  
15 0 ▶around default_connection_options => sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
16 0 my $orig = shift;
17 0 my $self = shift;
18 0 my $options = $self->$orig();
19 0 my $usb_opts = { vid => 0x2a8d, pid => 0x0201 };
20 0 $options->{USB} = $usb_opts;
21 0 $options->{'VISA::USB'} = $usb_opts;
22 0 return $options;
23 1 };
24  
25 1 __PACKAGE__->meta()->make_immutable();
26  
27 1 1;
28  
29 __END__
« Moose/Instrument/SCPI/Initiate.pm ↑ Summary Moose/Connection/WWW.pm »