I have inherited an org with lots of outdated apex, and multiple changes to VRs, field requirements, field values, profile names, record type names etc. All of this was done without any insight into, or konwledge of, apex that had also been written many years ago.
Production code coverage is now hovering around 40%......
Most of the existing custom apex is now irrelevant (outdated processes that are no longer used) and I need to get coverage up so I can begin to push change sets and update the existing org.
Since my primary goal is to raise code coverage and then delete many of the existing classes, triggers, extensions, etc my question is: Can I simply replace existing class code with simpler classes and test classes rather than dig through and update the existing code and configuration?
Again, the goal is to get rid of a lot of this code anyway so this seems like a quick and dirty solution to an otherwise overwhelming problem.