refactorfirst / RefactorFirst

Identifies and prioritizes God Classes Highly Coupled classes, and Class Cycles in Java codebases you should refactor first.
Apache License 2.0
456 stars 42 forks source link

Support Multi-Module projects #61

Open karianna opened 1 year ago

karianna commented 1 year ago

Ran ./mvnw org.hjug.refactorfirst.plugin:refactor-first-maven-plugin:0.4.0:report from my root project but it did not cascade reporting down into the modules. POM file setup as per READMe (build and reporting sections in parent pom).

jimbethancourt commented 1 year ago

Hi Martijn, Thanks so much for your feedback. Currently RefactorFirst aggregates all sources into a single report to allow for the broadest view possible of the codebase under inspection to allow the team to make the most informed decision possible.

A feature could be added to have individual reports generated for each module, but that's not available at the moment. It wouldn't likely be a trivial effort, but it could be done.

On a scale of 1 (not valuable) - 5 (extremely valuable), how valuable would you find individual reports for individual modules?

Thanks, Jim

karianna commented 1 year ago

Ah OK, so it does scan all of the child modules and aggregates? That's good enough for my use case. I'd say 2 on the priority.