Skip to content

Tool to convert cppcheck report (.xml) to Excel file (.xlsx)

License

Notifications You must be signed in to change notification settings

fredpedroso/cppcheck2xlsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cppcheck report converter from xml to xlsx

Tool that converts cppcheck XML output to Excel (.xlsx) file.

Features

The tool reads the cppcheck output xml file and generates an excel file containing the information below:

  • ID: id of error, and which are valid symbolnames.
  • Severity: Error, Information, Performance, Portability, Style, Warning.
  • Message: The error message in short format.
  • Verbose: The error message in long format.
  • CWE: CWE ID for the problem.
  • File: File where the possible issue is.
  • Line: Line where the possible issue is.

Getting Started:

Clone the project repository:

$ git clone https://github.com/fredpedroso/cppcheck2xlsx.git

Requirements:

Install the requirements:

$ pip install -r requirements.txt

Usage:

Generate the cppcheck report in xml:

$ cppcheck  -i src/ --xml --enable=all ./ 2> ./report-cppcheck.xml

Convert it to Excel (.xlsx) file:

$ python cppcheck2xlsx.py --path report-cppcheck.xml

The report will be generated in the report folder.

About

Tool to convert cppcheck report (.xml) to Excel file (.xlsx)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages