Hi @saberduck
In My Custom Rule I am doing one validation using variableTree mentioned below,
- variableTree.symbol().type().toString().equalsIgnoreCase(“HttpSession”) .
When I run the sonar-scanner I am not able to see any issues reported in the dashboard. But when I run the mvn sonar:sonar I am able to observe the issues in the dashboard.
- When I use variableTree.type().toString().equalsIgnoreCase(“HttpSession”) I am able to see the issues for sonar-scanner itself.
Both Validations are correct and populating the same output.
I don’t know what was the difference between those two validations. It will be helpful if I get any explanation regarding this.