Can Reanalyze discover overly nested functions?

Very excited to see Reanalyze coming up into the light lately. I personally find it wildly frustrating that we prioritize layout concerns over bigger issues like those Reanalyze may come up with.

Just thinking this morning that I often push for moving functions as far up the module hierarchy as possible…avoiding function creation in react component updates for example. Maybe this is something the compiler can do, but its also useful to me to express that a function does not depend on any closure.

Is this something Reanalyze could and would be interested in providing?

Thanks!
A