i let copilot write this pr because im lazy #9
122 new alerts
New alerts in code changed by this pull request
- 122 warnings
See annotations below for details.
Annotations
Check warning on line 14 in src/main/java/frc/robot/Robot.kt
Code scanning / detekt
Too many functions inside a/an file/class/object/interface always indicate a violation of the single responsibility principle. Maybe the file/class/object/interface wants to manage too many things at once. Extract functionality which clearly belongs together. Warning
Check warning on line 15 in src/main/java/frc/robot/Robot.kt
Code scanning / detekt
Variable names should follow the naming convention set in the projects configuration. Warning
Check warning on line 17 in src/main/java/frc/robot/Robot.kt
Code scanning / detekt
Variable names should follow the naming convention set in the projects configuration. Warning
Check warning on line 40 in src/main/java/frc/robot/Robot.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 29 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Variable names should follow the naming convention set in the projects configuration. Warning
Check warning on line 31 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Variable names should follow the naming convention set in the projects configuration. Warning
Check warning on line 31 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 48 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 49 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 85 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 102 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 104 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 105 in src/main/java/frc/robot/RobotContainer.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 9 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Wildcard imports should be replaced with imports using fully qualified class names. Wildcard imports can lead to naming conflicts. A library update can introduce naming clashes with your classes which results in compilation errors. Warning
Check warning on line 22 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Constructor parameter names should follow the naming convention set in the projects configuration. Warning
Check warning on line 42 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Variable names should follow the naming convention set in the projects configuration. Warning
Check warning on line 46 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Variable names should follow the naming convention set in the projects configuration. Warning
Check warning on line 54 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Variable names should follow the naming convention set in the projects configuration. Warning
Check warning on line 55 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 55 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 55 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 56 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 56 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 56 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
Check warning on line 57 in src/main/java/frc/robot/Telemetry.kt
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning