-
Notifications
You must be signed in to change notification settings - Fork 218
Lines of Code [History]
René Widera edited this page Jun 27, 2024
·
7 revisions
Comparison of lines of code over major releases
Commands:
cd include
export PATH=$PATH:../src/tools/bin
# remove license header PIConGPU (only in C++ files)
for i in `echo "*.def *.h *.cpp *.cu *.hpp *.tpp *.kernel *.loader *.param *.unitless"` ; do findAndDo picongpu "$i" deleteHeadComment ; done
# remove license header libPMacc (only in C++ files)
for i in `echo "*.def *.h *.cpp *.cu *.hpp *.tpp *.kernel *.loader *.param *.unitless"` ; do findAndDo pmacc/ "$i" deleteHeadComment ; done
# count source code line for PIConGPU and libPMacc
cloc --skip-uniqueness --force-lang="C/C++ Header",kernel --force-lang="C/C++ Header",tpp --force-lang="C/C++ Header",unitless --force-lang="C/C++ Header",param --force-lang="C/C++ Header",loader --force-lang="C/C++ Header",def --force-lang=CUDA,cu --force-lang="Bourne Shell",cfg --force-lang="Bourne Shell",tpl --exclude-dir=build,dist,target,tmp,x86_64-unknown-linux-gnu pmacc picongpu
546 text files.
545 unique files.
28 files ignored.
github.com/AlDanial/cloc v 1.70 T=0.83 s (631.4 files/s, 64791.2 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
C/C++ Header 490 11224 7220 32365
Bourne Shell 24 415 813 530
CMake 2 103 99 265
CUDA 2 36 24 104
C++ 1 24 7 74
Bourne Again Shell 2 31 86 39
--------------------------------------------------------------------------------
SUM: 521 11833 8249 33377
--------------------------------------------------------------------------------
687 text files.
686 unique files.
30 files ignored.
github.com/AlDanial/cloc v 1.70 T=1.03 s (637.0 files/s, 61988.9 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
C/C++ Header 620 12888 8757 39079
Bourne Shell 29 475 987 632
CMake 2 167 179 381
CUDA 2 34 26 109
C++ 1 24 7 75
Markdown 2 10 0 42
Bourne Again Shell 2 31 86 39
--------------------------------------------------------------------------------
SUM: 658 13629 10042 40357
--------------------------------------------------------------------------------
903 text files.
902 unique files.
32 files ignored.
github.com/AlDanial/cloc v 1.70 T=1.40 s (621.5 files/s, 58813.7 lines/s)
--------------------------------------------------------------------------------
Language files blank comment code
--------------------------------------------------------------------------------
C/C++ Header 820 15323 12918 49530
Bourne Shell 33 572 1198 741
CMake 4 227 329 532
C++ 4 75 46 320
CUDA 5 84 87 206
Markdown 3 16 0 62
Bourne Again Shell 2 31 86 39
--------------------------------------------------------------------------------
SUM: 871 16328 14664 51430
--------------------------------------------------------------------------------
928 text files.
927 unique files.
14 files ignored.
github.com/AlDanial/cloc v 1.71 T=1.13 s (805.5 files/s, 79558.0 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 864 16042 14932 54378
Bourne Shell 34 594 1260 976
CMake 5 242 350 517
CUDA 6 95 82 347
C++ 5 83 46 328
-------------------------------------------------------------------------------
SUM: 914 17056 16670 56546
-------------------------------------------------------------------------------
976 text files.
975 unique files.
6 files ignored.
github.com/AlDanial/cloc v 1.71 T=4.05 s (239.6 files/s, 26267.6 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 952 17631 19138 67231
C++ 14 218 131 931
CMake 4 197 319 561
-------------------------------------------------------------------------------
SUM: 970 18046 19588 68723
-------------------------------------------------------------------------------
970 text files.
970 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.82 T=0.39 s (2504.5 files/s, 319719.6 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 952 16679 37312 67233
C++ 14 204 394 931
CMake 4 197 319 561
-------------------------------------------------------------------------------
SUM: 970 17080 38025 68725
-------------------------------------------------------------------------------
970 text files.
970 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.82 T=0.34 s (2828.0 files/s, 310089.2 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 952 17631 19139 67233
C++ 14 218 131 931
CMake 4 197 319 561
-------------------------------------------------------------------------------
SUM: 970 18046 19589 68725
-------------------------------------------------------------------------------
970 text files.
970 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.82 T=0.37 s (2609.9 files/s, 286725.9 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 952 17647 19197 67316
C++ 14 218 131 931
CMake 4 208 343 573
-------------------------------------------------------------------------------
SUM: 970 18073 19671 68820
-------------------------------------------------------------------------------
1016 text files.
1016 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.82 T=0.33 s (3083.8 files/s, 345866.8 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 995 18495 20920 71844
C++ 17 273 163 1160
CMake 4 205 337 552
-------------------------------------------------------------------------------
SUM: 1016 18973 21420 73556
-------------------------------------------------------------------------------
1076 text files.
1076 unique files.
0 files ignored.
github.com/AlDanial/cloc v 1.82 T=0.36 s (2979.2 files/s, 313248.9 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 1058 17242 25365 67896
C++ 14 220 169 1037
CMake 4 214 364 631
-------------------------------------------------------------------------------
SUM: 1076 17676 25898 69564
-------------------------------------------------------------------------------
1012 text files.
1012 unique files.
4 files ignored.
github.com/AlDanial/cloc v 1.90 T=0.31 s (3218.9 files/s, 347796.9 lines/s)
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
C/C++ Header 970 15539 26262 62142
C++ 34 623 363 2755
CMake 4 209 375 645
-------------------------------------------------------------------------------
SUM: 1008 16371 27000 65542
-------------------------------------------------------------------------------
All wiki entries describe the dev branch. Features may be different in the current master branch.
Before you start please read our README!
PIConGPU is a scientific project. If you present and/or publish scientific results that used PIConGPU, you should set a reference to show your support. Our according up-to-date publication at the time of your publication should be inquired from:
The documentation in this wiki is still not complete and we need your help keeping it up to date. Feel free to help improving this wiki!