Same idea in the welding industry. Measure current and voltage, integrate and you'll know how much heat energy was in the weld. This was for an automated butt-joint welder.
This wouldn't know the amount of solder, flux adhesion etc. it only can guess the thermal mass of the connection.
It will only prevent factory workers who are too quick and do not use enough heat, which we all see in stuff from china where through-hole parts are barely soldered in.