-
Notifications
You must be signed in to change notification settings - Fork 16
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
Address codacy issues across the project #35
Comments
…mann/opt4j.git into patch/#35-codacy-issues
Don't you think we should start by writing tests for the classes? I think that a substantial refactoring is quite likely to introduce a lot of small errors that we may not see without tests. |
At this point, I only addressed style issues that should (in the best case) not change the code significantly and should be doable via code-review. At least my 2cc. The one mistake caught by Felix was in fact a dumb mistake by me, but spotting a line changing from w1 != w0 to w1 == w0 is what we have code review for, right? |
I just mean that in the long run, we have to both write tests and address the issues anyway. And having tests makes refactoring very comfortable |
* codacy issues fixed for org.opt4j.viewer.* * codacy issues fixed for org.opt4j.tutorial.* except prettify.js * codacy issues fixed for org.opt4j.satdecoding.* * codacy issues fixed for org.opt4j.satdecoding.* * codaxy issues fixed for org.opt4j.optimizers.* except fronts in hypervolume * codaxy issues fixed for org.opt4j.optimizers.* * codacy issued fixed for org.opt4j.operators.* * codacy issue fix * codacy issues fixed in part for org.opt4j.core.* * PMD CompareObjectsWithEquals requires more careful consideration; reverted respective occurrences * codacy issues fixed for org.opt4j.benchmarks.* * Ignore ptolemy-plot sources, *.js, and *.py source files in codacy * giving different syntax a try * fixes according to pull-request review by felixreimann * addressed review by felixreimann
Current issues solved. Further discussion in #39. |
After the codacy integration, I suggest a round of patching all across the project.
The text was updated successfully, but these errors were encountered: