Analysis of factors affecting complications of carotid ligation