Hi,

Last month, I noticed that the AssignmentInConditional rule is reporting 12 
false issues.
They are all similar. It's when using a while and an iterator in the while 
condition.
Here is an example: 
https://nightlies.apache.org/ofbiz/trunk/groovyScripts.html#org/apache/ofbiz/bi

There is no solution for that: https://github.com/CodeNarc/CodeNarc/issues/447 
but to rewrite the code.

Just to mention

HTH

Jacques


Le 02/08/2023 à 19:42, Jacques Le Roux a écrit :
Hi,

We have set a Git pre-push hook in order to stop pushes with Checkstyle issues.

I propose to do the same for Codenarc.

Currently Buildbot reports Codenarc issues but it's not a blocker.

What do you think ?

Jacques

Reply via email to