Analysis and Diagnosis of Local Defects