Declarations and Initialization (DCL)
- DCL00-PL. Do not use subroutine prototypes
- DCL01-PL. Do not reuse variable names in subscopes
- DCL02-PL. Any modified punctuation variable should be declared local
- DCL03-PL. Do not read a foreach iterator variable after the loop has completed
- DCL04-PL. Always initialize local variables
- DCL05-PL. Prohibit Perl4 package names
Information for Editors
In order to have a new guideline automatically listed above be sure to label it dcl and recommendation .
Risk Assessment Summary
| | | | | | | |----------------|----------|------------|------------|------------|----------|-------| | Recommendation | Severity | Likelihood | Detectable | Repairable | Priority | Level | | DCL00-PL | Low | Likely | Yes | No | P6 | L2 | | DCL01-PL | Low | Probable | Yes | Yes | P6 | L2 | | DCL02-PL | Low | Probable | Yes | No | P4 | L3 | | DCL03-PL | Low | Unlikely | Yes | No | P2 | L3 | | DCL04-PL | Low | Probable | Yes | Yes | P6 | L2 | | DCL05-PL | Low | Improbable | Yes | Yes | P3 | L3 |


