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 Add python 2.7+ requirement (see https://github.com/danmar/cppcheck/pull/751) 2016-05-11 11:58:05 +02:00
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 Fix typo in getting line number 2013-10-07 06:38:49 -07:00
example.xml Fix typo in getting line number 2013-10-07 06:38:49 -07:00
requirements.txt cppcheck-htmlreport requires Pygments. 2016-08-24 10:40:54 -07:00
setup.py Improve Python code 2017-06-04 22:51:48 +02:00
test_htmlreport.py some Python cleanups based on PyCharm inspections (#2999) 2021-01-31 14:27:11 +01:00
test_suppressions.txt htmlreport: fix errors when unmatched suppressions are reported via --enable=information. Incorporate tests. 2015-03-05 17:09:19 +01:00
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'