Hold on!
"...is characterised by poor code quality..."
No you don't have a problem with code quality, the real problem is that the wrong people know how to code properly, Russian and Latvian virus and malware designers know how to write bloody good code!