Ericsson / codechecker

CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy
https://codechecker.readthedocs.io
Apache License 2.0
2.15k stars 357 forks source link

CSV exported from "Checker statistics" view does not contain (Windows-compatible?) newlines #4101

Open whisperity opened 7 months ago

whisperity commented 7 months ago

Describe the bug The CSV file created with the Export CSV button when viewing the "Checker statistics" page is not usable on Windows (e.g., as a data-source to Excel), as the file does not contain the appropriate newlines.

See this example file: codechecker_checker_statistics.csv

CodeChecker version 6.22 release

To Reproduce

  1. Click the "Export CSV" button and save the file.

Expected behaviour

I get a CSV that is usable. If not appropriately aligned with Windows-specific \r\ns, then at least the \ns should be there so I can fix up the file later manually. Currently, the first column cell of the second row is immediately appended to the last column header in the first row, so it takes a lot of manual clicking back and forth to fix it.

Desktop (please complete the following information)

whisperity commented 1 month ago

@cservakt I vaguely recall you touching things around these parts for the checker status overview pane #4210. Could you please re-check if this thing was fixed by that?