Skip to content

Swerve

Swerve #198

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

reviewdog [checkstyle] report

reported by reviewdog 🐶

Findings (10)

src/main/java/frc/robot/commands/SwerveJoystickCmd.java|20 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|21 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|143| 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 20 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#L20 <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:20: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 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 '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:21: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 143 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#L143 <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:143: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)