Introduction to the experiment
Methodology behind the study
Research questions
Explanation of the process behind formulating the prompts to provide ChatGPT to collect data for our research questions
Results for our first research question: Can ChatGPT refactor code well?
Analysis on PMD violations and categorical changes made for each quality attribute
Results for our second research question: Can ChatGPT preserve the behavior of the refactored code?
Results for our third research question: Can ChatGPT provide comments/documentation for the refactored code segments to describe intent, instructions, and impact?
A paragraph about our final thoughts after completing all three research questions