A Software Quality Model and Metrics for Identifying Project Risks and Assessing Software Quality