Hacker News new | ask | show | jobs
by mirekrusin 4 days ago
You forgot to include link to your tool.
3 comments

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.

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.

I’ll keep checking.