GitHub
CERT Secure Coding

Declarations and Initialization (DCL)

The following rules from the SEI CERT C Coding Standard also apply in C++:

Information for Editors
To have a new guideline automatically listed above be sure to label it dcl and rule .

Risk Assessment Summary

Rule Severity Likelihood Detectable Repairable Priority Level
DCL50-CPP High Probable Yes No P12 L1
DCL51-CPP Low Unlikely Yes No P2 L3
DCL52-CPP Low Unlikely Yes Yes P3 L3
DCL53-CPP Low Unlikely Yes No P2 L3
DCL54-CPP Low Probable Yes No P4 L3
DCL55-CPP Low Unlikely No Yes P2 L3
DCL56-CPP Low Unlikely Yes No P2 L3
DCL57-CPP Low Likely Yes Yes P9 L2
DCL58-CPP High Unlikely Yes No P6 L2
DCL59-CPP Medium Unlikely Yes No P4 L3
DCL60-CPP High Unlikely Yes No P6 L2