Identify which lines can be removed and everything still works. Don't remove comments, empty lines and asserts.