SONARPLUGINS-3475 Rule A "while" loop should be used instead of a "for" loop