EntityCulling
EntityCulling copied to clipboard
Refactor CullTask.run()
I've selected CullTask.run() for refactoring, which is a unit of 88 lines of code and 31 branch points. Addressing this will make our codebase more maintainable and improve Better Code Hub's Write Simple Units of Code guideline rating! đ
Here's the gist of this guideline:
- Definition đ Limit the number of branch points (if, for, while, etc.) per unit to 4.
- Whyâ Keeping the number of branch points low makes units easier to modify and test.
- How đ§ Split complex units with a high number of branch points into smaller and simpler ones.
You can find more info about this guideline in Building Maintainable Software. đ
âšī¸ To know how many other refactoring candidates need addressing to get a guideline compliant, select some by clicking on the đ˛ next to them. The risk profile below the candidates signals (â ) when it's enough! đ
Good luck and happy coding! :shipit: :sparkles: :100: