Importer for CodeChecker
See original GitHub issueIs your feature request related to a problem? Please describe.
We want to import the results generated from CodeChecker cmd results
#3075 into another instance of the CodeChecker server. The formatted of the input file would be json
. We will, for now, assume the users are on the same version of Codechecker and Kernel repository.
Rough Description of the scenario:
- User A adds some comments to a specific run in the Codechecker server and marks some of the reports as false positive, confirm, etc.
- User A runs
CodeChecker cmd results <run_name> -o json --details
and obtains a json file. - User A sends the thus obtained json to User B
- User B should now be able to import this json into his Codechecker server and see the findings and comments added by User A.
We would be obliged if you could suggest an approach for implementing the functionality and redirect us to the appropriate files. @bulwahn
Issue Analytics
- State:
- Created 3 years ago
- Comments:22 (12 by maintainers)
Top Results From Across the Web
Quick Howto - CodeChecker - Read the Docs
This document describes the basic steps how the CodeChecker tool should be used to find errors in your source ... CodeChecker parse --export...
Read more >Analyzer User Guide - CodeChecker
CC_LOGGER_GCC_LIKE Set to to a colon separated list to change which compilers should be logged. For example (default): export CC_LOGGER_GCC_LIKE="gcc:g++:clang: ...
Read more >Web User Guide - CodeChecker
Import suppressions between server and suppress file. products (Manage product configuration of a server); login (Authenticate to the server).
Read more >Analyzer User Guide - CodeChecker
CodeChecker provides, along with the more fine-tuneable commands, ... For example (default): export CC_LOGGER_GCC_LIKE="gcc:g++:clang:clang++: cc:c++".
Read more >User Guide - CodeChecker
Import suppressions between server and suppress file ... usage: CodeChecker [-h] {analyze,analyzers,check,checkers,cmd,log,parse,server,store,version} .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a ton @csordasmarton! The issue is resolved. We can obtain a properly formatted json.
Should I create tests for the same in https://github.com/Ericsson/codechecker/tree/master/web/tests/functional. A new folder named
export
. In the test file, we will add new comments withaddComment
and change the review status of some bugs withchangeReviewStatus
methods. But how will we compare the results in this case? Compare review status and comments separately withassetEquals
maybe??Sorry, my bad 😕 We declared the importData function with one parameter which name is
export
. When thrift generated javascript functions from it, the parameter name will beexport
which is a reserved keyword. So we need to change the thrift file to this:I have also generated a new package from it:
6.37.0-dev4
. Please try it out, now it should work.Next time please always update your branch with your changes, so it will be easier to debug this for me 😊