From what I’ve read, the F-35 has over 10 million lines of code. By comparison, the software of the F-22, which was considered to be far beyond that of any other combat aircraft in the world, had only 5 million lines of code. The F/A-18 Super Hornet has about 1.5 million lines.