The Mass column of the navigation menu always shows you 0.1 mass for anything that's docked. Normal (undocked) ships appear to be fine.
Going into those docks and looking at the build mode, does give you the right mass though.
For stations and planet plates, it always shows 0.0 mass