From b8aeaa2c3f209b50e910c4f3575f314c6dbe2735 Mon Sep 17 00:00:00 2001
From: Kamil Dudka warning: "
- "low parsing ratio: " << ratio << "%
warning: " - "low parsing ratio in diff base: " + "low ratio of compilation units successfully parsed by Coverity in diff base: " << baseRatio << "%
\n"; if (!count || 100 * baseCount / count < parsingOldToNewRatioThr) str << "warning: " - "low count of parsed units in diff base: " + "low count of compilation units successfully parsed by Coverity in diff base: " << baseCount << "
\n"; } catch (boost::bad_lexical_cast &) { diff --git a/tests/cshtml/0001-smoke/old/scan-results.json b/tests/cshtml/0001-smoke/old/scan-results.json index 28fc1c0b..80731a75 100644 --- a/tests/cshtml/0001-smoke/old/scan-results.json +++ b/tests/cshtml/0001-smoke/old/scan-results.json @@ -5,7 +5,7 @@ "analyzer-version-cppcheck": "1.80", "analyzer-version-gcc": "4.8.5", "analyzer-version-shellcheck": "0.4.7", - "cov-compilation-unit-count": 149, + "cov-compilation-unit-count": 49, "cov-compilation-unit-ratio": 100, "cov-lines-processed": 127521, "cov-time-elapsed-analysis": "00:01:51", diff --git a/tests/cshtml/0001-smoke/scan-results.html b/tests/cshtml/0001-smoke/scan-results.html index 29033a2d..eba7cc70 100644 --- a/tests/cshtml/0001-smoke/scan-results.html +++ b/tests/cshtml/0001-smoke/scan-results.html @@ -21,6 +21,8 @@warning: low ratio of compilation units successfully parsed by Coverity: 80%
+warning: low count of compilation units successfully parsed by Coverity in diff base: 49
Error: SHELLCHECK_WARNING: [#def1] @@ -1430,11 +1432,11 @@Scan Properties
analyzer-version-cppcheck 1.80 analyzer-version-gcc 8.1.1 - analyzer-version-shellcheck 0.4.7 - cov-compilation-unit-count 193 + cov-compilation-unit-ratio 100 + cov-compilation-unit-count 154 cov-compilation-unit-ratio 80 cov-lines-processed 174359 - cov-time-elapsed-analysis 00:01:55 + diffbase-cov-compilation-unit-count 149 diffbase-cov-compilation-unit-count 49 diffbase-cov-compilation-unit-ratio 100 exit-code 0 diff --git a/tests/cshtml/0001-smoke/scan-results.json b/tests/cshtml/0001-smoke/scan-results.json index 5cd7cc0b..55c63d06 100644 --- a/tests/cshtml/0001-smoke/scan-results.json +++ b/tests/cshtml/0001-smoke/scan-results.json @@ -5,8 +5,8 @@ "analyzer-version-cppcheck": "1.80", "analyzer-version-gcc": "8.1.1", "analyzer-version-shellcheck": "0.4.7", - "cov-compilation-unit-count": 193, - "cov-compilation-unit-ratio": 100, + "cov-compilation-unit-count": 154, + "cov-compilation-unit-ratio": 80, "cov-lines-processed": 174359, "cov-time-elapsed-analysis": "00:01:55", "exit-code": 0, host cov01.lab.eng.brq.redhat.com