We have a false positives when “todo” is inside a word, like the spanish “Metodo” which stands for Method.
We understand it is impossible to adapt all the regex and rules for any language but could be easy to avoid this behaviour in general when looking for the keyword.
- C++ code
- Developer Edition Version 8.6 (build 39681)
- Latest SonarScanner