This form of corrosion is usually caused by a combination of corrosion and cyclic stress. Measuring and controlling this is difficult because of the many factors at play including the nature or form of the stress cycle. The stress cycles cause localized work hardening. So avoiding stress concentrators such as holes etc would be good corrosion engineering design.