Re: [Java] Issue raised on a line containing a NOSONAR tag
This FindBugs issue is raised on a test file. Those test files should not be analyzed by SonarQube as source code. They don't seem to be by having a look at the log (test files are in "testsrc" directory).
------------- Scan xxx origin/master
2015-05-08 11:13:25 11:13:25.341 INFO - Load module settings
2015-05-08 11:13:25 11:13:25.557 INFO - Source paths: src, hmc/src
2015-05-08 11:13:25 11:13:25.557 INFO - Test paths: testsrc
2015-05-08 11:13:25 11:13:25.557 INFO - Source encoding: UTF-8, default locale: en_US
and by the fact that NOSONAR issue is not raised on this file.
So, it looks like the FindBugs analysis reported an issue on this test file and SonarQube decorated this test file with the issue. How is it possible?