Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ricardoanguiano/18125b7eb3f26cf83724fb60662bdd2c to your computer and use it in GitHub Desktop.
Save ricardoanguiano/18125b7eb3f26cf83724fb60662bdd2c to your computer and use it in GitHub Desktop.
git pull origin master
f797484c26300fec842fb669c69a3a60eb66e240
Date: Mon Dec 12 15:29:06 2016 -0800
$ sloccount .
Creating filelist for arch
Creating filelist for block
Creating filelist for certs
Have a non-directory at the top, so creating directory top_dir
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./COPYING to top_dir
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./CREDITS to top_dir
Creating filelist for crypto
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./cscope.out to top_dir
Creating filelist for Documentation
Creating filelist for drivers
Creating filelist for firmware
Creating filelist for fs
Creating filelist for include
Creating filelist for init
Creating filelist for ipc
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./Kbuild to top_dir
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./Kconfig to top_dir
Creating filelist for kernel
Creating filelist for lib
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./MAINTAINERS to top_dir
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./Makefile to top_dir
Creating filelist for mm
Creating filelist for net
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./README to top_dir
Adding /scratch/ricardo/checkouts/linux-kernel/linux/./REPORTING-BUGS to top_dir
Creating filelist for samples
Creating filelist for scripts
Creating filelist for security
Creating filelist for sound
Creating filelist for tools
Creating filelist for usr
Creating filelist for virt
Categorizing files.
Finding a working MD5 command....
Found a working MD5 command.
Warning: in arch, number of duplicates=183
Warning: in tools, number of duplicates=76
Computing results.
Warning: newline in string - file /scratch/ricardo/checkouts/linux-kernel/linux/arch/mn10300/mm/cache.inc, line 27
Warning: newline in string - file /scratch/ricardo/checkouts/linux-kernel/linux/arch/mn10300/mm/cache.inc, line 88
SLOC Directory SLOC-by-Language (Sorted)
9266854 drivers ansic=9258039,perl=4519,yacc=1688,asm=1482,lex=779,
lisp=218,python=112,sh=17
2043288 arch ansic=1754771,asm=283642,perl=3065,sh=1047,awk=482,
pascal=231,python=45,sed=5
847332 fs ansic=847332
745861 sound ansic=745678,asm=183
692798 net ansic=692677,awk=121
494637 include ansic=491027,cpp=3568,asm=42
227334 tools ansic=208867,sh=6381,perl=3977,python=3812,asm=1841,
yacc=1221,lex=548,awk=386,cpp=301
173716 kernel ansic=173716
84139 lib ansic=84007,perl=119,awk=13
78132 crypto ansic=78132
76589 mm ansic=76589
58041 scripts ansic=29437,perl=14417,python=5449,sh=3610,cpp=2506,
yacc=1428,lex=1112,awk=82
52211 security ansic=52211
24949 block ansic=24949
14687 samples ansic=12801,sh=1886
9726 virt ansic=9726
6293 ipc ansic=6293
4049 Documentation python=1447,perl=1228,sh=922,asm=214,awk=128,ansic=94,
sed=16
2705 init ansic=2705
1877 firmware asm=1660,ansic=217
558 usr ansic=544,asm=14
192 certs ansic=162,asm=30
0 top_dir (none)
Totals grouped by language (dominant language first):
ansic: 14549974 (97.61%)
asm: 289108 (1.94%)
perl: 27325 (0.18%)
sh: 13863 (0.09%)
python: 10865 (0.07%)
cpp: 6375 (0.04%)
yacc: 4337 (0.03%)
lex: 2439 (0.02%)
awk: 1212 (0.01%)
pascal: 231 (0.00%)
lisp: 218 (0.00%)
sed: 21 (0.00%)
Total Physical Source Lines of Code (SLOC) = 14,905,968
Development Effort Estimate, Person-Years (Person-Months) = 4,820.12 (57,841.49)
(Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05))
Schedule Estimate, Years (Months) = 13.44 (161.28)
(Basic COCOMO model, Months = 2.5 * (person-months**0.38))
Estimated Average Number of Developers (Effort/Schedule) = 358.63
Total Estimated Cost to Develop = $ 651,133,167
(average salary = $56,286/year, overhead = 2.40).
SLOCCount, Copyright (C) 2001-2004 David A. Wheeler
SLOCCount is Open Source Software/Free Software, licensed under the GNU GPL.
SLOCCount comes with ABSOLUTELY NO WARRANTY, and you are welcome to
redistribute it under certain conditions as specified by the GNU GPL license;
see the documentation for details.
Please credit this data as "generated using David A. Wheeler's 'SLOCCount'."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment