| 91 | } |
| 92 | |
| 93 | static Severity getSeverityFromClassification(const QString &c) { |
| 94 | if (c == checkers::Man) |
| 95 | return Severity::error; |
| 96 | if (c == checkers::Req) |
| 97 | return Severity::warning; |
| 98 | if (c == checkers::Adv) |
| 99 | return Severity::style; |
| 100 | if (c == checkers::Doc) |
| 101 | return Severity::information; |
| 102 | if (c == "L1") |
| 103 | return Severity::error; |
| 104 | if (c == "L2") |
| 105 | return Severity::warning; |
| 106 | if (c == "L3") |
| 107 | return Severity::style; |
| 108 | return Severity::none; |
| 109 | } |
| 110 | |
| 111 | static QStringList getLabels() { |
| 112 | return QStringList{ |
no outgoing calls
no test coverage detected