Cppcheck
|
#include <checkersreport.h>
Public Member Functions | |
CheckersReport (const Settings &settings, const std::set< std::string > &activeCheckers) | |
int | getActiveCheckersCount () |
int | getAllCheckersCount () |
std::string | getReport (const std::string &criticalErrors) const |
Private Member Functions | |
void | countCheckers () |
Private Attributes | |
const Settings & | mSettings |
const std::set< std::string > & | mActiveCheckers |
int | mActiveCheckersCount = 0 |
int | mAllCheckersCount = 0 |
Definition at line 29 of file checkersreport.h.
CheckersReport::CheckersReport | ( | const Settings & | settings, |
const std::set< std::string > & | activeCheckers | ||
) |
Definition at line 91 of file checkersreport.cpp.
|
private |
Definition at line 111 of file checkersreport.cpp.
References Settings::addons, checkers::allCheckers, isMisraRuleActive(), mActiveCheckers, mActiveCheckersCount, mAllCheckersCount, checkers::misraC2012Rules, mSettings, Settings::premiumArgs, and checkers::premiumCheckers.
Referenced by getActiveCheckersCount(), and getAllCheckersCount().
int CheckersReport::getActiveCheckersCount | ( | ) |
Definition at line 95 of file checkersreport.cpp.
References countCheckers(), mActiveCheckersCount, and mAllCheckersCount.
int CheckersReport::getAllCheckersCount | ( | ) |
Definition at line 103 of file checkersreport.cpp.
References countCheckers(), and mAllCheckersCount.
std::string CheckersReport::getReport | ( | const std::string & | criticalErrors | ) | const |
Definition at line 136 of file checkersreport.cpp.
References Settings::addons, checkers::allCheckers, isCppcheckPremium(), isMisraRuleActive(), mActiveCheckers, checkers::misraC2012Rules, mSettings, portability, Settings::premiumArgs, checkers::premiumCheckers, style, and warning.
Referenced by ResultsView::checkingFinished().
|
private |
Definition at line 40 of file checkersreport.h.
Referenced by countCheckers(), and getReport().
|
private |
Definition at line 44 of file checkersreport.h.
Referenced by countCheckers(), and getActiveCheckersCount().
|
private |
Definition at line 45 of file checkersreport.h.
Referenced by countCheckers(), getActiveCheckersCount(), and getAllCheckersCount().
|
private |
Definition at line 39 of file checkersreport.h.
Referenced by countCheckers(), and getReport().