aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs
diff options
context:
space:
mode:
authorMichael Gumowski <michael.gumowski@sonarsource.com>2022-03-21 11:35:36 +0100
committersonartech <sonartech@sonarsource.com>2022-03-21 20:02:53 +0000
commit97bbd15733926e9dfde768601c81f186f6341dd8 (patch)
tree92cacfdf6e330653c7e25399fc9d215f05802839 /server/sonar-docs
parent1dec25e60ab14441fed067b5a6ca8f071d8ac52e (diff)
downloadsonarqube-97bbd15733926e9dfde768601c81f186f6341dd8.tar.gz
sonarqube-97bbd15733926e9dfde768601c81f186f6341dd8.zip
Fix typo in 'comment_lines' definition
Diffstat (limited to 'server/sonar-docs')
-rw-r--r--server/sonar-docs/src/pages/user-guide/metric-definitions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-docs/src/pages/user-guide/metric-definitions.md b/server/sonar-docs/src/pages/user-guide/metric-definitions.md
index 1add0d83993..ce51caa07a8 100644
--- a/server/sonar-docs/src/pages/user-guide/metric-definitions.md
+++ b/server/sonar-docs/src/pages/user-guide/metric-definitions.md
@@ -234,7 +234,7 @@ The following piece of code contains 9 comment lines:
| Language | Note
| ---|---
| COBOL | Lines containing the following instructions are counted both as comments and lines of code: `AUTHOR`, `INSTALLATION`, `DATE-COMPILED`, `DATE-WRITTEN`, `SECURITY`.
-| Java | File headers are not counted as comment lines (becuase they usually define the license).
+| Java | File headers are not counted as comment lines (because they usually define the license).
**Comments (%)** (`comment_lines_density`)
Density of comment lines = Comment lines / (Lines of code + Comment lines) * 100