-
Notifications
You must be signed in to change notification settings - Fork 217
Lines of Code [History]
René Widera edited this page Jan 3, 2017
·
7 revisions
Comparison of lines of code over major releases
Commands:
cd src
export PATH=$PATH: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 libPMacc/ "$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 libPMacc 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
--------------------------------------------------------------------------------
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!