jscpd
jscpd copied to clipboard
[Question]: about percentage
the total.lines
calculate in this way https://github.com/kucherenko/jscpd/blob/f94969ae505efc7885713327b28799b86b11e5cd/packages/tokenizer/src/token-map.ts#L48
if tokens will be filtered by mode()
, maybe the total.lines
will be less than not filtered?
https://github.com/kucherenko/jscpd/blob/f94969ae505efc7885713327b28799b86b11e5cd/packages/tokenizer/src/tokenize.ts#L149
Yes, you are right! It is good point to improve