Another complexity with measuring software productivity is the value of reliability and maintainability which can take years to manifest. Also there is the multiplier effect of having a team player who brings up the whole team’s productivity but might not be obviously measurable.