I don't know much about programming, per se, but I have a site written with Smarty where the previous developer looks to have written sloppy code. Every few weeks a new bug is uncovered. Yet, they often claim that they cannot seem to fix it. Or when they do fix it, they do a sloppy job with the fix, which leads to bugs of its own.
The site, as whole, operates relatively smoothly, but whenever I've asked another developer to come in to work on a bug, I hear all sorts of comments regarding the past coding and the potential vulnerabilities it has.
I want to bring in someone new to start expanding the site, but am unsure on how to approach the recurring liabilities of the previous coding.
Rather than bringing someone in to do a full re-coding of the past work, is there such a thing as having a 3rd party do a 'code audit' or something similar on my site? Not sure if there's a better industry term for such a thing, if such a practice even exists.
Any advice on how I could approach this dilemma?