Tag factory defect analysis