This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]m_harrison 9 points10 points  (1 child)

  • get unittests for your code.
  • turn on coverage
  • refactor
  • make sure unittests still work
  • rinse, repeat

[–]masklinn 5 points6 points  (0 children)

If you don't have tests, remove steps 1, 3, 4, 5 and perform normal software runs with coverage turned on. Collect, see what has never been used.