I suspect that even a NASA or an Apple or a Google or some other social structure would make a product with some painfully bad parts lurking somewhere in it.
I further suspect that the difference is, with open source code, the "general" public is actually able to become aware of it, rather than just the engineers working on it.