Defining Quality Metrics