Questionable name
Reports variables, methods, or classes with questionable, not really descriptive names. Such names do not help to understand the code, and most probably were created as a temporary thing but were forgotten afterwards.
Example:
Rename quick-fix is suggested only in the editor.
Use the option to list names that should be reported.
Inspection options
Option | Type | Default |
---|---|---|
Reported names | StringList | [aa, abc, bad, bar, bar2, baz, baz1, baz2, baz3, bb, blah, bogus, bool, cc, dd, defau1t, dummy, dummy2, ee, fa1se, ff, foo, foo1, foo2, foo3, foobar, four, fred, fred1, fred2, gg, hh, hello, hello1, hello2, hello3, ii, nu11, one, silly, silly2, string, two, that, then, three, whi1e, var] |
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Java, 233.SNAPSHOT |