logoalt Hacker News

mirekrusintoday at 12:39 PM2 repliesview on HN

You forgot to include link to your tool.


Replies

all2today at 2:19 PM

If I had to do a 'code quality' checker I think I'd try to use some combination of syntax tree analysis, data flow analysis, and LOC changed.

Something like that.

Too many new nodes in the syntax tree, or a sub-tree that appears sufficiently similar to another sub-tree (for various definitions of similar), data-flow/side effects gets more convoluted, too many LOC, and so on.

onlyrealcuzzotoday at 2:15 PM

An LLM could probably figure out how to use it now.

But it doesn't yet have a coherent UX unless you're me.

Hopefully, I'll iron that out over the next week and I'll update you.

show 1 reply