Commented out code
Reports comments that contain Java code.
Usually, code that is commented out gets outdated very quickly and becomes misleading. As most projects use some kind of version control system, it is better to delete commented out code completely and use the VCS history instead.
New in 2020.3
Inspection options
Option | Type | Default |
---|---|---|
Minimum lines of code | Number | 2 |
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Java, 233.SNAPSHOT |
Last modified: 13 July 2023