31 static void addItem(QMap<QString,unsigned> &m, 
const QString &key)
 
   41     const QString lower = tool.toLower();
 
   63         qDebug() << 
"Unknown error type - not added to statistics.";
 
   87     const QString lower = tool.toLower();
 
   90         return mStyle.value(lower,0);
 
   98         return mError.value(lower,0);
 
  103         qDebug() << 
"Unknown error type - returning zero statistics.";
 
  111     for (
const QString& tool: 
mStyle.keys()) ret.insert(tool);
 
  112     for (
const QString& tool: 
mWarning.keys()) ret.insert(tool);
 
  113     for (
const QString& tool: 
mPerformance.keys()) ret.insert(tool);
 
  114     for (
const QString& tool: 
mPortability.keys()) ret.insert(tool);
 
  115     for (
const QString& tool: 
mError.keys()) ret.insert(tool);
 
  116     return QStringList(ret.values());
 
static void addItem(QMap< QString, unsigned > &m, const QString &key)
 
QStringList getTools() const
Get tools with results.
 
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
 
void addItem(const QString &tool, ShowTypes::ShowType type)
Add new checked item to statistics.
 
QMap< QString, unsigned > mInformation
 
void addChecker(const QString &checker)
Add checker to statistics.
 
QMap< QString, unsigned > mPerformance
 
QMap< QString, unsigned > mStyle
 
ShowType
Show types we have (i.e.