Welcome to the forum!
This sounds like a problem which the developers need to answer. (Unfortunately, Inkscape developers rarely visit forums.) And I'll give you the info for contacting them.
But first, I'm curious where you are seeing the size of an object in the XML Editor. Are you actually calculating it from the nodes' placement shown in the d or path data attribute? It sounds like you probably know a lot more about this that I do. And if so, just say so, and move on to contact the developers.
But I'm not sure if that is a proper comparison or confirmation. Do you realize that those coordinates are relative to a 0,0 origin at the top, rather than at the bottom? That's got to be a very difficult calculation! (One of the next few new versions is planned to make the coordinate grids match.)
As for the transform attribute, in Inkscape Preferences > Behavior > Transforms, do you have set for Optimized or Preserved. If Preserved, you might try setting for Optimized.
I'm thinking you must be set for Preserved. Because I'm set for Optimized, and I don't see a transform attribute in the XML Editor.
Developers can be contacted via mailing list. Either the devel list or the user community list will get developers' attention.
https://inkscape.org/en/community/mailing-lists/ Or there's IRC, where likewise, there is a development channel and a user channel. And likewise, either one will be seen by developers.
https://inkscape.org/en/community/discussion/Edit
Also I'm curious about the gcode. Are you using Inkscape's gcode tools for that? It seems odd to me that simply having a width which is not an even integer value would add so much more code. I'll just bet that all that extra code has more to do with that transform attribute, than the size of the object. Not that I'm an expert of course. But I have that suspicion.