Numerical sensitivity analysis of corrosion detection