Closed jan-gerling closed 4 years ago
Maurício Aniche Delft University of Technology http://www.mauricioaniche.com
On Fri, Mar 13, 2020 at 12:40 PM Jan Gerling notifications@github.com wrote:
The central class of our data-collection tool (App.java https://github.com/refactoring-ai/predicting-refactoring-ml/blob/21319e0aaea395b9665d62205fd758cf8fbf59a0/data-collection/src/main/java/refactoringml/App.java#L32) is literally one huge method, containing all the log. I suggest to refactor it:
- extract methods
- refactor attributes
- move methods to utils, if applicable
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/refactoring-ai/predicting-refactoring-ml/issues/122, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYTTFMAUMMJA5WV6VT5U3RHILSHANCNFSM4LHAVVOA .
Indeed, the name of the parameter there is datasetName
and not projectName
. Note how the project name is actually extracted from the GitUrl inside initProject
. Just fixed it.
The central class of our data-collection tool (App.java) is literally one huge method, containing all the log. I suggest to refactor it: