Branch Coverage

blib/lib/Lab/Moose/Instrument/NanonisTramea.pm
Criterion Covered Total %
branch 0 194 0.0


line true false branch
75 0 0 if (length $response == 40)
77 0 0 if ($response_bodysize > 0)
181 0 0 if (scalar @_ > 0)
190 0 0 if (($option eq 'select') == 1) { }
0 0 elsif (($option eq 'info') == 1) { }
278 0 0 if ($get != 0)
281 0 0 if ($direction != 0)
284 0 0 if ($reset != 0)
295 0 0 if ($get == 1) { }
395 0 0 if (scalar @_ > 0)
403 0 0 if (length $Series_Name != 0)
409 0 0 if ($Create_Date_Time > 0) { }
0 0 elsif ($Create_Date_Time < 0) { }
418 0 0 if (length $Comment != 0) { }
427 0 0 if (scalar @Modules_Names != 0) { }
1085 0 0 if ($WFND > 0) { }
1448 0 0 if ($Automatic_Load > 0) { }
1466 0 0 if ($Automatic_save > 0) { }
1485 0 0 if ($Automatic_Load > 0) { }
1502 0 0 if ($Automatic_save > 0) { }
1634 0 0 if (($index + 1) % $Data_cols == 0)
1861 0 0 if ($params{'session_path'} =~ /^([a-zA-Z]:)(([\\]?[\w _!#()-]+)*[\\])?$/u) { }
1863 0 0 if (exists $params{'save_settings'}) { }
1891 0 0 if ($params{'return_pdl'} == 1)
1895 0 0 if ($params{'return_head'} == 1)
1899 0 0 if ($params{'return_colnames'} == 1)
1923 0 0 if ($colnames[-1] =~ /\[(?<idx_int>[0-9]{5})\]/u) { }
1939 0 0 if ($_ =~ /(?:Step\schannel\s1:\sStart)/u) { }
0 0 elsif ($_ =~ /(?:Step\schannel\s2\s[\w():\s]*\sStart)/u) { }
1947 0 0 if ($_ =~ /(?:Step\schannel\s1:\sStop)/u) { }
0 0 elsif ($_ =~ /(?:Step\schannel\s2\s[\w():\s]*\sStop)/u) { }
1956 0 0 if ($_ =~ /(?:Step\schannel\s2\s[\w():\s]*\sLevel)/u)
1982 0 0 if ($using_stp2) { }
2010 0 0 if ($stp2_point_number > 1) { }
2043 0 0 if ($prefix)
2052 0 0 if (scalar @dims == 4) { }
0 0 elsif (scalar @dims == 3) { }
0 0 elsif (scalar @dims == 2) { }
2097 0 0 unless (exists $params{'series_name'})
2100 0 0 unless (exists $params{'create_datetime'})
2103 0 0 unless (exists $params{'comment'})
2106 0 0 if ($params{'create_datetime'} != -1 and $params{'create_datetime'} != 0 and $params{'create_datetime'} != 1)
2127 0 0 unless (exists $params{'initial_settling_time'})
2130 0 0 unless (exists $params{'settling_time'})
2133 0 0 unless (exists $params{'integration_time'})
2136 0 0 unless (exists $params{'end_settling_time'})
2139 0 0 unless (exists $params{'maximum_slew_rate'})
2159 0 0 unless (exists $params{'initial_settling_time'})
2162 0 0 unless (exists $params{'end_settling_time'})
2165 0 0 unless (exists $params{'maximum_slew_rate'})
2182 0 0 unless (exists $params{'initial_settling_time'})
2185 0 0 unless (exists $params{'end_settling_time'})
2188 0 0 unless (exists $params{'maximum_slew_rate'})
2212 0 0 unless (exists $params{'point_number'})
2215 0 0 unless (exists $params{'number_of_sweeps'})
2218 0 0 unless (exists $params{'backwards'})
2221 0 0 unless (exists $params{'at_end'})
2224 0 0 unless (exists $params{'at_end_val'})
2227 0 0 unless (exists $params{'save_all'})
2231 0 0 if ($params{'point_number'} < 0)
2234 0 0 if ($params{'number_of_sweeps'} < 0)
2237 0 0 if ($params{'backwards'} != -1 and $params{'backwards'} != 0 and $params{'backwards'} != 1)
2240 0 0 if ($params{'at_end'} != -1 and $params{'at_end'} != 0 and $params{'at_end'} != 1 and $params{'at_end'} != 2)
2243 0 0 if ($params{'save_all'} != -1 and $params{'save_all'} != 0 and $params{'save_all'} != 1)
2265 0 0 unless (exists $params{'point_number'})
2268 0 0 unless (exists $params{'backwards'})
2271 0 0 unless (exists $params{'at_end'})
2274 0 0 unless (exists $params{'at_end_val'})
2278 0 0 if ($params{'point_number'} < 0)
2281 0 0 if ($params{'backwards'} != -1 and $params{'backwards'} != 0 and $params{'backwards'} != 1)
2284 0 0 if ($params{'at_end'} != -1 and $params{'at_end'} != 0 and $params{'at_end'} != 1 and $params{'at_end'} != 2)
2305 0 0 unless (exists $params{'point_number'})
2308 0 0 unless (exists $params{'backwards'})
2311 0 0 unless (exists $params{'at_end'})
2314 0 0 unless (exists $params{'at_end_val'})
2318 0 0 if ($params{'point_number'} < 0)
2322 0 0 if ($params{'backwards'} != -1 and $params{'backwards'} != 0 and $params{'backwards'} != 1)
2326 0 0 if ($params{'at_end'} != -1 and $params{'at_end'} != 0 and $params{'at_end'} != 1 and $params{'at_end'} != 2)
2362 0 0 if (exists $params{'point_number_sweep'} and $params{'point_number_sweep'} != $self->sweep_prop_configuration->{'point_number'})
2370 0 0 if (exists $params{'step1_channel'}) { }
2372 0 0 if ($params{'step1_channel'} >= 0) { }
2374 0 0 if (exists $params{'point_number_step1'} and $params{'point_number_step1'} != $self->step1_prop_configuration->{'point_number'})
2379 0 0 if (exists $params{'lower_limit_step1'}) { }
2382 0 0 if (exists $params{'upper_limit_step1'}) { }
2410 0 0 if (exists $params{'step2_channel_idx'} and exists $params{'step2_channel_name'}) { }
0 0 elsif (exists $params{'step2_channel_idx'} or exists $params{'step2_channel_name'}) { }
2416 0 0 if (exists $params{'step2_channel_idx'}) { }
0 0 elsif (exists $params{'step2_channel_name'}) { }
2424 0 0 if ($params{'step2_channel_idx'} >= 0 or $params{'step2_channel_name'} ne ' ') { }
2426 0 0 if (exists $params{'point_number_step2'} and $params{'point_number_step2'} != $self->step2_prop_configuration->{'point_number'})
2431 0 0 if (exists $params{'lower_limit_step2'}) { }
2434 0 0 if (exists $params{'upper_limit_step2'}) { }
2436 0 0 if ($params{'step2_channel_idx'} >= 0) { }
0 0 elsif ($params{'step2_channel_name'} ne ' ') { }
2467 0 0 if (exists $params{'series_name'} and $params{'series_name'} ne $self->sweep_save_configuration->{'series_name'})
2471 0 0 if (exists $params{'comment'} and $params{'comment'} ne $self->sweep_save_configuration->{'comment'})
2483 0 0 if ($params{'load'} == 1)