Rigorous testing side by side along with a deliverable certification is a very powerful tool to ensure near perfection. This is only topped by continuous monitoring of the code quality. Get impressed by the quality method at Mindmill through the various links on this page.