CRITICAL
Rule Definition
Make sure you start with an empty dynamic array (array exists, but doesn’t have any entries) rather than a null array (array doesn’t exist). Declare your array variable with a dimension of 0 or attribute clause or assign a “not null” array to the variable.
Remediation
Try to reduce the use the declaration of null arrays.
Reference
EGL Best Practices: Coding For Performance. November 10, 2009. Edition 2
Related Technologies
Technical Criterion
Programming Practices - Unexpected Behavior
About CAST Appmarq
CAST Appmarq is by far the biggest repository of data about real IT systems. It's built on thousands of analyzed applications, made of 35 different technologies, by over 300 business organizations across major verticals. It provides IT Leaders with factual key analytics to let them know if their applications are on track.