An integrated tool for diagnosis