Prediction of tin-whiskers generation during thermal cycle test using stress and mass-diffusion analysis