Whatever metric you use for "working" goes up, and whatever metric you use for "accomplishing" goes down. Perhaps if you fix the problem those trends will reverse.
Doesn't need to be hyper game-able beancounter make peoples pay depend on fudging the numbers. IN fact that will create negative creativity. You get better results if you write down and graph the departmental ratios of currently open bugs vs lines of git commits and for god sakes don't let anyone know or the gameification is on...