Condition Coverage

blib/lib/Lab/XPRESS/Sweep.pm
Criterion Covered Total %
condition 20 78 25.6


and 3 conditions

line !l l&&!r l&&r condition
163 2 0 0 $length_points < 2 and $self->{'config'}{'mode'} ne "list"
176 2 0 0 $length_stepwidth > $length_points - 1 and $self->{'config'}{'mode'} ne "list"
181 2 0 0 $length_number_of_points > $length_points - 1 and $self->{'config'}{'mode'} ne "list"
186 2 0 0 $length_interval > $length_points and $self->{'config'}{'mode'} ne "list"
263 0 2 0 defined @{$$self{"config"}{"rate"};}[0] and defined @{$$self{"config"}{"duration"};}[0]
2 0 0 defined @{$$self{"config"}{"duration"};}[0] and @{$$self{"config"}{"duration"};}[0] == 0
0 2 0 defined @{$$self{"config"}{"rate"};}[0] and @{$$self{"config"}{"rate"};}[0] == 0
294 0 2 0 defined @{$$self{"config"}{"stepwidth"};}[0] and defined @{$$self{"config"}{"number_of_points"};}[0]
320 0 0 0 defined @{$$self{"config"}{"rate"};}[0] and defined @{$$self{"config"}{"duration"};}[0]
328 0 0 2 defined @{$$self{"config"}{"stepwidth"};}[0] and defined @{$$self{"config"}{"number_of_points"};}[0]
395 0 2 0 defined @{$$self{"config"}{"allowed_instruments"};}[0] and not grep({$_ eq ref $self->{'config'}{'instrument'};} @{$$self{"config"}{"allowed_instruments"};})
405 0 2 0 defined @{$$self{"config"}{"allowed_sweep_modes"};}[0] and not grep({$_ eq $self->{'config'}{'mode'};} @{$$self{"config"}{"allowed_sweep_modes"};})
601 0 20 0 $self->{'config'}{'mode'} =~ /step|list/u and $PAUSE
1034 0 0 0 defined $self->{'config'}{'instrument'} and $self->{'config'}{'instrument'}->can("active")
1253 0 0 0 $slave->{'DataFile_counter'} <= 0 and not defined @{$$slave{"slaves"};}[-1]
1308 0 0 0 defined $obj->{$key} && ref $obj->{$key}
1320 0 0 0 defined $array_val && ref $array_val

or 3 conditions

line l !l&&r !l&&!r condition
34 0 2 0 ref $proto || $proto
351 20 2 0 $point != @{$temp_points;}[-1] or not defined @{$temp_points;}[-1]
520 2 0 2 $i <= $self->{'config'}{'repetitions'} or $self->{'config'}{'repetitions'} < 0
595 2 0 20 $self->exit_loop or $self->{'last'}
1127 0 0 0 not defined $file or $file == 0
1147 0 0 0 not defined $file or $file == 0
1167 22 0 0 not defined $file or $file == 0
1202 0 0 0 exists @{$$self{"LOG"};}[$file]->{$column} or exists @{$$self{"LOG"};}[0]->{$column}
1296 0 0 0 $#_ < 0 or not defined $_[0]