XAMPPRocky / tokei

Count your code, quickly.
Other
11.38k stars 542 forks source link

Inaccurate code statistics #919

Closed silence-coding closed 2 years ago

silence-coding commented 2 years ago
/mnt/d/Code/container/Operator/pkg# cloc  .
      30 text files.
      30 unique files.                              
       0 files ignored.

github.com/AlDanial/cloc v 1.82  T=0.37 s (80.0 files/s, 5352.8 lines/s)
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Go                              30            294            269           1444
-------------------------------------------------------------------------------
SUM:                            30            294            269           1444
-------------------------------------------------------------------------------
/mnt/d/Code/container/Operator/pkg# tokei
===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Go                      6          277          231            9           37
===============================================================================
 Total                   6          277          231            9           37
===============================================================================
3kh0 commented 2 years ago

Uhh what is the problem here?

CameronNemo commented 2 years ago

@3kh0 cloc is registering ~1500 lines of code, tokei only registering ~300 lines.

Would be useful to know what repository this is.

3kh0 commented 2 years ago

AHHHH I did not see it at first

silence-coding commented 2 years ago

The demo code has been lost.