Duplicated Code If you see the same code in more than one place, refactor. Use Extract Method to deal with duplicated code inside a class. When you have the same code in sibling classes, use Extract Method in both classes then Pull Up Method. If code is similar then use Extract Method on the similar part. You may be able to then use Form Template Method. If the methods do the same thing with