Detectors Overview
Built-in Detectors
# | Detector | Severity | Requires Soufflé | Enabled by default |
---|---|---|---|---|
1 | ArgCopyMutation | High | ✔ | |
2 | AsmIsUsed | Info | ||
3 | BranchDuplicate | High | ✔ | |
4 | CellOverflow | Critical | ✔ | |
5 | ConstantAddress | Info | ||
6 | DivideBeforeMultiply | High | ✔ | ✔ |
7 | DumpIsUsed | Info | ||
8 | DuplicatedCondition | High | ✔ | |
9 | EnsurePrgSeed | Medium | ✔ | |
10 | FalseCondition | Medium | ✔ | |
11 | FieldDoubleInit | Medium | ✔ | |
12 | InheritedStateMutation | Low | ||
13 | NeverAccessedVariables | Medium | ✔ | |
14 | OptimalMathFunction | Low | ✔ | |
15 | PreferAugmentedAssign | Info | ✔ | |
16 | PreferredStdlibApi | Info | ||
17 | ReadOnlyVariables | Medium | ✔ | ✔ |
18 | SendInLoop | Medium | ||
19 | StringReceiversOverlap | High | ✔ | |
20 | SuspiciousMessageMode | Medium | ✔ | |
21 | UnboundLoop | High | ✔ | ✔ |
22 | UnboundMap | Low | ||
23 | UnusedExpressionResult | Medium | ✔ | |
24 | UnusedOptional | Low | ✔ | |
25 | ZeroAddress | Low | ✔ |
Some of the detectors require Soufflé to be installed. If no Soufflé installation is found, these detectors won't be executed.
A few detectors are optional and aimed at auditors to help uncover subtle issues in the source code. To enable all detectors, use the --all-detectors
option. You can find a full list of configuration options on the configuration page.
Each detector targets a specific type of problem in your code. Click on the detector name to learn more.