From c15dd7adede76f5684b00590552f9988c887a199 Mon Sep 17 00:00:00 2001 From: Gyorgy Orban Date: Fri, 6 Apr 2018 09:08:32 +0200 Subject: [PATCH] change analysis statistics total message --- libcodechecker/analyze/analysis_manager.py | 2 +- .../analyze_and_parse/test_files/multi_error.en1.output | 2 +- .../analyze_and_parse/test_files/multi_error.en2.output | 2 +- .../functional/analyze_and_parse/test_files/multi_error.output | 2 +- .../analyze_and_parse/test_files/multi_error.steps.output | 2 +- .../analyze_and_parse/test_files/multi_error_skipped.output | 2 +- .../analyze_and_parse/test_files/multi_error_suppress.output | 2 +- tests/functional/analyze_and_parse/test_files/nofail.output | 2 +- .../functional/analyze_and_parse/test_files/nofail.steps.output | 2 +- .../test_files/saargs_forward.noforward.output | 2 +- .../analyze_and_parse/test_files/saargs_forward.output | 2 +- tests/functional/analyze_and_parse/test_files/simple1.output | 2 +- .../analyze_and_parse/test_files/simple1.steps.output | 2 +- tests/functional/analyze_and_parse/test_files/simple2.output | 2 +- .../analyze_and_parse/test_files/simple2.steps.output | 2 +- tests/functional/analyze_and_parse/test_files/tidy_check.output | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libcodechecker/analyze/analysis_manager.py b/libcodechecker/analyze/analysis_manager.py index e301102fe4..2454371ed6 100644 --- a/libcodechecker/analyze/analysis_manager.py +++ b/libcodechecker/analyze/analysis_manager.py @@ -57,7 +57,7 @@ def worker_result_handler(results, metadata, output_path): failed_analysis[analyzer_type] += 1 LOG.info("----==== Summary ====----") - LOG.info("Total compilation commands: " + str(len(results))) + LOG.info("Total analyzed compilation commands: " + str(len(results))) if successful_analysis: LOG.info("Successfully analyzed") for analyzer_type, res in successful_analysis.items(): diff --git a/tests/functional/analyze_and_parse/test_files/multi_error.en1.output b/tests/functional/analyze_and_parse/test_files/multi_error.en1.output index f125aec896..edab8ccb89 100644 --- a/tests/functional/analyze_and_parse/test_files/multi_error.en1.output +++ b/tests/functional/analyze_and_parse/test_files/multi_error.en1.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make multi_error" --output $OUTPUT$ --quiet --a [] - Starting static analysis ... [] - [1/1] clangsa analyzed multi_error.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/multi_error.en2.output b/tests/functional/analyze_and_parse/test_files/multi_error.en2.output index a7b355fe50..7b4c7ea0e2 100644 --- a/tests/functional/analyze_and_parse/test_files/multi_error.en2.output +++ b/tests/functional/analyze_and_parse/test_files/multi_error.en2.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make multi_error" --output $OUTPUT$ --quiet --a [] - Starting static analysis ... [] - [1/1] clangsa analyzed multi_error.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/multi_error.output b/tests/functional/analyze_and_parse/test_files/multi_error.output index 3c6a132856..d0a72d4187 100644 --- a/tests/functional/analyze_and_parse/test_files/multi_error.output +++ b/tests/functional/analyze_and_parse/test_files/multi_error.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make multi_error" --output $OUTPUT$ --quiet --a [] - Starting static analysis ... [] - [1/1] clangsa analyzed multi_error.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/multi_error.steps.output b/tests/functional/analyze_and_parse/test_files/multi_error.steps.output index 1afe5cce81..58eac44960 100644 --- a/tests/functional/analyze_and_parse/test_files/multi_error.steps.output +++ b/tests/functional/analyze_and_parse/test_files/multi_error.steps.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make multi_error" --output $OUTPUT$ --quiet --a [] - Starting static analysis ... [] - [1/1] clangsa analyzed multi_error.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/multi_error_skipped.output b/tests/functional/analyze_and_parse/test_files/multi_error_skipped.output index 8d7fac646d..036116ef2b 100644 --- a/tests/functional/analyze_and_parse/test_files/multi_error_skipped.output +++ b/tests/functional/analyze_and_parse/test_files/multi_error_skipped.output @@ -7,7 +7,7 @@ CHECK#CodeChecker check --build "make multi_error" --output $OUTPUT$ --quiet --a [] - Build finished successfully. [] - Starting static analysis ... [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Skipped compilation commands: 1 [] - ----=================---- [] - Analysis finished. diff --git a/tests/functional/analyze_and_parse/test_files/multi_error_suppress.output b/tests/functional/analyze_and_parse/test_files/multi_error_suppress.output index 4895ea8f56..ff5e27e7eb 100644 --- a/tests/functional/analyze_and_parse/test_files/multi_error_suppress.output +++ b/tests/functional/analyze_and_parse/test_files/multi_error_suppress.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make multi_error_suppress" --output $OUTPUT$ -- [] - Starting static analysis ... [] - [1/1] clangsa analyzed multi_error_suppress.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/nofail.output b/tests/functional/analyze_and_parse/test_files/nofail.output index 759bb8f56d..801e97f34e 100644 --- a/tests/functional/analyze_and_parse/test_files/nofail.output +++ b/tests/functional/analyze_and_parse/test_files/nofail.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make nofail" --output $OUTPUT$ --quiet --analyz [] - Starting static analysis ... [] - [1/1] clangsa analyzed nofail.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/nofail.steps.output b/tests/functional/analyze_and_parse/test_files/nofail.steps.output index 58089c0acb..2e698a2437 100644 --- a/tests/functional/analyze_and_parse/test_files/nofail.steps.output +++ b/tests/functional/analyze_and_parse/test_files/nofail.steps.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make nofail" --output $OUTPUT$ --quiet --analyz [] - Starting static analysis ... [] - [1/1] clangsa analyzed nofail.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/saargs_forward.noforward.output b/tests/functional/analyze_and_parse/test_files/saargs_forward.noforward.output index 95a2a50950..b1eec02168 100644 --- a/tests/functional/analyze_and_parse/test_files/saargs_forward.noforward.output +++ b/tests/functional/analyze_and_parse/test_files/saargs_forward.noforward.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make saargs_forward" --output $OUTPUT$ --quiet [] - Starting static analysis ... [] - [1/1] clangsa analyzed saargs_forward.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/saargs_forward.output b/tests/functional/analyze_and_parse/test_files/saargs_forward.output index 009786333a..a0a03580f9 100644 --- a/tests/functional/analyze_and_parse/test_files/saargs_forward.output +++ b/tests/functional/analyze_and_parse/test_files/saargs_forward.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make saargs_forward" --output $OUTPUT$ --quiet [] - Starting static analysis ... [] - [1/1] clangsa analyzed saargs_forward.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/simple1.output b/tests/functional/analyze_and_parse/test_files/simple1.output index 583cd6837a..3e09fa44b0 100644 --- a/tests/functional/analyze_and_parse/test_files/simple1.output +++ b/tests/functional/analyze_and_parse/test_files/simple1.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make simple1" --output $OUTPUT$ --quiet --analy [] - Starting static analysis ... [] - [1/1] clangsa analyzed simple1.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/simple1.steps.output b/tests/functional/analyze_and_parse/test_files/simple1.steps.output index 29c701785e..2b30872b32 100644 --- a/tests/functional/analyze_and_parse/test_files/simple1.steps.output +++ b/tests/functional/analyze_and_parse/test_files/simple1.steps.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make simple1" --output $OUTPUT$ --quiet --analy [] - Starting static analysis ... [] - [1/1] clangsa analyzed simple1.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/simple2.output b/tests/functional/analyze_and_parse/test_files/simple2.output index 57631e66f0..9c4021b707 100644 --- a/tests/functional/analyze_and_parse/test_files/simple2.output +++ b/tests/functional/analyze_and_parse/test_files/simple2.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make simple2" --output $OUTPUT$ --quiet --analy [] - Starting static analysis ... [] - [1/1] clangsa analyzed simple2.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/simple2.steps.output b/tests/functional/analyze_and_parse/test_files/simple2.steps.output index 8882ed2725..380729ea28 100644 --- a/tests/functional/analyze_and_parse/test_files/simple2.steps.output +++ b/tests/functional/analyze_and_parse/test_files/simple2.steps.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make simple2" --output $OUTPUT$ --quiet --analy [] - Starting static analysis ... [] - [1/1] clangsa analyzed simple2.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clangsa: 1 [] - ----=================---- diff --git a/tests/functional/analyze_and_parse/test_files/tidy_check.output b/tests/functional/analyze_and_parse/test_files/tidy_check.output index f7ae08e6f8..e8868edd78 100644 --- a/tests/functional/analyze_and_parse/test_files/tidy_check.output +++ b/tests/functional/analyze_and_parse/test_files/tidy_check.output @@ -8,7 +8,7 @@ CHECK#CodeChecker check --build "make tidy_check" --output $OUTPUT$ --quiet --an [] - Starting static analysis ... [] - [1/1] clang-tidy analyzed tidy_check.cpp successfully. [] - ----==== Summary ====---- -[] - Total compilation commands: 1 +[] - Total analyzed compilation commands: 1 [] - Successfully analyzed [] - clang-tidy: 1 [] - ----=================----