I joined a team where the previous boss measured productivity by LOC on a weekly basis in public.
This team eschewed libraries and shared code. Copy/paste everywhere.
Every defect had to fixed in 100+ mini-applications. It was a telecom MMI product.