MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / executeAddons

Method executeAddons

lib/cppcheck.cpp:1491–1499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1489#endif
1490
1491void CppCheck::executeAddons(const std::string& dumpFile, const FileWithDetails& file)
1492{
1493 if (!dumpFile.empty()) {
1494 std::vector<std::string> f{dumpFile};
1495 Timer::run("CppCheck::executeAddons", mTimerResults, [&]() {
1496 executeAddons(f, file.spath());
1497 });
1498 }
1499}
1500
1501void CppCheck::executeAddons(const std::vector<std::string>& files, const std::string& file0)
1502{

Callers

nothing calls this directly

Calls 15

executeAddonFunction · 0.85
severityFromStringFunction · 0.85
getCtuInfoFileNameFunction · 0.85
frontMethod · 0.80
setmsgMethod · 0.80
runFunction · 0.70
endsWithFunction · 0.70
CWEClass · 0.70
emptyMethod · 0.45
sizeMethod · 0.45
addFileMethod · 0.45
reportErrMethod · 0.45

Tested by

no test coverage detected