>LoC is no measure of complexity of a system
Agreed but I've often been curious about the complexity myself. I saved a similar discussion on reddit a few years ago. One commenter worked for a company that makes Stability Control Systems for major car manufacturers and this comment really stood out for me:
Like, for instance, BMW wants us to follow this architecture standard that (very simply) requires all function calls between sets of "subsystems" to route through one file. It is currently at around 120,000 lines. That's one file out of the thousands of files we have. We have many "database" files that are thousands to tens of thousands of lines long as well.