| 1 | package Lab::XPRESS::Sweep::Dummy; | ||||||||||||||||||||
| 2 | #ABSTRACT: Dummy sweep | ||||||||||||||||||||
| 3 | 8 | $Lab::XPRESS::Sweep::Dummy::VERSION = '3.881'; | |||||||||||||||||||
| 4 | 8 | ▶ | use v5.20; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 5 | |||||||||||||||||||||
| 6 | 8 | ▶ | use Lab::XPRESS::Sweep; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 7 | 8 | ▶ | use Time::HiRes qw/usleep/, qw/time/; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 8 | 8 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 9 | |||||||||||||||||||||
| 10 | 8 | our @ISA = ('Lab::XPRESS::Sweep'); | |||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | sub new { | ||||||||||||||||||||
| 13 | 0 | ▶ | my $proto = shift; | ||||||||||||||||||
|
Subroutine
new: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||||||||||||
| 14 | 0 | my $code = shift; | |||||||||||||||||||
| 15 | 0 | my @args = @_; | |||||||||||||||||||
| 16 | 0 | ▶ | my $class = ref($proto) || $proto; | ||||||||||||||||||
|
Condition0%0/3
ref $proto || $proto
MC/DC0%0/2
ref $proto || $proto
ref $proto
$proto
Truth table0%0/3
A || B
A= ref $protoB= $proto
| |||||||||||||||||||||
| 17 | 0 | my $self->{default_config} = { id => 'Dummy_sweep' }; | |||||||||||||||||||
| 18 | $self = $class->SUPER::new( | ||||||||||||||||||||
| 19 | $self->{default_config}, | ||||||||||||||||||||
| 20 | $self->{default_config} | ||||||||||||||||||||
| 21 | 0 | ); | |||||||||||||||||||
| 22 | 0 | bless( $self, $class ); | |||||||||||||||||||
| 23 | |||||||||||||||||||||
| 24 | 0 | $self->{code} = $code; | |||||||||||||||||||
| 25 | |||||||||||||||||||||
| 26 | 0 | return $self; | |||||||||||||||||||
| 27 | } | ||||||||||||||||||||
| 28 | |||||||||||||||||||||
| 29 | sub start { | ||||||||||||||||||||
| 30 | 0 | ▶ | my $self = shift; | ||||||||||||||||||
|
Subroutine
start: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||
| 31 | 0 | return $self->{code}->($self); | |||||||||||||||||||
| 32 | } | ||||||||||||||||||||
| 33 | |||||||||||||||||||||
| 34 | 8 | 1; | |||||||||||||||||||
| 35 | |||||||||||||||||||||
| 36 | __END__ | ||||||||||||||||||||
| 37 | |||||||||||||||||||||
| 38 | =pod | ||||||||||||||||||||
| 39 | |||||||||||||||||||||
| 40 | =encoding UTF-8 | ||||||||||||||||||||
| 41 | |||||||||||||||||||||
| 42 | =head1 NAME | ||||||||||||||||||||
| 43 | |||||||||||||||||||||
| 44 | Lab::XPRESS::Sweep::Dummy - Dummy sweep | ||||||||||||||||||||
| 45 | |||||||||||||||||||||
| 46 | =head1 VERSION | ||||||||||||||||||||
| 47 | |||||||||||||||||||||
| 48 | version 3.881 | ||||||||||||||||||||
| 49 | |||||||||||||||||||||
| 50 | =head1 COPYRIGHT AND LICENSE | ||||||||||||||||||||
| 51 | |||||||||||||||||||||
| 52 | This software is copyright (c) 2023 by the Lab::Measurement team; in detail: | ||||||||||||||||||||
| 53 | |||||||||||||||||||||
| 54 | Copyright 2012 Stefan Geissler | ||||||||||||||||||||
| 55 | 2013 Andreas K. Huettel | ||||||||||||||||||||
| 56 | 2016 Simon Reinhardt | ||||||||||||||||||||
| 57 | 2017 Andreas K. Huettel | ||||||||||||||||||||
| 58 | 2020 Andreas K. Huettel | ||||||||||||||||||||
| 59 | |||||||||||||||||||||
| 60 | |||||||||||||||||||||
| 61 | This is free software; you can redistribute it and/or modify it under | ||||||||||||||||||||
| 62 | the same terms as the Perl 5 programming language system itself. | ||||||||||||||||||||
| 63 | |||||||||||||||||||||
| 64 | =cut | ||||||||||||||||||||