3 ms·
tokei is fast but isn't the smartest tool (at least for python). I compared it to pygount (and looked on individual files). Total lines is correct but it's gros
by hultner 8y ago
tokei is fast but isn't the smartest tool (at least for python). I compared it to pygount (and looked on individual files). Total lines is correct but it's grossly miscalculating code vs comments resulting in almost 2x total actual SLOC for a semi large project I manage.
I manually counted a few files for comparison, I believe tokei doesn't understand python-doc-comments and think it's code.