I've seen many similar instances myself; and unfortunately many companies still don't understand that metrics-driven development tends to result in ignoring all the other important things that can't be measured as easily.
As the old saying goes: "Not everything that counts can be counted, and not everything that can be counted, counts."
The worst programmer I know - https://news.ycombinator.com/item?id=37361947 - Sept 2023 (628 comments)