8b76a109ce
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> |
||
---|---|---|
.. | ||
README.txt | ||
check.sh | ||
cppcheck-htmlreport | ||
example.cc | ||
example.xml | ||
requirements.txt | ||
setup.py | ||
test_htmlreport.py | ||
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'