Is investing in software quality cost effective?