Indirect measure of corrosion level based on crack opening