git clone https://github.com/tgingold/ghdl.git sloccount ghdl
------------------------------------------------------------------------ SLOC Directory SLOC-by-Language (Sorted) 106398 src_vhdl ada=106398 41579 src_ortho ada=36624,ansic=4904,cpp=51 33701 src_grt ada=23172,ansic=10507,asm=22 6942 src_ghdldrv ada=6942 6525 src_psl ada=6525 4729 src_top_dir ada=4729 2946 libraries sh=1629,python=1317 2347 testsuite sh=2048,ada=168,ansic=62,exp=40,csh=20,python=9 709 src_xtools python=709 218 top_dir sh=218 211 dist ada=169,sh=36,ansic=6 89 src_mhdlsim ada=89 34 doc python=34 Totals grouped by language (dominant language first): ada: 184816 (89.53%) ansic: 15479 (7.50%) sh: 3931 (1.90%) python: 2069 (1.00%) cpp: 51 (0.02%) exp: 40 (0.02%) asm: 22 (0.01%) csh: 20 (0.01%) Total Physical Source Lines of Code (SLOC) = 206,428 Development Effort Estimate, Person-Years (Person-Months) = 53.89 (646.72) (Basic COCOMO model, Person-Months = 2.4 * (KSLOC**1.05)) Schedule Estimate, Years (Months) = 2.44 (29.24) (Basic COCOMO model, Months = 2.5 * (person-months**0.38)) Estimated Average Number of Developers (Effort/Schedule) = 22.12 Total Estimated Cost to Develop = $ 7,280,290 (average salary = $56,286/year, overhead = 2.40). _______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss