GLITCH icon indicating copy to clipboard operation
GLITCH copied to clipboard

Parse values in the intermediate representation

Open Nfsaavedra opened this issue 3 years ago • 1 comments

We should parse the values in the intermediate representation allowing to differ, for instance, types (booleans, strings, numbers...) and expressions (ands, ors ...). This parsing would allow to define other type of smells in a more accurate way. For instance, imagine the smell "Hard-coded secret". We have something like: $test | "hello". Although a variable is present, there is still a chance that the secret is hard-coded.

Nfsaavedra avatar May 20 '22 17:05 Nfsaavedra

Here, it would be important if a reference to the same variable pointed to the same object. We probably would need to implement the concept of scope.

Nfsaavedra avatar May 20 '22 18:05 Nfsaavedra