CodeSonar C++ API
[For improved navigation, enable JavaScript.]
csonar_warning_significance_defs.hpp
Go to the documentation of this file.
1 
2 /*
3  * Copyright (c) 2023, an unpublished work by CodeSecure, Inc.
4  * ALL RIGHTS RESERVED
5  *
6  * Copyright (c) 2013-2023, an unpublished work by GrammaTech, Inc.
7  * ALL RIGHTS RESERVED
8  *
9  * This software is furnished under a license and may be used and
10  * copied only in accordance with the terms of such license and the
11  * inclusion of the above copyright notice. This software or any
12  * other copies thereof may not be provided or otherwise made
13  * available to any other person. Title to and ownership of the
14  * software is retained by CodeSecure, Inc.
15  */
18 #ifdef CS_CPP_IMPL
19 const warning_significance warning_significance::UNSPECIFIED = warning_significance(csws_unspecified);
20 const warning_significance warning_significance::SECURITY = warning_significance(csws_security);
21 const warning_significance warning_significance::RELIABILITY = warning_significance(csws_reliability);
22 const warning_significance warning_significance::REDUNDANCY = warning_significance(csws_redundancy);
23 const warning_significance warning_significance::STYLE = warning_significance(csws_style);
24 const warning_significance warning_significance::DIAGNOSTIC = warning_significance(csws_diagnostic);
25 const warning_significance warning_significance::FROM_MANIFEST = warning_significance(csws_from_manifest);
26 #endif
static const warning_significance UNSPECIFIED
No significance value was specified.
Definition: csonar_warning_significance_decls.hpp:21
static const warning_significance DIAGNOSTIC
diagnostic: warnings of this class do not indicate vulnerabilities, they indicate the locations of ev...
Definition: csonar_warning_significance_decls.hpp:41
static const warning_significance RELIABILITY
reliability: a code correctness issue.
Definition: csonar_warning_significance_decls.hpp:29
static const warning_significance REDUNDANCY
redundancy: redundant code; may indicate a logic error.
Definition: csonar_warning_significance_decls.hpp:33
static const warning_significance FROM_MANIFEST
Use this when creating a warning class to denote that the significance is to be read from the manifes...
Definition: csonar_warning_significance_decls.hpp:45
static const warning_significance SECURITY
security: a security vulnerability.
Definition: csonar_warning_significance_decls.hpp:25
static const warning_significance STYLE
style: a violation of one or more coding guidelines.
Definition: csonar_warning_significance_decls.hpp:37