SonarSource is pleased to announce the release of SonarLint for Visual Studio version 2.4.
This version starts benefiting from our powerful Symbolic Execution technology to track bugs by doing some path-sensitive data flow analysis.
The two first rules relying on this technology are :
- Null pointers should not be dereferenced (Bug)
Here is one example of a bug found in the Roslyn project itself:
- Conditions should not unconditionally evaluate to “true” or to “false” (Bug)
Here is one example of a bug found in the Nancy project:
Moreover the rule “Unused method parameters should be removed” has been improved to detect cases where the first thing done with a method parameter is to change its value and so when the method parameter value is unused.
If you have any feedback or any idea of new rules, feel free to join the SonarLint Google Group.
Have fun with SonarLint for Visual Studio!