cppcheck/htmlreport
Sebastian 816aa7e211
Fix and re-enable htmlreport tests (#2310)
* htmlreport/check.sh: Remove check with obsolete file

gui/test/data/xmlfiles/xmlreport_v1.xml has been removed with commit
d95efc44c7

* .travis.yml: Enable htmlreport test again

* cppcheck-htmlreport: Fall back to guessing lexer from file content

If the lexer can not be guessed from the file extension (for example
for *.tpp) then guess the lexer that should be used from the content.
This fixes "ERROR: *" output when running "htmlreport/check.sh"
Also use specific exceptions instead of bare ones.
2019-10-30 18:01:39 +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 Fix and re-enable htmlreport tests (#2310) 2019-10-30 18:01:39 +01:00
cppcheck-htmlreport Fix and re-enable htmlreport tests (#2310) 2019-10-30 18:01:39 +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'