Measuring productivity in software development is a complicated task.
Very important activities (like refactoring and testing) don't seem to add much immediate value to the company and therefore don't get much recognition from management. At the same time, estimating tasks is an extremely difficult thing to do well. This usually