code-complexity icon indicating copy to clipboard operation
code-complexity copied to clipboard

Move away from node-sloc

Open simonrenoult opened this issue 5 years ago • 1 comments

What problem are you trying to solve?

Not really a feature but we depend on node-sloc to count file complexity. Which is far from being popular and is at risk of being abandoned one day.

Describe the feature

We should look into alternatives.

simonrenoult avatar May 03 '20 09:05 simonrenoult

Not much alternatives, but scnt

eshimischi avatar Aug 05 '21 13:08 eshimischi

In the end, we'll keep node-sloc for simplicity sake and fallback to a manual line count when node-sloc does not support the file type.

simonrenoult avatar Nov 11 '22 11:11 simonrenoult