Skip to content

Update robot dimensions #23

Update robot dimensions

Update robot dimensions #23

Triggered via push March 3, 2024 20:38
Status Failure
Total duration 1m 53s
Billable time 2m
Artifacts

qodana.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 13 warnings
qodana
Code scanning is not enabled for this repository. Please enable code scanning in the repository settings.
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: JetBrains/qodana-action@v2023.3.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
qodana
Code scanning is not enabled for this repository. Please enable code scanning in the repository settings.
qodana
Code scanning is not enabled for this repository. Please enable code scanning in the repository settings.
qodana
Code scanning is not enabled for this repository. Please enable code scanning in the repository settings.
Nullability and data flow problems: src/main/java/frc/robot/Robot.java#L78
Switch label `0` is unreachable
Nullability and data flow problems: src/main/java/frc/robot/util/LimelightHelpers.java#L811
Method invocation `openConnection` may produce `NullPointerException`
Nullability and data flow problems: src/main/java/frc/robot/Robot.java#L81
Switch label `1` is unreachable
Inner class may be 'static': src/main/java/frc/robot/Constants.java#L33
Inner class `HardwareConstants` may be 'static'
Simplifiable conditional expression: src/main/java/frc/robot/subsystems/swerve/SwerveSubsystem.java#L121
`alliance.isPresent() ? alliance.get() == DriverStation.Alliance.Red : false` can be simplified to 'alliance.isPresent() \&\& alliance.get() == DriverStation.Alliance.Red'
String comparison using '==', instead of 'equals()': src/main/java/frc/robot/util/LimelightHelpers.java#L407
String values are compared using `==`, not 'equals()'
String comparison using '==', instead of 'equals()': src/main/java/frc/robot/util/LimelightHelpers.java#L813
String values are compared using `!=`, not 'equals()'
'Collection.toArray()' call style: src/main/java/frc/robot/Robot.java#L172
Call to `toArray()` with pre-sized array argument 'new String\[clientAddresses.size()\]'
'Collection.toArray()' call style: src/main/java/frc/robot/Robot.java#L170
Call to `toArray()` with pre-sized array argument 'new String\[clientNames.size()\]'