Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DCL14-A. Do not make assumptions about the order of global variable initialization across translation units

DCL15-A. Declare objects that do not need external linkage with the storage-class specifier static

Rules

DCL30-C. Declare objects with appropriate storage durations

...

Recommendation

Severity

Likelihood

Remediation Cost

Priority

Level

DCL00-A

low

unlikely

high

P1

L3

DCL01-A

low

unlikely

medium

P2

L3

DCL02-A

low

unlikely

medium

P2

L3

DCL03-A

low

unlikely

high

P1

L3

DCL04-A

low

unlikely

low

P3

L3

DCL05-A

low

unlikely

medium

P2

L3

DCL06-A

low

unlikely

medium

P2

L3

DCL07-A

low

unlikely

low

P3

L3

DCL08-A

low

unlikely

high

P1

L3

DCL09-A

low

unlikely

low

P3

L3

DCL10-A

high

probable

high

P6

L2

DCL11-A

high

probable

high

P6

L2

DCL12-A

low

unlikely

high

P1

L3

DCL13-A

low

unlikely

low

P3

L3

DCL14-A

medium

probable

medium

P8

L2

DCL15-A

low

unlikely

low

P3

L3

Rule

Severity

Likelihood

Remediation Cost

Priority

Level

DCL30-C

high

probable

high

P6

L2

DCL31-C

low

unlikely

low

P3

L3

DCL32-C

medium

unlikely

low

P6

L2

DCL33-C

medium

probable

high

P4

L3

DCL34-C

low

probable

high

P2

L3

DCL35-C

low

probable

medium

P4

L3

DCL36-C

medium

probable

medium

P8

L2

...