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 SCAR 0.3
CC
1
Cov
70%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Moose/Connection/HTTP.pm ↑ Summary Moose/Connection/WWW.pm »
1 package Lab::Moose::Instrument::Keysight34470A;
2 1 $Lab::Moose::Instrument::Keysight34470A::VERSION = '3.881';
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 around default_connection_options => sub {
16 0 ▶ my $orig = shift;
Subroutine __ANON__: not called CC=1 SCAR=6.9
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__
30  
31 =pod
32  
33 =encoding UTF-8
34  
35 =head1 NAME
36  
37 Lab::Moose::Instrument::Keysight34470A - Keysight 34470A digital multimeter.
38  
39 =head1 VERSION
40  
41 version 3.881
42  
43 =head1 DESCRIPTION
44  
45 Inherits from L<Lab::Moose::Instrument::HP34410A>
46  
47 =head1 COPYRIGHT AND LICENSE
48  
49 This software is copyright (c) 2023 by the Lab::Measurement team; in detail:
50  
51 Copyright 2018 Simon Reinhardt
52 2020 Andreas K. Huettel
53  
54  
55 This is free software; you can redistribute it and/or modify it under
56 the same terms as the Perl 5 programming language system itself.
57  
58 =cut
« Moose/Connection/HTTP.pm ↑ Summary Moose/Connection/WWW.pm »