As a very rough guide. Replacing one big function with two smaller functions is often better than replacing two small functions with one big one.