Cppcheck
Variables
xmlreportv2.cpp File Reference
#include "xmlreportv2.h"
#include "cppcheck.h"
#include "erroritem.h"
#include "report.h"
#include "settings.h"
#include "xmlreport.h"
#include <utility>
#include <QDebug>
#include <QDir>
#include <QFile>
#include <QXmlStreamAttributes>
#include <QXmlStreamReader>
#include <QXmlStreamWriter>

Go to the source code of this file.

Variables

static const QString ResultElementName = "results"
 
static const QString CppcheckElementName = "cppcheck"
 
static const QString ErrorElementName = "error"
 
static const QString ErrorsElementName = "errors"
 
static const QString LocationElementName = "location"
 
static const QString CWEAttribute = "cwe"
 
static const QString HashAttribute = "hash"
 
static const QString SinceDateAttribute = "sinceDate"
 
static const QString TagsAttribute = "tag"
 
static const QString FilenameAttribute = "file"
 
static const QString IncludedFromFilenameAttribute = "file0"
 
static const QString InconclusiveAttribute = "inconclusive"
 
static const QString InfoAttribute = "info"
 
static const QString LineAttribute = "line"
 
static const QString ColumnAttribute = "column"
 
static const QString IdAttribute = "id"
 
static const QString SeverityAttribute = "severity"
 
static const QString MsgAttribute = "msg"
 
static const QString VersionAttribute = "version"
 
static const QString ProductNameAttribute = "product-name"
 
static const QString VerboseAttribute = "verbose"
 

Variable Documentation

◆ ColumnAttribute

const QString ColumnAttribute = "column"
static

Definition at line 54 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ CppcheckElementName

const QString CppcheckElementName = "cppcheck"
static

Definition at line 41 of file xmlreportv2.cpp.

Referenced by XmlReportV2::writeHeader().

◆ CWEAttribute

const QString CWEAttribute = "cwe"
static

Definition at line 45 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ ErrorElementName

const QString ErrorElementName = "error"
static

◆ ErrorsElementName

const QString ErrorsElementName = "errors"
static

Definition at line 43 of file xmlreportv2.cpp.

Referenced by XmlReportV2::writeHeader().

◆ FilenameAttribute

const QString FilenameAttribute = "file"
static

Definition at line 49 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ HashAttribute

const QString HashAttribute = "hash"
static

Definition at line 46 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ IdAttribute

const QString IdAttribute = "id"
static

Definition at line 55 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ IncludedFromFilenameAttribute

const QString IncludedFromFilenameAttribute = "file0"
static

Definition at line 50 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ InconclusiveAttribute

const QString InconclusiveAttribute = "inconclusive"
static

Definition at line 51 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ InfoAttribute

const QString InfoAttribute = "info"
static

Definition at line 52 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ LineAttribute

const QString LineAttribute = "line"
static

Definition at line 53 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ LocationElementName

const QString LocationElementName = "location"
static

Definition at line 44 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ MsgAttribute

const QString MsgAttribute = "msg"
static

Definition at line 57 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ ProductNameAttribute

const QString ProductNameAttribute = "product-name"
static

Definition at line 59 of file xmlreportv2.cpp.

Referenced by XmlReportV2::writeHeader().

◆ ResultElementName

const QString ResultElementName = "results"
static

Definition at line 40 of file xmlreportv2.cpp.

Referenced by XmlReportV2::read(), and XmlReportV2::writeHeader().

◆ SeverityAttribute

const QString SeverityAttribute = "severity"
static

Definition at line 56 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ SinceDateAttribute

const QString SinceDateAttribute = "sinceDate"
static

Definition at line 47 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ TagsAttribute

const QString TagsAttribute = "tag"
static

Definition at line 48 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ VerboseAttribute

const QString VerboseAttribute = "verbose"
static

Definition at line 60 of file xmlreportv2.cpp.

Referenced by XmlReportV2::readError(), and XmlReportV2::writeError().

◆ VersionAttribute

const QString VersionAttribute = "version"
static

Definition at line 58 of file xmlreportv2.cpp.

Referenced by XmlReportV2::writeHeader().