Update S1643 to cover simple assignments where the variable is not placed in the innermost add expression. Currently, S1643 only covers cases where the variable is placed at the left side of the innermost add expression:
var s = ""; while (true) { s = s + "a"; // Noncompliant s = s + "a" + "b"; // Noncompliant s = s + "a" + "b" + "c"; // Noncompliant s = "a" + "b" + "c" + s; // FN s = "a" + "b" + s; // FN s = "a" + s; // FN }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4