cppcheck/htmlreport
versat a6deae5f94 htmlreport: Fix source view with leading empty lines
For whatever reason, pygments removes leading empty lines by default.
This results in the error messages being in the wrong line, shifted by
how many empty lines were removed.
Adding the option "stripnl=False" as an option to the lexer constructor
avoids this issue.
2020-01-21 09:13:55 +01: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: Add HTML validation and fix syntax errors (#2317) 2019-11-01 15:06:44 +01:00
cppcheck-htmlreport htmlreport: Fix source view with leading empty lines 2020-01-21 09:13:55 +01: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 test_htmlreport: cppcheck no longer supports XML file version 1 (#1487) 2018-11-22 13:28:01 +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 Add pygments dependency 2012-09-09 09:59:57 -07:00

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'