Currently SonarQube shows Java and JavaScript code quality metrics under a one report. It would be nice if it shows separately from each other.
Which kind of method should I use for splitting from each other?
In multi-language projects, the only information for which you can have the distribution by language is the lines of code. You can see this in the "Size" widget. But for the other metrics, this is not possible (yet).