ROSE 0.11.145.192
Rose/Sarif/BasicTypes.h
1#ifndef ROSE_Sarif_BasicTypes_H
2#define ROSE_Sarif_BasicTypes_H
3#include <featureTests.h>
4#ifdef ROSE_ENABLE_SARIF
5#include <RoseFirst.h>
6
7#include <memory>
8
9#include <Rose/Sarif/NodeDeclarations.h>
10
11namespace Rose {
12namespace Sarif {
13
15enum class Kind {
16 PASS,
17 OPEN,
20 REVIEW,
21 FAIL
22};
23
25enum class Severity {
26 NONE,
27 NOTE,
28 WARNING,
29 ERROR
30};
31
32} // namespace
33} // namespace
34
35#endif
36#endif
Kind
Analysis result kind.
@ REVIEW
The result requires review by a human.
@ PASS
Rule was evaluated and no problem found.
@ OPEN
Rule was evaluated with insufficient information.
@ FAIL
The result represents a problem whose severity is specified.
@ INFORMATIONAL
Rule was evaluated and produced a purely informational result.
@ NOT_APPLICABLE
Rule was not evaluated because it doesn't apply.
Severity
Analysis result severity.
@ NOTE
A minor problem.
@ NONE
No specified severity.
@ ERROR
A serious problem.
The ROSE library.