Bugs to Lines-of-Code Ratio: The Multiven Guide to Assessing How Vulnerable you are to Cyberattacks.
(a) Industry Average: There are about 15 – 50 bugs per 1000 lines of delivered Code.
(c) Modern Cars in 2017 have about 200 Million Lines of Code. That equates to 3 million software bugs.
To summarize, cyberattacks are exploitations of software bugs. Use Autopilot in cars with care