35 lines
1.2 KiB
Plaintext
35 lines
1.2 KiB
Plaintext
=== relates to: S2912
|
|
|
|
=== on 5 May 2015, 12:39:22 Ann Campbell wrote:
|
|
After discussion, rule only checks for tests against ``++>0++``, so this is ignored: ``++if (str.indexOf('a') > 1)++``
|
|
|
|
=== on 26 Jun 2015, 15:29:07 Ann Campbell wrote:
|
|
looks good [~tamas.vajk]
|
|
|
|
=== on 26 Jun 2015, 13:36:35 Tamas Vajk wrote:
|
|
\[~ann.campbell.2] this rule talks about both lists and strings, but the error message explicitly mentions strings. Also, the rule seems to only check for ``++>0++``, but the message says ``++n++``.
|
|
|
|
|
|
I would probably go with something like this: _0 is a valid index, but this check ignores it._
|
|
|
|
=== on 26 Jun 2015, 13:45:07 Tamas Vajk wrote:
|
|
\[~ann.campbell.2] I've added an additional C# specific option: ``++Array.IndexOf++``
|
|
|
|
=== on 26 Jun 2015, 15:27:59 Ann Campbell wrote:
|
|
Done [~tamas.vajk]
|
|
|
|
=== on 10 Apr 2017, 15:29:04 Elena Vilchik wrote:
|
|
Temporary removed from SW before FP are removed: SONARJS-991
|
|
|
|
=== on 06 Jun 2023, 16:30:00 Antonio Aversa wrote:
|
|
During a LaYC sprint, I removed dummy implementations for the following languages:
|
|
|
|
* cfamily
|
|
* flex
|
|
* go
|
|
* php
|
|
* python
|
|
* vb6
|
|
|
|
They are not implemented in the corresponding analyzer and there currently are no tickets open in order to do so.
|