- If your "productivity" is measured and rewarded based on lines of code, you know what'll happen.
- If a QA engineer is incentivised based on number of detected bugs, you know what'll happen - a lot of trivial bugs gets reported.
- If a dev is incentivised based on number of bugs per line of code, fewer bugs will get reported.
... and that's just w.r.t. software metrics. At the country level, we have the GDP to thank for if a govt targets its policies towards influencing the GDP number upwards to the detriment of what the people and economy really need in their context.