We agree, essentially. At the risk of really labouring the point though;
It'd be most efficient for time/cost reasons if we only ship to production code which is actually used in that build.
However, intermediate steps, or additional debug/test/migration/whatever code is required to get to the final state. You probably don't want to ship debug stuff into production.
Therefore, of the total quantity of code written, somewhat less than 100% is useful in production.
Therefore, you don't want to ship 100% of all code written to production.
> "how can we make it so that 100.0% of the code I type is shipped in the final product?"
This isn't necessarily desirable; but phrased slightly differently perhaps reflects more about production efficiency:
"how can we make it so that 100% of the production code is the only code I typed?"