Measuring developer productivity is trivial because everyone already knows who the productive engineers are. They're the ones who can fix critical incidents quickly, can implement any feature, can fix any bug, and everyone goes to them with questions. The problem is that nobody wants to act on this information because it implies radical changes that no large organization is willing to make.