line |
!l |
l&&!r |
l&&r |
condition |
64
|
0 |
7 |
0 |
ref $_[0] and UNIVERSAL::can($_[0], "can")
|
|
7 |
0 |
0 |
ref $_[0] and UNIVERSAL::can($_[0], "can") and UNIVERSAL::isa($_[0], "Lab::Instrument::Source")
|
67
|
0 |
0 |
0 |
defined $_[1] and $_[1] =~ /^[0-9]*$/u
|
114
|
0 |
7 |
0 |
defined $self->default_channel and $self->default_channel > $self->max_channels || $self->default_channel < 1
|
175
|
130 |
93 |
42 |
exists $self->default_device_settings->{$conf_name} and not defined $self->device_settings($conf_name)
|
230
|
0 |
0 |
0 |
$self->device_settings->{'gate_protect'} and $self->device_settings->{'gp_max_units_per_step'} < abs $target - $current_level
|
257
|
0 |
0 |
0 |
defined $rate and not defined $time
|
|
0 |
0 |
0 |
not defined $rate and defined $time
|
|
0 |
0 |
0 |
defined $rate and defined $time
|
378
|
0 |
0 |
2 |
defined $stepsize and defined $upstep
|
|
0 |
2 |
0 |
defined $stepsize and defined $upstep and $upstep > $stepsize
|
392
|
0 |
0 |
0 |
$self->device_settings->{'gate_protect'} and $time
|
476
|
0 |
0 |
0 |
defined $apsec and $apsec > 0
|
|
0 |
0 |
0 |
defined $apsec and $apsec > 0 and !defined($spsec) || $spsec < 0
|
|
0 |
0 |
0 |
defined $spsec and $spsec > 0
|
|
0 |
0 |
0 |
defined $spsec and $spsec > 0 and !defined($apsec) || $apsec < 0
|
|
0 |
0 |
0 |
!defined($apsec) || $apsec <= 0 and !defined($spsec) || $spsec < 0
|
507
|
0 |
0 |
0 |
defined $gp_max_units and defined $gp_min_units
|
line |
l |
!l&&r |
!l&&!r |
condition |
57
|
0 |
7 |
0 |
ref $proto || $proto
|
114
|
0 |
0 |
7 |
$self->default_channel > $self->max_channels || $self->default_channel < 1
|
136
|
0 |
0 |
0 |
not defined $self->gpData or !ref($self->gpData) =~ /HASH/u
|
190
|
0 |
0 |
0 |
$self->parent_source || $self
|
284
|
0 |
0 |
0 |
$target < $self->device_settings->{'gp_min_units'} or $target > $self->device_settings->{'gp_max_units'}
|
355
|
2 |
0 |
0 |
defined $target or ref $target eq "HASH"
|
369
|
1 |
1 |
0 |
defined $upstep or defined $stepsize
|
470
|
0 |
0 |
0 |
not defined $apstep or $apstep <= 0
|
476
|
0 |
0 |
0 |
!defined($spsec) || $spsec < 0
|
|
0 |
0 |
0 |
!defined($apsec) || $apsec < 0
|
|
0 |
0 |
0 |
!defined($apsec) || $apsec <= 0
|
|
0 |
0 |
0 |
!defined($spsec) || $spsec < 0
|