Clang-tidy report by Python file
Issue by SajaKhdour
Friday Jan 10, 2020 at 13:33 GMT
Originally opened as https://github.com/Bosch-AE-SW/cddk-oss/issues/436
Solution for the code complexity, after activation of Kiso’s Clang and get warning functions which exceeds recommended size thresholds "readability-function-size", ex. (LineThresholds, BranchThresholds, NestingThresholds). And create a python file to find those warning functions with their notes, by reading from the text file that has the content of the result of the output from Kiso's clang config. Then put the result in another text file.
Comment by HansUweRempler
Friday Jan 17, 2020 at 06:45 GMT
Thanks for creating and working on this topic with own initiative. May I ask for an add-on to this task description? Yes, reporting when something is not fitting the threshold is mandatory. But, we should consider to also report the threshold setting itself. I mean, could the report contain the limits (read out from the config, not static) and show this in kind of a table form - I'm a fan of text (not HTML) tables :-).
Kiso CI / Jenkins Dashboard: https://rb-jmaas.de.bosch.com/software-campus/view/Kiso-Dashboard/