I remember hearing once that the average for fully debugged and documented code was something like 4 lines per day.

I don't think I've ever come across anyone that slow, but I don't think I've ever come across fully debugged and documented code either, not that I've seen a lot of code.