Hacker News new | ask | show | jobs
by JonChesterfield 1554 days ago
This appears to be selling a static analysis tool that rates code on a 1 to 10 scale on a few axes where the assessment criteria are opaque. So on the face of it that's not something developers are going to like.

@john-shaffer if this is your tool can you provide a link to how the various metrics are computed?

edit: FAQ doesn't include the above. It does say the tool requires write access to GitHub repos it analyses.

2 comments

Disclaimer: I work at CodeScene.

Here's a link to some docs about how code health is calculated: https://codescene.io/docs/guides/technical/code-health.html

In simple terms we try to measure cognitive complexity of source code.

A more in-depth description of one of the factors: https://codescene.com/blog/bumpy-road-code-complexity-in-con...

Links appreciated, thanks. Based on those I'm not the target market but I wish you well with the product.
I have no affiliation, but I tried the free trial of their tool and I found that the Code Health metrics made a lot of sense. The files that it pointed out are definitely overly complex and more difficult to change than they need to be. But it gave perfect scores to some files with complex jobs that are better-designed. I recommend just giving it a spin on a codebase that you are very familiar with.