Rewrite or Refactor?
aidenn0: refactorIt may be slim on unit tests, but it passes one huge integration test (people are using it!).  You can add unit tests as you refactor, and make gradual progress.Rewriting from scratch you will need to relearn all of the knowledge that already has been put into that code, and it's an all-or-nothing bet.