Inspectopedia
 
2024.3

Commented out code

Info
New
Last modified: 03 December 2024

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