def foo(): # for instance, if a fuction has got many if's (by default <= 50)
# split up to smaller functions/methods
Used when a function or method has too many statements. You should then split it in smaller functions / methods.