[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#891422: tracker.debian.org: link to cppcheck results for packages



On Sun, Feb 25, 2018 at 9:30 PM, Daniel Marjamäki wrote:

> I don't know what the "suitable destination and suitable format"
> would be .. so feel free to suggest these.

I would suggest publishing them on the cppcheck website, then the
tracker website can download the files you produce and integrate them
into the page.

The format can be anything you like as long as it is machine-readable.
A JSON file with a list of packages where the link should show up
would be ideal for this. If you would like a count of warnings/errors
in the panel then you could make it a dict with the package name as
the key and the count(s) as the values.

> I would also like to be able to upload a list of "warnings that are
> definitely not false positives". Such warnings could be shown in the
> centre maybe?

Sounds like a good idea. If you could output files with the cppcheck
XML format for each package and provide a way to access to the whole
lot, then the tracker site could periodically sync the results and
display them.

PS: have cppcheck folks considered supporting the firehose static
analysis results format?

https://github.com/fedora-static-analysis/firehose
https://fedoraproject.org/wiki/StaticAnalysis

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


Reply to: