You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when one tries to store a report folder, and there are multiple same reports from a header file, only one piece of report will be kept and stored of all the identical reports.
This can be extremely wasteful on large report folders when the raw report count is in the millions. It is also confusing when the store command uploads the report folder, it will print the raw report count which will be different to the report count that is actually stored.
See the following examples:
CodeChecker parse <results_folder>
----==== Checker Statistics ====----
-------------------------------------------------------------------------
Checker name | Severity | Number of reports
-------------------------------------------------------------------------
cppcheck-uninitMemberVar | MEDIUM | 4
cppcheck-invalidPrintfArgType_uint | MEDIUM | 1
cppcheck-invalidPrintfArgType_sint | MEDIUM | 2
cppcoreguidelines-virtual-class-destructor | MEDIUM | 12
cppcoreguidelines-special-member-functions | LOW | 17
bugprone-sizeof-expression | HIGH | 1
-------------------------------------------------------------------------
----=================----
----==== File Statistics ====----
--------------------------------
File name | Number of reports
--------------------------------
tinyxml2.h | 36
tinyxml2.cpp | 1
--------------------------------
----=================----
Store result on GUI:
CodeChecker store <results_folder>
----==== Checker Statistics ====----
-------------------------------------------------------------------------
Checker name | Severity | Number of reports
-------------------------------------------------------------------------
cppcheck-uninitMemberVar | MEDIUM | 7
cppcheck-invalidPrintfArgType_uint | MEDIUM | 1
cppcheck-invalidPrintfArgType_sint | MEDIUM | 4
cppcoreguidelines-virtual-class-destructor | MEDIUM | 24
cppcoreguidelines-special-member-functions | LOW | 34
bugprone-sizeof-expression | HIGH | 1
-------------------------------------------------------------------------
----=================----
----==== File Statistics ====----
--------------------------------
File name | Number of reports
--------------------------------
tinyxml2.h | 70
tinyxml2.cpp | 1
--------------------------------
----=================----
It would be a beneficial feature to deduplicate identical reports during or after the analysis run. The same algorithm should be used that the store handler uses, to ensure the best compatibility.
The text was updated successfully, but these errors were encountered:
Currently, when one tries to store a report folder, and there are multiple same reports from a header file, only one piece of report will be kept and stored of all the identical reports.
This can be extremely wasteful on large report folders when the raw report count is in the millions. It is also confusing when the store command uploads the report folder, it will print the raw report count which will be different to the report count that is actually stored.
See the following examples:
CodeChecker parse <results_folder>
Store result on GUI:
![image](https://private-user-images.githubusercontent.com/23135800/275527784-09bdb3e4-910c-44bf-a041-3e23d05b1b23.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzY1NDM0MzcsIm5iZiI6MTczNjU0MzEzNywicGF0aCI6Ii8yMzEzNTgwMC8yNzU1Mjc3ODQtMDliZGIzZTQtOTEwYy00NGJmLWEwNDEtM2UyM2QwNWIxYjIzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTEwVDIxMDUzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2Y2E4ZDFiMWNjOTk1MGFlMjBjMDcyZGViODEyNTY5OTE0YTRlZDlkODM1MmIyYmQ1YTRiYmFmNmYxN2ZiZjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.nEmPPMDKcnct0VKvppvK4Tu6oRmg89kcerfJzLu8N2k)
CodeChecker store <results_folder>
It would be a beneficial feature to deduplicate identical reports during or after the analysis run. The same algorithm should be used that the store handler uses, to ensure the best compatibility.
The text was updated successfully, but these errors were encountered: