An FMECA-based approach to process analysis