Analysis of degradation and restoration