Open
Description
Describe the bug
The rule wants us to change "i++" to "++i" statement.
But often "i++" has a really functionnal usage like screenshot below.
Expected behavior
improve actual behaviour to detect if "i++" statement is used alone or not (example : in a concatenation string).
if alone, ok raise the issue. if not, don't raise issue because we don't know if "i++" has a functionnal usage or not.
Software Versions
- SonarQube Version: 10.3
- Plugin Version: java plugin 1.4.3