Skip to content

Swerve

Swerve #194

GitHub Actions / checkstyle failed Feb 10, 2025 in 1s

reviewdog [checkstyle] report

reported by reviewdog 🐶

Findings (11)

src/main/java/frc/robot/commands/SwerveJoystickCmd.java|21 col 33| Member name 'xLimiter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]$'.
src/main/java/frc/robot/commands/SwerveJoystickCmd.java|22 col 33| Member name 'yLimiter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]
$'.
src/main/java/frc/robot/commands/SwerveJoystickCmd.java|25 col 18| Member name 'xSpeed' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]$'.
src/main/java/frc/robot/commands/SwerveJoystickCmd.java|26 col 18| Member name 'ySpeed' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]
$'.
src/main/java/frc/robot/drivebase/SwerveModule.java|106 col 48| '*' should be on a new line.
src/main/java/frc/robot/drivebase/SwerveModule.java|142| Line is longer than 100 characters (found 105).
src/main/java/frc/robot/drivebase/SwerveDrive.java|42 col 5| Distance between variable 'backRightLocation' declaration and its first usage is 4, but allowed 3. Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
src/main/java/frc/robot/drivebase/SwerveDrive.java|119 col 6| Unused @param tag for 'yspeed'.
src/main/java/frc/robot/drivebase/SwerveDrive.java|120 col 6| Unused @param tag for 'xspeed'.
src/main/java/frc/robot/drivebase/SwerveDrive.java|128 col 28| Parameter name 'xSpeed' must match pattern '^a-z?$'.
src/main/java/frc/robot/drivebase/SwerveDrive.java|128 col 43| Parameter name 'ySpeed' must match pattern '^a-z?$'.

Filtered Findings (0)

Annotations

Check warning on line 21 in src/main/java/frc/robot/commands/SwerveJoystickCmd.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/commands/SwerveJoystickCmd.java#L21 <com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck>

Member name 'xLimiter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Raw output
/github/workspace/./src/main/java/frc/robot/commands/SwerveJoystickCmd.java:21:33: warning: Member name 'xLimiter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. (com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck)

Check warning on line 22 in src/main/java/frc/robot/commands/SwerveJoystickCmd.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/commands/SwerveJoystickCmd.java#L22 <com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck>

Member name 'yLimiter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Raw output
/github/workspace/./src/main/java/frc/robot/commands/SwerveJoystickCmd.java:22:33: warning: Member name 'yLimiter' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. (com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck)

Check warning on line 25 in src/main/java/frc/robot/commands/SwerveJoystickCmd.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/commands/SwerveJoystickCmd.java#L25 <com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck>

Member name 'xSpeed' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Raw output
/github/workspace/./src/main/java/frc/robot/commands/SwerveJoystickCmd.java:25:18: warning: Member name 'xSpeed' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. (com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck)

Check warning on line 26 in src/main/java/frc/robot/commands/SwerveJoystickCmd.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/commands/SwerveJoystickCmd.java#L26 <com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck>

Member name 'ySpeed' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'.
Raw output
/github/workspace/./src/main/java/frc/robot/commands/SwerveJoystickCmd.java:26:18: warning: Member name 'ySpeed' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9]*$'. (com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck)

Check warning on line 106 in src/main/java/frc/robot/drivebase/SwerveModule.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveModule.java#L106 <com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck>

'*' should be on a new line.
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveModule.java:106:48: warning: '*' should be on a new line. (com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck)

Check warning on line 142 in src/main/java/frc/robot/drivebase/SwerveModule.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveModule.java#L142 <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck>

Line is longer than 100 characters (found 105).
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveModule.java:142:0: warning: Line is longer than 100 characters (found 105). (com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck)

Check warning on line 42 in src/main/java/frc/robot/drivebase/SwerveDrive.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveDrive.java#L42 <com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck>

Distance between variable 'backRightLocation' declaration and its first usage is 4, but allowed 3.  Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value).
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveDrive.java:42:5: warning: Distance between variable 'backRightLocation' declaration and its first usage is 4, but allowed 3.  Consider making that variable final if you still need to store its value in advance (before method calls that might have side effects on the original value). (com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck)

Check warning on line 119 in src/main/java/frc/robot/drivebase/SwerveDrive.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveDrive.java#L119 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck>

Unused @param tag for 'yspeed'.
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveDrive.java:119:6: warning: Unused @param tag for 'yspeed'. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck)

Check warning on line 120 in src/main/java/frc/robot/drivebase/SwerveDrive.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveDrive.java#L120 <com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck>

Unused @param tag for 'xspeed'.
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveDrive.java:120:6: warning: Unused @param tag for 'xspeed'. (com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck)

Check warning on line 128 in src/main/java/frc/robot/drivebase/SwerveDrive.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveDrive.java#L128 <com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck>

Parameter name 'xSpeed' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveDrive.java:128:28: warning: Parameter name 'xSpeed' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. (com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck)

Check warning on line 128 in src/main/java/frc/robot/drivebase/SwerveDrive.java

See this annotation in the file changed.

@github-actions github-actions / checkstyle

[checkstyle] src/main/java/frc/robot/drivebase/SwerveDrive.java#L128 <com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck>

Parameter name 'ySpeed' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'.
Raw output
/github/workspace/./src/main/java/frc/robot/drivebase/SwerveDrive.java:128:43: warning: Parameter name 'ySpeed' must match pattern '^[a-z]([a-z0-9][a-zA-Z0-9]*)?$'. (com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck)