Do you really want to repeat yourself?
I'm not sure that giving bonuses to developers for the number of lines of code they write is a good idea, it encourages developers to break the DRY principal which makes code hard to maintain but not necessarily bugridden. Meeting deadlines ( based on a certain number of 'points' for important tasks to be completed for a release ) and writing good code ( low number of bugs and good performance ) would be a better indicator as to how your team has performed during a period of time and reward those who have worked hard towards a project.
This would of course be judged by an experienced team leader / manager who would have to know their way around code ( and the business ) to a certain degree.