Better HN
topnewbestaskshowjobs
Log inSign up

ytetsuro

2 karma · joined Jul 4, 2021 (5y ago) · 7 submissions

Submissions

comment 4y ago · link · parent

# What's Sabik?

Sabik is a source code metrics tool.

It's a compass tool for warriors fighting a project that smells bad.

# What analyzable metrics?

Sabik analyzable metrics are following.

* Cognitive Complexity * Halstead complexity measures * Line of Code(Logical, Physical) * Maintainability

For now.

# What types of output are available?

* JSON * HTML

If you are concerned about the HTML output, click following.

https://sabik.botch.me/example

https://www.npmjs.com/package/sabik

2.

Source code metrics tool. Sabik(sabik.botch.me ↗)

1 points · by ytetsuro · 4y ago · 1 comment

comment 5y ago · link · parent

I'm learning a lot. I frequently use Cognitive Complexity, which is similar to Cyclomatic Complexity, as a metric. I have also developed a tool to measure them against JavaScript and PHP code. Please take a look if you are interested.

https://sabik.botch.me/

comment 5y ago · link · parent

Very good. Very fast.

comment 5y ago · link · parent

The Raspberry Pi looks cheaper in my country, but does it come with a monitor and keyboard?

comment 5y ago · link · parent

> he good news is running OSX made me lazy, and getting back into running a linux or freebsd laptop again is going to be fun.

This is good news.