Wireshark-dev: [Wireshark-dev] What did we do to our code between 2012 and 2013?
From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Wed, 13 Jun 2018 15:06:46 -0700
I thought it might be interesting to create a graph of our lines-of-code estimates over the past 20 years using SLOCCount[1], Tokei[2], and cloc[3]. Each program produces similar numbers until 2013, when SLOCCount's estimate drops considerably. Running the following commands on a VM here produces the following output:

$ git rev-list -1 --before="2012-07-15 00:00:00" master
5ca89cfed3aa9f0498de2783673abc4c69b4271b

$ git checkout 5ca89cfed3aa9f0498de2783673abc4c69b4271b

$ sloccount . | grep "Total Physical"
Total Physical Source Lines of Code (SLOC)                = 2,296,099

$ tokei | grep -E "^ Language|^ Total"
 Language            Files        Lines         Code     Comments       Blanks
 Total                3113      3165826      2401593       311398       452835

$ cloc --quiet . | grep -E "^Language|^SUM"
Language                             files          blank        comment           code
SUM:                                  3247         463705         321676        2438038

$ git rev-list -1 --before="2013-07-15 00:00:00" master
6d7a3a8ceef0fbcf3fc0ced1b92834c505dc135a

$ git checkout 6d7a3a8ceef0fbcf3fc0ced1b92834c505dc135a

$ sloccount . | grep "Total Physical"
Total Physical Source Lines of Code (SLOC)                = 1,880,237

$ tokei | grep -E "^ Language|^ Total"
 Language            Files        Lines         Code     Comments       Blanks
 Total                3487      3439642      2647784       339535       452323

$ cloc --quiet . | grep -E "^Language|^SUM"
Language                         files          blank        comment           code
SUM:                              3619         464134         349410        2693479


Does anyone know what we did between July 2012 and 2013 that would affect SLOCCount?

[1] https://github.com/AlDanial/cloc
[2] https://github.com/Aaronepower/tokei
[3] https://github.com/AlDanial/cloc

Tokei and cloc