Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Pages
…
SEI CERT Oracle Coding Standard for Java
4 Back Matter
Rule or Rec. CC. Analyzers
SonarQube
Page History
Versions Compared
Old Version
12
changes.mady.by.user
Will Snavely
Saved on
Feb 22, 2017
compared with
New Version
13
changes.mady.by.user
Will Snavely
Saved on
Feb 28, 2017
Previous Change: Difference between versions 11 and 12
Next Change: Difference between versions 13 and 14
View Page History
Key
This line was added.
This line was removed.
Formatting was changed.
...
Include Page
java:SonarQube Java Plugin_V
java:SonarQube Java Plugin_V
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
S881
EXP05-J. Do not follow a write by a subsequent write or read of the same object within an expression
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
THI00-J. Do not invoke Thread.run()
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
S2189
MSC01-J. Do not use an empty infinite loop
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
S2384
OBJ13-J. Ensure that references to mutable objects are not exposed
S2386
OBJ01-J. Limit accessibility of fields
S2386
OBJ13-J. Ensure that references to mutable objects are not exposed
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
S3518
NUM02-J. Ensure that division and remainder operations do not result in divide-by-zero errors
Overview
Content Tools
{"serverDuration": 124, "requestCorrelationId": "b591379ae5d30e40"}