v0.77.2
Aug 3, 2024
413
39
version = 1
[[analyzers]]
name = "java"
[analyzers.meta]
runtime_version = 11
skip_doc_coverage = [ "nonpublic" ]
Anti-pattern
119
Bug risk
183
Documentation
8
Performance
33
Security
66
Style
4
A call to a getXXX
or updateXXX
method of a result set was made where the field index is 0
. As ResultSet
fields start at index 1
, this is always a mistake.
toArray
with non-zero sized array argument JAVA-P0335This method uses toArray
with a non-zero sized array argument. This is less efficient than passing a zero-sized array.
Invalid regex strings will throw a PatternSyntaxException
at runtime.
Java arrays should not be declared using C-style array declaration syntax.
Thread
with empty run
method is useless JAVA-W0084A thread was created using the default empty run method.