VHDL033: Files should not have too many lines of code

Summary

Count: 1

ReliabilitySecurityMaintainabilityCode attributeEffort to fixTags
--LOWAdaptability | Modular1hsynthesis, cnes-custom, complexity, do254, vscode, simulation, linter, cnes, cnes-custom-cne-02700, cnes-std-02100, do254-dr8

Description

A source file that grows too much tends to aggregate too many responsibilities and inevitably becomes harder to understand and therefore to maintain. Above a specific threshold, it is strongly advised to refactor it into smaller pieces of code which focus on well defined tasks. Those smaller files will not only be easier to understand but also probably easier to test.

Parameters

Count: 1

ParameterValueDescription
Max350Maximum number of lines of code in a file.