#564 New check: BlockLength

open
nobody
Check (274)
5
2012-10-10
2011-03-02
Roman Ivanov
No

Length of child block that is more then 80% of parent block is hard to read in case child block is long(few display screens).
We need to have check that detect such cases and suggest to move child block to separate method of change nested IF. Could be useful to have options to ignore while/if/for blocks - but this need to be investigated.

Options for user adjustment:
Parent block size, count of lines, default could be 150 lines (or more)
Percentage of child block size, default could be 90 (90%)

Discussion