How to extract .csv file from Coverity server in command line.
please Explain Command cov-manage-im with example.
Is there any need to install Coverity in Windows, though I have access to the website and can manually download the .csv file
For those who came here looking to export CSV using the web interface to the Coverity server, if you open the menu sidebar, then in the "Issues by ..." and "File" sections, each subsection has a drop-down option "Export CSV" which does the job !
This is clearly explained in Documentation:
Show all defects in 'proj' project
You basically need to use --mode
defects to query defects and
--show
to output in csv format
cov-manage-im --host <host> --port <port> --user id --password pwd --mode defects --show --project proj
You can add fields as
cov-manage-im --host <host> --port <port> --user id --password pwd --mode defects --show --project proj --fields cid,severity, classification ..
And add filters as
cov-manage-im --host <host> --port <port> --user id --password pwd --mode defects --show --project proj --fields cid,severity, classification .. --status Fixed --class Bug --severity Major ...
and so on and so forth. Just look at detailed documentation on your Coverity Connect instance
As I also needed to download Coverity report as CSV, using the web-ui, I attach here a screenshot, to better explain how this is done.
At the view panel, select the view you want to export (here it is High Impact Outstanding)
now click on the down-arrow and select 'Export CSV'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With