Files in my CSEE account 5/5/2023 type count lines ada .ada 3929 1,032,026 ada .adb 1423 364,457 ada .ads 754 194,416 C .c 5287 1,622,044 C .h 1754 678,589 fortran .f* .F 4033 764,396 links .f* 9178 3,564,824 java .java 3093 831,213 javascript .js 427 38,427 python .py 1412 495,817 python .py3 1138 230,691 C++ .cpp 2000 378,423 C++ .hpp 38 7,158 C++ .C* 293 16,799 C++ .H* 16 546 vhdl .vhdl 662 151,815 vhdl .vhd 498 77,959 verilog .v 124 13,937 matlab .m 1580 137,226 haskell .hs 20 1,934 pascal .p 59 9,803 lisp .lisp 50 5,231 scheme .scm 28 1,879 sml .sml 146 12,086 maple .mw .mws 185 12,160 scala .scala 35 7,716 Ruby .rb 203 30,253 Swift .swift 165 19,618 Perl .pl .pm 55 10,766 Basic .bas 17 1,670 Algol .a 5 55 Jovial .j73 94 10,114 Julia .jl 68 6,477 R .r 28 542 ballerina .bal 70 4,382 go .go 68 7,045 dart .dart 30 867 rust .ru 56 1,901 Assembly .asm 639 54,338 files lines total approx 39,038 10,799,600 source code php .php 91 6,145 Makefile 859 99,426 batch .bat 202 7,788 web .shtml www 2530 543,251 web .html www 2014 620,183 web .cpp 1104 31,071 latex .tex 65 50,826 graphics .vu 802 89,219 graphics .dat 2374 6,867,901 PDE 2112 4,220,127 text .txt 1165 195,889 3D .stl 282 3,355,440 graphic .ps 250 822,469 graphic .jpg 1605 380,874 graphic .png 1724 0 can't line count graphic .gif 610 0 can't line count files lines total approx 17,191 17,290,609 web, graphics, data Neliac and compiler ? US and Conadian navy Jovial compiler ? US airforce mathematica ? other ? Over 25 programming languages, plus other like vhdl,verilog Notes: Source code: expect about 25% of lines to be comment or blank expect about 40% duplication of files, copies in www expect about 25% duplication in downloads directory expect about 33% from other sources expect about 25% minor modification or experiments, thus 3/4 6/10 3/4 67/100 3/4 = 0.17 about 1/6 of 10 million lines I have been writing programs for over 63 years some code is modification of my code or others code I am sure I have written over a million lines of code. 1,000,000/50 years = 20,000 lines per year 20,000/(50 weeks * 5 days) = 80 lines per day 80/8 hours = 10 lines per hour (not all defects removed) Average, I have written as much as 150 lines in one hour. Yes, I am a believer in reuse and open source. quota 4.4G used 3.7G 84% counted using: find . -name \*.c | wc -l # gives number of files also add .h wc -l `find . -name \*.c` # watch back ticks, gives number of lines \*.f\* for Fortran .f, .for, .f90, .F not perfect, reasonable estimates, now 63 of years programming paper tape, punched cards, terminal to disk Then filecount.java to get total files, total lines More files: /web/www/portal/help/fortran/ 839,505KB links /web/www/portal/help/ ada nasm etc. chmod -R go+rx * chgrp -R cseeweb * copies and more on www.csee.umbc.edu/~squire/www/download/ copies and more on /afs/umbc.edu/users/s/q/squire/pub/download/