Dr Herbie wrote:
but wouldn't worry if it's generally sequential code with little logic flow. I'd use a cyclometric complexity of about 3 as a rule of thumb for splitting long methods
Herbie


I agree.  Long functions with generally sequential flow are acceptable, especially where each task is conceptually similar, e.g., setup code.

I run a Cyclomatic Complexity tool from Developer Express which I refer to periodically to help me to keep my functions manageable. With this tool they recommend cyclomatic complexity < 10 and something called maintenance complexity < 200.

Complexity Measures