VHDL031: Processes should not be too complex to understand

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
--MEDIUMAdaptability | Modular10min + 1min per complexity point above the thresholdsynthesis, complexity, vscode, linter, simulation

Description

Complex code can perform poorly and will, in any case, be difficult to understand and therefore to maintain.

The following constructs increase the complexity of a process:

  • if statements
  • case statements
  • loop statements

Parameters

Count: 1

ParameterValueDescription
Threshold10The maximum authorized complexity for processes.