DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
This page contains the current list of tasks that need to be done as part of the Framework Re-Factor. The goal is the allow volunteers to select a task and provide a patch that will resolve each of the tasks listed. The list of tasks have three degrees of difficulty (Difficult, Moderate and Easy) allowing contributors at any level to participate.
In order to improve the quality of what is being refactored, please note that for each task the developer should:
- Create a JIRA issue (NOTE: this may be a sub-task)
- Write unit tests for every line of code being refactored.
| Ref | Name | Description of Problem | Difficulty | Status | Jira | |
|---|---|---|---|---|---|---|
| remove dead imports | Remove all unnecessary import statements in all java files | Easy | ||||
| Fix resource leaks in CommonServices.java | File1 and file2 should be fixed by closing them in byteBufferTest | Easy | ||||
| Remove deprecated dependencies in EmailServices | org.ofbiz.common.email.EmailServices.java depends on FoScreenRenderer and HtmlScreenRenderer. Both should be replaced by MacroScreenRenderer. | Moderate | ||||
| Simplify getChildHRCategoryTree | The method getChildHRCategoryTree in org.ofbiz.humanres.HumanResEvents is too long and complicated. The business logic can be considerably reduced and simplified. The function should be broken down into multiple private functions to simplify the calls and to create the right level of abstraction | Moderate | ||||
| Add Generics to PaidInOut | In ofbiz.pos.screen.PaidInOut.java the DefaultComboBoxModel is not parameterized. Need to put the right generics in place | Moderate | ||||
| CommonWorkers.java needs simplifying and cleaning up | Refactor CommonWorkers.java. Lots of code is repetitive and can be factored out into shared private methods. This includes things like:
| Moderate | ||||
| Cleanup FindServices.java | Many problems exist in this file:
| Moderate | ||||
| Redesign EntitySaxReader | org.ofbiz.entity.util.EntitySaxReader requires refactoring to achieve the following goals
| Difficult | ||||
| Redesign org.ofbiz.entity.datasource | All objects under org.ofbiz.entity.datasource need to be redesigned into an interface model and implemented with concrete classes. Things like the GenericDao should be broken down to many pieces as it is massive, complex, and overly designed (Interface Segregation principle violated) | Difficult | ||||
| Parameterize everything in DebugManagedDataSource | Generics need to be introduced to multiple places. Requires knowledge in commons-pool | Moderate | ||||
| XML shared dependencies between accounting and order | Many shared dependencies exist bi-directionally between accounting and order including screens, entities and other items. All such XML should propagate down to the commonext component | Difficult | ||||
| XML shared dependencies between accounting and HR | Many shared dependencies exist bi-directionally between accounting and HR including screens, entities and other items. All such XML should propagate down to the commonext component | Moderate |