How many lines of code does Fieldtrip consist of?

You can count that using the following commands

roboos@mac001> cat `find . -name \*.m` | grep -v ' *%' | grep -v '^ *$' | wc -l
366391

or excluding the external toolboxes with

roboos@mac001> cat `find . -name \*.m | grep -v external` | grep -v ' *%' | grep -v '^ *$' | wc -l
187938

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

To provide some historical perspective here is the number of lines in older FieldTrip releases (also only counting lines of code).

when lines of code
2003 nov 3441
2004 jun 11735
2005 jun 16969
2005 dec 19235
2006 jun 24410
2006 dec 27507
2007 jun 30306
2007 dec 32057
2008 jun 37963
2008 dec 66581
2009 jun 87756
2009 dec 89983
2010 jun 95049
2010 dec 92192
2011 jun 103813
2011 dec 114642
2016 oct 187938
faq/how_many_lines_of_code_does_fieldtrip_consist_of.txt · Last modified: 2016/10/20 12:54 by robert

You are here: startfaqhow_many_lines_of_code_does_fieldtrip_consist_of
CC Attribution-Share Alike 3.0 Unported
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
This DokuWiki features an Anymorphic Webdesign theme, customised by Eelke Spaak and Stephen Whitmarsh.
Mobile Analytics Website Security Test