The "overall production" is scored like so:

Results are credited first by Lucas-Lehmer CPU time, then by factoring CPU time, next the number of exponents for which a factor was found, and finally by the number of exponents Lucas-Lehmer tested
They also maintain a database ranked just by factoring but it is of less interest than the overall production.