How sonarqube retrieves informations from a generic project

Hi guys
I have been looking for a while on web a complete whitepaper to have a full awareness of Sonarqube functioning.
I got a book called SonarQube in action that was very useful for an initial understanding. But nothing if someone would like going deep. Specifically i would like to know how sonarqube extracts data from a generic project (algorithms, …) before to analyze it and derive the value of the different metrics (if these kind of informations are available).


Welcome to the community!

The answer to your question is that SonarQube doesn’t extract data from generic projects. It gathers language-specific data and then aggregates it (for total LOC, for example) server-side. If you’re interested in the algorithms, I urge you to take a look at the code of any of our open-source analyzers.