19 #ifndef CHECKSTATISTICS_H
20 #define CHECKSTATISTICS_H
27 #include <QStringList>
A class for check statistics.
QStringList getTools() const
Get tools with results.
const QString & getCheckersReport() const
void clear()
Clear the statistics.
std::set< std::string > mActiveCheckers
CheckStatistics(QObject *parent=nullptr)
unsigned getCount(const QString &tool, ShowTypes::ShowType type) const
Return statistics for given type.
QMap< QString, unsigned > mError
QMap< QString, unsigned > mPortability
QMap< QString, unsigned > mWarning
const std::set< std::string > & getActiveCheckers() const
void addItem(const QString &tool, ShowTypes::ShowType type)
Add new checked item to statistics.
QMap< QString, unsigned > mInformation
void setCheckersReport(QString report)
int getNumberOfActiveCheckers() const
void addChecker(const QString &checker)
Add checker to statistics.
QMap< QString, unsigned > mPerformance
QMap< QString, unsigned > mStyle
ShowType
Show types we have (i.e.