2021-09-24 16:04:02 -07:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<FindBugsFilter>
|
2025-08-08 23:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_NONATOMIC_64BIT_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.DriverStation" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_NONATOMIC_64BIT_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.Ultrasonic" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_NONATOMIC_64BIT_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.Watchdog" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.ADIS16448_IMU" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.ADIS16470_IMU" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.DriverStation" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.GenericHID" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.Ultrasonic" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="AT_STALE_THREAD_WRITE_OF_PRIMITIVE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.CommandScheduler" />
|
|
|
|
|
</Match>
|
2023-12-09 15:34:29 -08:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="CT_CONSTRUCTOR_THROW" />
|
|
|
|
|
</Match>
|
2021-12-09 12:20:08 -08:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="DCN_NULLPOINTER_EXCEPTION" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.test.TestSuite" />
|
|
|
|
|
</Match>
|
2022-10-08 10:01:31 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="DE_MIGHT_IGNORE" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.smartdashboard.SendableBuilderImpl$Property" />
|
|
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="DM_DEFAULT_ENCODING" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="DMI_RANDOM_USED_ONLY_ONCE" />
|
|
|
|
|
</Match>
|
2022-12-02 11:36:10 -05:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="EC_BAD_ARRAY_COMPARE" />
|
|
|
|
|
<Class name="edu.wpi.first.math.estimator.SwerveDrivePoseEstimator$InterpolationRecord" />
|
|
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="EI_EXPOSE_REP2" />
|
|
|
|
|
</Match>
|
2025-08-08 23:04:02 -07:00
|
|
|
<!--
|
|
|
|
|
Strict reading of Object.equals() contract means that whenever equals() behaviour is defined, all implementations
|
|
|
|
|
need to adhere to it. The only reason to override the method (assuming correct API design, of course) is to provide
|
|
|
|
|
a more efficient implementation. This rule would be forcing a @SuppressFBWarnings on perfectly compliant classes.
|
|
|
|
|
More information at https://github.com/spotbugs/spotbugs/issues/511
|
|
|
|
|
-->
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" />
|
|
|
|
|
</Match>
|
2022-06-14 20:26:53 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="FL_FLOATS_AS_LOOP_COUNTERS" />
|
|
|
|
|
</Match>
|
2021-12-06 17:42:02 -05:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="IS2_INCONSISTENT_SYNC" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj.smartdashboard.MechanismLigament2d" />
|
2021-12-06 17:42:02 -05:00
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="MS_EXPOSE_REP" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="MS_MUTABLE_ARRAY" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.ParallelCommandGroup" />
|
2021-09-24 16:04:02 -07:00
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.ParallelDeadlineGroup" />
|
2021-09-24 16:04:02 -07:00
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.ParallelRaceGroup" />
|
2021-09-24 16:04:02 -07:00
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.ProxyScheduleCommand" />
|
2021-09-24 16:04:02 -07:00
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.SequentialCommandGroup" />
|
2021-09-24 16:04:02 -07:00
|
|
|
</Match>
|
2022-11-28 02:23:56 +02:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="NS_DANGEROUS_NON_SHORT_CIRCUIT" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.SelectCommand" />
|
2022-11-28 02:23:56 +02:00
|
|
|
</Match>
|
2023-12-09 15:34:29 -08:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="PA_PUBLIC_PRIMITIVE_ATTRIBUTE" />
|
|
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.wpilibj.test.AntJunitLauncher" />
|
2021-09-24 16:04:02 -07:00
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.util.CombinedRuntimeLoader" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="RV_RETURN_VALUE_OF_PUTIFABSENT_IGNORED" />
|
|
|
|
|
<Class name="edu.wpi.first.networktables.NetworkTableInstance" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="SC_START_IN_CTOR" />
|
2021-09-24 16:04:02 -07:00
|
|
|
</Match>
|
2022-10-08 10:01:31 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="SF_SWITCH_FALLTHROUGH" />
|
2025-08-08 23:04:02 -07:00
|
|
|
<Class name="edu.wpi.first.cameraserver.CameraServer$PropertyPublisher" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="SING_SINGLETON_GETTER_NOT_SYNCHRONIZED" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.test.TestSuite" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.test.TestSuite" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj2.command.CommandScheduler" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
|
|
|
|
|
<Class name="edu.wpi.first.math.geometry.CoordinateAxis" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="SING_SINGLETON_HAS_NONPRIVATE_CONSTRUCTOR" />
|
|
|
|
|
<Class name="edu.wpi.first.math.geometry.CoordinateSystem" />
|
2022-10-08 10:01:31 -07:00
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="ST_WRITE_TO_STATIC_FROM_INSTANCE_METHOD" />
|
|
|
|
|
</Match>
|
2022-10-08 10:01:31 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_BASIC_EXCEPTION" />
|
|
|
|
|
</Match>
|
2022-06-14 20:26:53 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="THROWS_METHOD_THROWS_CLAUSE_THROWABLE" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="THROWS_METHOD_THROWS_RUNTIMEEXCEPTION" />
|
|
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="UC_USELESS_VOID_METHOD" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.templates.romitimed.Robot" />
|
|
|
|
|
</Match>
|
2023-08-12 02:31:35 -04:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="UC_USELESS_VOID_METHOD" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.templates.xrptimed.Robot" />
|
|
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="UC_USELESS_VOID_METHOD" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.templates.timed.Robot" />
|
|
|
|
|
</Match>
|
2023-09-15 20:42:21 -07:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="UC_USELESS_VOID_METHOD" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.templates.timeslice.Robot" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="UC_USELESS_VOID_METHOD" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.templates.timesliceskeleton.Robot" />
|
|
|
|
|
</Match>
|
2021-12-30 19:43:53 -08:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="URF_UNREAD_FIELD" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.ADIS16448_IMU" />
|
|
|
|
|
</Match>
|
|
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="URF_UNREAD_FIELD" />
|
|
|
|
|
<Class name="edu.wpi.first.wpilibj.ADIS16470_IMU" />
|
|
|
|
|
</Match>
|
2024-01-01 22:56:23 -08:00
|
|
|
<Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
|
</Match>
|
2024-08-15 00:26:48 +08:00
|
|
|
<Match>
|
|
|
|
|
<Bug pattern="UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD" />
|
|
|
|
|
<Class name="edu.wpi.first.epilogue.EpilogueConfiguration" />
|
|
|
|
|
</Match>
|
2025-10-10 16:47:22 -04:00
|
|
|
<Match>
|
|
|
|
|
<!-- PMD will skip variables named `ignore`, but spotbugs isn't as smart -->
|
|
|
|
|
<Bug pattern="DLS_DEAD_LOCAL_STORE" />
|
|
|
|
|
<Class name="org.wpilib.commands3.StagedCommandBuilderTest" />
|
|
|
|
|
</Match>
|
2025-07-26 06:45:40 +08:00
|
|
|
<Match>
|
2025-08-08 23:04:02 -07:00
|
|
|
<Bug pattern="VA_FORMAT_STRING_USES_NEWLINE" />
|
2025-07-26 06:45:40 +08:00
|
|
|
</Match>
|
2021-09-24 16:04:02 -07:00
|
|
|
</FindBugsFilter>
|