Disable languages

I want to analyze .h and .c files in my project. But by default also HTML/CSS/JAVA files are analyzed too which adds up to more lines of code that I’m able to analyze.
How can I deactivate languages like JAVA completely so that they are not longer analyzed by the Scanner and by this are no longer added to the total number of lines of code that I analyze?


see Narrowing the Focus | SonarQube Docs
i.e. you may use the project setting sonar.exclusions with **/*.java to exclude all java files.


thanks this has worked.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.