About 15 years ago I was involved in research which relates to your second sentence. We used metrics as cost functions to "improve" programs, but found the metrics contradicted each other... And they all made the programs qualitatively worse... Apart from those small quibbles, the metrics are great!