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.
Locating this inspection
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
QuestionableName- Via Settings dialog
Path to the inspection settings via IntelliJ Platform IDE Settings dialog, when you need to adjust inspection settings directly from your IDE.
Use the option to list names that should be reported.
Inspection options
Here you can find the description of settings available for the Questionable name inspection, and the reference of their default values.
- Reported names
[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 | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 242.22892 |