Penstock

Guide / Every rule

Two variables look like one

The check flow/lookalike, in the group Process flow.

AdvicePro

Why it matters

Two variable names that differ by a letter or its case are usually one name spelled twice, and one of them never holds the value the other does.

How to fix it

Use one spelling everywhere, or make the names differ clearly.

Where you see it

The Problems tab lists it under How it runs and outlines the path that leads there. In a terminal, penstock check --only flow reports it as LOOKALIKE. This check is part of Penstock Pro, and Team in a pipeline.

Rule details

Idflow/lookalike
GroupProcess flow
LevelAdvice: it works, and reads or runs better without it
Name in penstock checkLOOKALIKE

Read more: Flow analysis. All rules: Every rule.