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

Function getMisraCReportType

gui/mainwindow.cpp:480–487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480static ReportType getMisraCReportType(const QStringList &standards)
481{
482 if (standards.contains(CODING_STANDARD_MISRA_C_2023))
483 return ReportType::misraC2023;
484 if (standards.contains(CODING_STANDARD_MISRA_C_2025))
485 return ReportType::misraC2025;
486 return ReportType::misraC2012;
487}
488
489void MainWindow::saveSettings() const
490{

Callers 2

saveSettingsMethod · 0.85
changeReportTypeMethod · 0.85

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected