line |
true |
false |
branch |
138
|
0 |
0 |
if $$self{'indirectSensorsOn'} |
142
|
0 |
0 |
unless defined $$notes{'a'} |
159
|
0 |
0 |
unless $self->initPort |
191
|
0 |
0 |
unless $type eq 'B' |
310
|
0 |
0 |
if $velocity != 0 |
328
|
0 |
0 |
if $rightVelocity != 0 and $leftVelocity != 0 |
631
|
0 |
0 |
if $l < 0 or $l > 1 |
653
|
0 |
0 |
if $load <= 1 and $load >= 0 |
671
|
0 |
0 |
if $$self{'pwmState'}[$pwm] < 0 |
672
|
0 |
0 |
if $$self{'pwmState'}[$pwm] > 128 |
802
|
0 |
0 |
if ($$self{'sensorState'}{'songPlaying'}) { } |
803
|
0 |
0 |
$$listener{'param'} == 15 ? : |
|
0 |
0 |
if $$listener{'param'} > 0 |
805
|
0 |
0 |
if ($$listener{'param'} < 0) |
821
|
0 |
0 |
if ($last) { } |
823
|
0 |
0 |
if $callback |
825
|
0 |
0 |
$$listener{'param'} == 15 ? : |
859
|
0 |
0 |
if ($line[0] eq 'K') { } |
|
0 |
0 |
elsif ($line[0] eq 'L') { } |
|
0 |
0 |
elsif ($line[0] =~ /^%/) { } |
|
0 |
0 |
elsif (length $line[0] > 1 or $line[0] eq '|') { } |
861
|
0 |
0 |
if ($nkey > 0) { } |
|
0 |
0 |
elsif ($nkey < 0) { } |
885
|
0 |
0 |
if (uc $note eq $note) |
888
|
0 |
0 |
if ($octave =~ /'/) { } |
|
0 |
0 |
elsif ($octave =~ /,/) { } |
897
|
0 |
0 |
if ($duration =~ m[(\d*)^/(\d*)]) { } |
924
|
0 |
0 |
if ($note eq 'z') |
928
|
0 |
0 |
if ($sharp eq '' and $nkey) { } |
933
|
0 |
0 |
if lc $note eq $k |
937
|
0 |
0 |
$sharp eq '_' ? : |
|
0 |
0 |
$sharp eq '^' ? : |
985
|
0 |
0 |
if ($letter eq 'r') { } |
1045
|
0 |
0 |
if $callback |
1083
|
0 |
0 |
if $callback |
1151
|
0 |
0 |
if ($dock) { } |
1204
|
0 |
0 |
if (defined $$sensorLocations{$sensor}) { } |
1229
|
0 |
0 |
if $sinceLastRefresh < $EPSILON |
1255
|
0 |
0 |
wantarray ? : |
1334
|
0 |
0 |
unless @_ > 0 |
1383
|
0 |
0 |
if ($$self{'isStreaming'}) |
1389
|
0 |
0 |
if $DEBUG |
1390
|
0 |
0 |
if ($data[0] != 19) |
1399
|
0 |
0 |
if $DEBUG |
1475
|
0 |
0 |
if ($$sensorListeners[$i]{'priority'} > $priority) |
1481
|
0 |
0 |
unless $added |
1497
|
0 |
0 |
if ($$self{'sensorListeners'}[$i]{'id'} == $id) |
1522
|
0 |
0 |
if (&$test(@_)) { } |
1523
|
0 |
0 |
if $oneTime |
1547
|
0 |
0 |
if (time > $$listener{'param'}) { } |
1571
|
0 |
0 |
if ($$self{'scriptMode'}) { } |
1585
|
0 |
0 |
if ($$listener{'param'} < 0) |
1587
|
0 |
0 |
if $callback |
1610
|
0 |
0 |
if ($$self{'scriptMode'}) { } |
1625
|
0 |
0 |
if ($$listener{'param'} < 0) |
1627
|
0 |
0 |
if $callback |
1676
|
0 |
0 |
if ($$self{'scriptMode'}) { } |
1728
|
0 |
0 |
if $$sensorListener{'stop'} |
1741
|
0 |
0 |
if $DEBUG |
1785
|
0 |
0 |
unless $synched |
1813
|
0 |
0 |
$key eq 'direction' ? : |
|
0 |
0 |
$c % 4 == 3 ? : |
1866
|
0 |
0 |
$$sensorState{'digitalInput' . $i} ? : |
1870
|
0 |
0 |
$$sensorState{'ocLD' . $i} ? : |
1874
|
0 |
0 |
$$sensorState{'playButton'} ? : |
|
0 |
0 |
$$sensorState{'advanceButton'} ? : |
|
0 |
0 |
$$sensorState{'bumpLeft'} ? : |
|
0 |
0 |
$$sensorState{'bumpRight'} ? : |
|
0 |
0 |
$$sensorState{'cliffLeft'} ? : |
|
0 |
0 |
$$sensorState{'cliffFrontLeft'} ? : |
|
0 |
0 |
$$sensorState{'cliffFrontRight'} ? : |
|
0 |
0 |
$$sensorState{'cliffRight'} ? : |
|
0 |
0 |
$$sensorState{'homeBaseAvailable'} ? : |
|
0 |
0 |
$$sensorState{'internalCharger'} ? : |
|
0 |
0 |
$$sensorState{'wall'} ? : |
|
0 |
0 |
$$sensorState{'virtualWall'} ? : |
|
0 |
0 |
$$sensorState{'wheeldropLeft'} ? : |
|
0 |
0 |
$$sensorState{'wheeldropCaster'} ? : |
|
0 |
0 |
$$sensorState{'wheeldropRight'} ? : |
|
0 |
0 |
$$sensorState{'ocLeftWheel'} ? : |
|
0 |
0 |
$$sensorState{'ocRightWheel'} ? : |
|
0 |
0 |
$$sensorState{'songPlaying'} ? : |
|
0 |
0 |
$$sensorState{'chargingState'} ? : |
|
0 |
0 |
$dock[0] ? : |
|
0 |
0 |
$dock[1] ? : |
|
0 |
0 |
$dock[2] ? : |
|
0 |
0 |
$dock[3] ? : |
1919
|
0 |
0 |
if $angle < 0 |
1920
|
0 |
0 |
if $angle > 3.1415926535897931 |
2094
|
0 |
0 |
if (not $$self{'telem'}) |
2095
|
0 |
0 |
$overwrite ? : |
2111
|
0 |
0 |
if ($$self{'telem'}) |
2155
|
0 |
0 |
unless $bytes |
2167
|
0 |
0 |
unless $bytes |
2184
|
0 |
0 |
if $$self{'telem'} |
2228
|
0 |
0 |
if $calibData |
2286
|
0 |
0 |
if ($sensor eq 'actualAngle' or $sensor eq 'all') |
2288
|
0 |
0 |
if ($sensor eq 'all') |
2339
|
0 |
0 |
if ($testAngle < 400 and $testAngle > 200) { } |
2342
|
0 |
0 |
if ($testSpeed == 100) |
2351
|
0 |
0 |
if $rejectCount > 5 |
2362
|
0 |
0 |
if ($sensor eq 'cliffDev') |
2378
|
0 |
0 |
if $wasStreaming |
2421
|
0 |
0 |
if ($deadReckoner eq 'calibration') { } |
|
0 |
0 |
elsif ($deadReckoner eq 'time') { } |
|
0 |
0 |
elsif ($deadReckoner eq 'robot') { } |
|
0 |
0 |
elsif ($deadReckoner eq 'raw') { } |
2453
|
0 |
0 |
if $$self{'telem'} |
2455
|
0 |
0 |
if ($$self{'replay'}) { } |
2714
|
0 |
0 |
if ($sensorId < 7) { } |
|
0 |
0 |
elsif ($sensorId == 7) { } |
|
0 |
0 |
elsif ($sensorId == 14) { } |
|
0 |
0 |
elsif ($sensorId == 15 or $sensorId == 16) { } |
|
0 |
0 |
elsif ($sensorId == 18) { } |
|
0 |
0 |
elsif ($sensorId == 32) { } |
|
0 |
0 |
elsif ($sensorId == 34) { } |
2762
|
0 |
0 |
$$self{'isStreaming'} ? : |
2855
|
0 |
0 |
$actualAngle != 0 ? : |
2858
|
0 |
0 |
if $$self{'gatherCliffStatistics'} |
2865
|
0 |
0 |
defined $$lastCliff{$sensor} ? : |
2875
|
0 |
0 |
if ($actualAngle == 0) { } |
2899
|
0 |
0 |
unless (defined $$cliffStatistics{$cliffSensors[0]}) |
2927
|
0 |
0 |
$$sensorStats[0] ? : |
2928
|
0 |
0 |
$$sensorStats[0] ? : |
2930
|
0 |
0 |
$stddev == 0 ? : |
2958
|
0 |
0 |
unless ($port) |
2964
|
0 |
0 |
if ($retries > 0) { } |
2989
|
0 |
0 |
if ($$self{'scriptMode'}) { } |
2992
|
0 |
0 |
if $DEBUG |
2998
|
0 |
0 |
unless $$self{'replay'} |
3013
|
0 |
0 |
if ($command == 137) |
3015
|
0 |
0 |
unless $velocity == 0 |
3036
|
0 |
0 |
if $type eq 'E' |
3037
|
0 |
0 |
if ($type eq 'W') { } |
|
0 |
0 |
elsif ($type eq 'M') { } |
3046
|
0 |
0 |
if ($now < $time + $replayDelta) |
3070
|
0 |
0 |
if (length $$self{'readBuffer'} >= $length) |
3079
|
0 |
0 |
$$self{'replay'} ? : |
3082
|
0 |
0 |
if ($got >= $length) { } |