#550 New check: AndConditionNeedOptimization

Future
closed
nobody
None
5
2015-09-24
2010-11-05
No

Optimization of condition (if(short form)/while/for/... any expression) statements - check local variables and fields be placed before calling methods in "&&" conditions.

Example "if (checkVisibility(...) && otherVisibilityCriteria)" ==> "if (otherVisibilityCriteria && checkVisibility(...))"

Discussion

  • Roman Ivanov

    Roman Ivanov - 2015-09-24

    issue tracer is moved to github, all sevntu Checks will be moved to main project eventually

     
  • Roman Ivanov

    Roman Ivanov - 2015-09-24
    • status: open --> closed
    • Group: --> Future
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks