cppcheck/htmlreport
Cilyan Olowen 8b76a109ce
Fix invalid css selectors in htmlreport (#3989)
Some plugins of cppcheck may use error ids that are not valid css
selectors. When the javascript script of htmlreport tries to use these
ids as selectors to display/hide categories of errors, this produces an
error inside the user's browser. The solution is to transform the error
ids that will be used as selectors in order to remove the invalid
characters. This transformation doesn't apply to what is displayed,
so that from a reader point of view, nothing is changed.

Signed-off-by: Cilyan Olowen <gaknar@gmail.com>
2022-04-08 21:12:26 +02:00
..
README.txt
check.sh htmlreport/check.sh: use less heavy input folder to reduce scriptcheck build times (#3617) 2021-12-15 20:53:10 +01:00
cppcheck-htmlreport Fix invalid css selectors in htmlreport (#3989) 2022-04-08 21:12:26 +02:00
example.cc
example.xml Fix typo in getting line number 2013-10-07 06:38:49 -07:00
requirements.txt
setup.py
test_htmlreport.py some Python cleanups based on PyCharm inspections (#2999) 2021-01-31 14:27:11 +01:00
test_suppressions.txt
tox.ini

README.txt

cppcheck-htmlreport

This is a little utility to generate a html report of a XML file produced by
cppcheck.

The utility is implemented in Python (2.7+) and requires the pygments module
to generate syntax highlighted source code.
If you are using a Debian based Linux system, the pygments package can be 
installed by following command:
$ sudo apt-get install python-pygments

For more information run './cppcheck-htmlreport --help'