Where I can find a list of all possible languages returned by metric ncloc_language_distribution

In documentation about support for scanned languages (Languages overview | SonarQube Server Documentation) is presented only the ordinary name of supported languages (e.g., “JavaScript”). But, when I get metrics for my repositories directly from API (by metric ‘ncloc_language_distribution’ in ‘api/measures/component’ endpoint), its return a abbreviation or unix-name for language (e.g., ‘js’ for ‘JavaScript’).

So, where I can find a list of all this abbreviations/unix-names for languages returned in ‘ncloc_language_distribution’ attribute?

Additionally, why exists a “language” named ‘web’ in API if this terminology is not present in documentation and configuration (Administration > Configuration > General Settings > Language)? Does the term ‘web’ refers to HTML?

Justifying: its needled to implement labeled graphics of languages in use for each repository.

Hey there.

I believe you’re looking for GET api/languages/list

And yes – Web = HTML

1 Like

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