The interferometric calibration and measurement of deformable mirrors for adaptive optics are often performed on complex optical system with spider arms. The spider shadows may divide the mirror surface into separate islands on the detector, so the interferometer fails in reconnecting them to a common phase value. The calibration measurements then suffer from such artificial differential pistons across islands, which is converted into a wrong actuator command and in general into a poor calibration. We review the effects of spider arms shadowing as experienced during the optical calibration of large format adaptive mirrors, such as the Large Binocular Telescope and Very Large Telescope ones; we describe the procedures that we tested to cope with these issues and their effectiveness; and we present a laboratory assessment of the effect of such a shadowing with a dedicated test setup. Our work is part of a preparatory activity for the optical test of the European Extremely Large Telescope adaptive mirror M4.