I'm sure developers are not measuring their own productivity in lines of code. Rather how fast tasks get completed or how easy it is to modify code etc
Developers have perverse incentives, like endlessly refactoring the same codebase or architecting "scalable" and "abstract" solutions.