| 24 | } |
| 25 | |
| 26 | inline bool isValidModuleName(const QString &name) { |
| 27 | static const QRegularExpression kRe("^[a-zA-Z0-9_-]+$"); |
| 28 | return !name.isEmpty() && kRe.match(name).hasMatch(); |
| 29 | } |
| 30 | |
| 31 | inline bool isSafeToDisable(const QString &driver) { |
| 32 | static const QSet<QString> blocked{ |
no outgoing calls
no test coverage detected