From 97bbd15733926e9dfde768601c81f186f6341dd8 Mon Sep 17 00:00:00 2001 From: Michael Gumowski Date: Mon, 21 Mar 2022 11:35:36 +0100 Subject: [PATCH] Fix typo in 'comment_lines' definition --- server/sonar-docs/src/pages/user-guide/metric-definitions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5