Checker | Guideline |
---|
CallToDeprecatedMethod | MET02-J. Do not use deprecated or obsolete classes or methods |
ObjectFinalizeCheck | MET12-J. Do not use finalizers |
ObjectFinalizeOverridenCallsSuperFinalizeCheck | MET12-J. Do not use finalizers |
ObjectFinalizeOverridenCheck | MET12-J. Do not use finalizers |
S106 | ERR02-J. Prevent exceptions while logging data |
S112 | ERR07-J. Do not throw RuntimeException, Exception, or Throwable |
S1143 | ERR04-J. Do not complete abruptly from a finally block |
S1147 | ERR09-J. Do not allow untrusted code to terminate the JVM |
S1163 | ERR05-J. Do not let checked exceptions escape from a finally block |
S1166 | ERR00-J. Do not suppress or ignore checked exceptions |
S1174 | MET12-J. Do not use finalizers |
S1181 | ERR08-J. Do not catch NullPointerException or any of its ancestors |
S1206 | MET09-J. Classes that define an equals() method must also define a hashCode() method |
S1217 | THI01-J. Do not invoke ThreadGroup methods |
S1313 | MSC03-J. Never hard code sensitive information |
S1444 | OBJ10-J. Do not use public static nonfinal fields |
S1696 | ERR08-J. Do not catch NullPointerException or any of its ancestors |
S1698 | EXP03-J. Do not use the equality operators when comparing values of boxed primitives |
S1699 | MET05-J. Ensure that constructors do not call overridable methods |
S1860 | LCK01-J. Do not synchronize on objects that may be reused |
S1872 | OBJ09-J. Compare classes and not class names |
S1943 | STR04-J. Use compatible character encodings when communicating string data between JVMs |
S1989 | ERR01-J. Do not allow exceptions to expose sensitive information |
S2057 | SER00-J. Enable serialization compatibility during class evolution |
S2059 | SER05-J. Do not serialize instances of inner classes |
S2061 | SER01-J. Do not deviate from the proper signatures of serialization methods |
S2066 | SER05-J. Do not serialize instances of inner classes |
S2068 | MSC03-J. Never hard code sensitive information |
S2077 | IDS00-J. Prevent SQL injection |
S2095 | FIO04-J. Release resources when they are no longer needed |
S2111 | NUM10-J. Do not construct BigDecimal objects from floating-point literals |
S2151 | MET12-J. Do not use finalizers |
S2159 | EXP02-J. Do not use the Object.equals() method to compare two arrays |
S2162 | MET08-J. Preserve the equality contract when overriding the equals() method |
S2175 | EXP04-J. Do not pass arguments to certain Java Collections Framework methods that are a different type than the collection parameter type |
S2201 | EXP00-J. Do not ignore values returned by methods |
S2245 | MSC02-J. Generate strong random numbers |
S2259 | EXP01-J. Do not use a null in a case where an object is required |
S2274 | THI03-J. Always invoke wait() and await() methods inside a loop |
S2276 | LCK09-J. Do not perform operations that can block while holding a lock |
S2384 | OBJ05-J. Do not return references to private mutable class members |
S2384 | OBJ06-J. Defensively copy mutable inputs and mutable internal components |
S2386 | OBJ01-J. Limit accessibility of fields |
S2445 | LCK00-J. Use private final lock objects to synchronize classes that may interact with untrusted code |
S2446 | THI02-J. Notify all waiting threads rather than a single thread |
S2653 | ENV06-J. Production code must not contain debugging entry points |
S2674 | FIO10-J. Ensure the array is filled when using read() to fill an array |
S3346 | EXP06-J. Expressions used in assertions must not produce side effects |
S881 | EXP05-J. Do not follow a write by a subsequent write or read of the same object within an expression |