Surface analysis in fusion devices