My old CTO has a spiritual metric that always resonated with me: Revenue / Lines of Code. The higher the number the better.