Quizz time: how many lines of code in GenoCAD?

8 views
Skip to first unread message

Jean Peccoud

unread,
Jul 21, 2011, 2:47:29 PM7/21/11
to genocad-u...@googlegroups.com
Guess the number of lines of code in GenoCAD? Tell us how you can to your estimate.


scottstensland

unread,
Jul 21, 2011, 3:55:13 PM7/21/11
to genocad-u...@googlegroups.com
I would say about 680,000 lines - just did a fresh download from sourceforge
and did 

cd ~/src/genocad/zend
cat `find . -type f | grep -v docs|grep -v tests|grep -v jpg|grep -v svn|grep -v png|grep -v images|grep -v -i test`|wc -l

which returns
685612
more generously, if I do a
cd ~/src/genocad
cat `find . -type f `|wc -l
1576946

I'm seeing over 1.5 million lines !

scottstensland

unread,
Jul 21, 2011, 3:57:32 PM7/21/11
to genocad-u...@googlegroups.com
I would say about 680,000 lines - just did a fresh download from sourceforge
and did 

cd ~/src/genocad/zend
cat `find . -type f | grep -v docs|grep -v jpg|grep -v svn|grep -v png|grep -v images|grep -v -i test`|wc -l

Jean Peccoud

unread,
Jul 21, 2011, 4:06:18 PM7/21/11
to genocad-u...@googlegroups.com
We had to get this number for our annual report and we tried different methods and they all give different estimates.

However, I was actually using this to share a cool web site that I just found: http://bit.ly/oSpvjs They estimate to 591,000.


Reply all
Reply to author
Forward
0 new messages