I am using SonarQube Developer Edition 5.6.7 (LTS) and have bought a license supporting 5 million LOC. We are using RBAC and SonarQube runner by having a project key and templates.
I would like to know:
a. How are is the LOC usage calculated - suppose if I have a project which is scanned twice using different project keys -- will this cause duplicity? What should be the best way to scan the same project at different
b. I wish to analyze the same project using Manual and then as part of a CI cycle -- How can I publish two different reports without consuming extra LOC?
c. Using the multibranch plugin allows me to scan and share results in the same project. However, how can I get the results via an API so that if I wish to publish the results to a dashboard reporting tool branch wise -- I can use that API.