Through a thorough analysis of the Automatic Bug Fixing Performance of ChatGPT, this study discovered that ChatGPT has a high accuracy rate in detecting and fixing code errors. The study also explored the various factors that affect ChatGPT's performance, such as the size and complexity of the code, and the type of programming language used. Overall, the results showed that ChatGPT is a promising tool for automatic bug fixing in the field of computer programming.