Maybe cyclomatic complexity would be a good proxy. It can obviously be gamed but it's obvious when it is