-
Notifications
You must be signed in to change notification settings - Fork 601
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactored data clumps with the help of LLMs (research project) #1140
Conversation
Changes seem ok, but there are some findings. And some thoughts from me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take a look in the recommendations and Issues of checkstyle, codacy and codefactor.
The "{" issue is already solved in master,
openpdf/src/main/java/com/lowagie/text/pdf/BarcodeDatamatrix.java
Outdated
Show resolved
Hide resolved
openpdf/src/main/java/com/lowagie/text/pdf/BarcodeDatamatrix.java
Outdated
Show resolved
Hide resolved
openpdf/src/main/java/com/lowagie/text/pdf/BarcodeDatamatrix.java
Outdated
Show resolved
Hide resolved
openpdf/src/main/java/com/lowagie/text/pdf/BarcodeDimensions.java
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
I looks much better now. And I have the impression it is really more readable, after your changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last comment is just an info.
Hello maintainers,
I am conducting a master thesis project focused on enhancing code quality through automated refactoring of data clumps, assisted by Large Language Models (LLMs).
Each proposed change in this pull request has been reviewed and tested by me to ensure compliance with your standards and contribution guidelines.
Data clump definition
A data clump exists if
See also the following UML diagram as an example
I believe these refactoring can contribute to the project by reducing complexity and enhancing readability of your source code.
Pursuant to the EU AI Act, I fully disclose the use of LLMs in generating these refactorings, emphasizing that all changes have undergone human review for quality assurance.
Even if you decide not to integrate my changes to your codebase (which is perfectly fine), I ask you to fill out a feedback survey, which will be scientifically evaluated to determine the acceptance of AI-supported refactorings. You can find the feedback survey under https://campus.lamapoll.de/Data-clump-refactoring/en
Thank you for considering my contribution. I look forward to your feedback. If you have any other questions or comments, feel free to write a comment, or email me under tschoemaker@uni-osnabrueck.de .
Best regards,
Timo Schoemaker
Department of Computer Science
University of Osnabrück