Metrics are a way to control quality by quantitatively assessing certain parameters of a software. It compresses system traits into numbers.