aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/src/pages
diff options
context:
space:
mode:
authorcynthiabethea <108268296+cynthiabethea@users.noreply.github.com>2022-09-16 10:18:05 +0100
committersonartech <sonartech@sonarsource.com>2022-09-16 20:03:13 +0000
commit5b817e2054ca5401686f700bf2429605b8f2d19d (patch)
treedd534033286bfa0c02bf7869adc31fdca65cba06 /server/sonar-docs/src/pages
parent1bacf508c1e2a3223470a99b0b3635d4b50584f6 (diff)
downloadsonarqube-5b817e2054ca5401686f700bf2429605b8f2d19d.tar.gz
sonarqube-5b817e2054ca5401686f700bf2429605b8f2d19d.zip
DOC-68 Adding detail on how LOCs are computed (#6605)
Diffstat (limited to 'server/sonar-docs/src/pages')
-rw-r--r--server/sonar-docs/src/pages/instance-administration/license-manager.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-docs/src/pages/instance-administration/license-manager.md b/server/sonar-docs/src/pages/instance-administration/license-manager.md
index cfd733ea1bf..783c67e76bc 100644
--- a/server/sonar-docs/src/pages/instance-administration/license-manager.md
+++ b/server/sonar-docs/src/pages/instance-administration/license-manager.md
@@ -23,7 +23,9 @@ By clicking the **Set new license** button, you can set a new license to enable
### Lines of Code consumption
Under **Lines of Code**, the gauge shows how many lines of code (LOC) you are currently scanning and how close you are to your limit. If you're near your limit, you may need to purchase additional LOCs.
-For a given project, the lines of code that count towards License Usage are those of the largest branch (or pull request). Lines of test code do not count towards your License Usage.
+LOCs are computed by summing up the main/program LOCs of each project analyzed. The LOCs used for a project are the LOCs found during the most recent analysis of the project.
+
+For a given project, the LOCs that count towards License Usage are those of the largest branch (or pull request). Lines of test code do not count towards your License Usage.
For example:
- If a project has 100 lines of code on its main branch and 200 on a secondary branch, then the number of LOCs counted for the project is 200