79390944

Date: 2025-01-27 13:30:07
Score: 1
Natty:
Report link

Since the index/iterator is hidden in the foreach construct, you can draw your CFG loops similarly to how a tool like staticfg would do (for Python), with a label indicating the array you are iterating on. You don't need to expose an internal index. Your CFG would look like:

CFG

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Dune