How many lines of code does Fieldtrip consist of?

You can count that using the following commands

roboos@mentat055> cat /home/common/matlab/fieldtrip/*.m | grep -v ' *%' | grep -v '^ *$' | wc -l

18387
roboos@mentat055> cat /home/common/matlab/fieldtrip/private/*.m | grep -v ' *%' | grep -v '^ *$' | wc -l
25060

So the answer is approximately 43000 lines of code, excluding comments and empty lines.

Update: I don't know when this estimate was obtained, but judging by the name “mentat055” it must have been long ago. The computer name refers to a linux node in our compute cluster and I think it was part of our cluster in 2005 or 2006.

In October 2010 FieldTrip approximately consists of 130000 lines of code.

roboos@mentat240> cat `find . -name \*.m` | grep -v ' *%' | grep -v '^ *$' | wc -l
128059
faq/how_many_lines_of_code_does_fieldtrip_consist_of.txt · Last modified: 2010/10/06 17:35 by robert

You are here: startfaqhow_many_lines_of_code_does_fieldtrip_consist_of
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0