Skip to content

Halstead Operators #323

Answered by ytetsuro
pahlers asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks comment.
Sorry for the late reply.

Which operators do you use?

PHP is following.

https://github.com/ytetsuro/sabik/blob/develop/src/Language/PHP/HalsteadCountableNode.ts#L35-L122

TypeScript is following.

https://github.com/ytetsuro/sabik/blob/develop/src/Language/TypeScript/HalsteadCountableNode.ts#L18-L20
https://github.com/ytetsuro/sabik/blob/develop/src/Language/TypeScript/HalsteadCountableNode.ts#L30-L36

Where is the pre-filtering done?

Excuse me.
I don't know which Pre-filter you are referring to.
In sabik, we are looking for halstead metrics on a per-method or per-function basis.
So, we ask for halstead metrics using only the code in the method or function.
That is, block…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pahlers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants