Re:CLI: Improved
by hultner on Friday August 31, 2018 @07:49AM
(#17884737)
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.
I manually counted a few files for comparison, I believe tokei doesn't understand python-doc-comments and think it's code.