@@ -48,12 +48,12 @@ Go to the root directory of the library and run the following commands in termin
48
48
~~~
49
49
6 . Format the errors in HTML format so that it is more readable while removing the test and build directory from the report
50
50
~~~
51
- cov-format-errors --dir . --file "*/ source" --exclude-files '(/build/|/test/)' --html-output html-out;
51
+ cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --html-output html-out;
52
52
~~~
53
53
7 . Format the errors in JSON format to perform a jq query to get a simplified list of any exceptions.
54
54
NOTE: A blank output means there are no defects that aren't being suppressed by the config or inline comments.
55
55
~~~
56
- cov-format-errors --dir . --file "*/ source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
56
+ cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
57
57
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Below-------------------------\n";
58
58
jq '.issues[] | .events[] | .eventTag ' defects.json | sort | uniq -c | sort -nr;
59
59
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Above-------------------------\n";
@@ -67,8 +67,8 @@ For your convenience the commands above are below to be copy/pasted into a UNIX
67
67
cov-build --emit-complementary-info --dir cov-out make coverity_analysis;
68
68
cd cov-out/
69
69
cov-analyze --dir . --coding-standard-config ../../tools/coverity/misra.config;
70
- cov-format-errors --dir . --file "*/ source" --exclude-files '(/build/|/test/)' --html-output html-out;
71
- cov-format-errors --dir . --file "*/ source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
70
+ cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --html-output html-out;
71
+ cov-format-errors --dir . --file "source" --exclude-files '(/build/|/test/)' --json-output-v2 defects.json;
72
72
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Below-------------------------\n";
73
73
jq '.issues[] | .events[] | .eventTag ' defects.json | sort | uniq -c | sort -nr;
74
74
echo -e "\n-------------------------Non-Suppresed Deviations, if any, Listed Above-------------------------\n";
0 commit comments