On Friday 16 December 2011, Jeroen Demeyer wrote: > On 2011-12-15 23:40, William Stein wrote: > > comments are blank lines are ignored. > > How about documentation strings?
Btw. https://www.ohloh.net/p/sage has a nice code analysis including distinction between comments & code. It says we had in September 2011: 450,000 lines of code 534,000 lines of comments 212,000 blank lines. There's also a more detailed breakdown of languages etc. at https://www.ohloh.net/p/sage/analyses/latest Python 278,127 500,816 64.3% 181,462 960,405 JavaScript 89,592 19,183 17.6% 14,031 122,806 HTML 38,031 634 1.6% 6,418 45,083 C 17,540 9,223 34.5% 5,881 32,644 XML 10,363 6 0.1% 24 10,393 CSS 6,872 1,542 18.3% 1,270 9,684 C++ 5,952 2,362 28.4% 2,200 10,514 shell script 2,192 448 17.0% 504 3,144 Objective-C 1,530 446 22.6% 329 2,305 PHP 613 9 1.4% 18 640 Java 432 -40 -10.2% 120 512 Make 166 10 5.7% 61 237 Lisp 63 20 24.1% 20 103 TeX/LaTeX 30 0 0.0% 11 41 Fortran (Free-format) 18 0 0.0% 1 19 Ruby 6 4 40.0% 0 10 Matlab 4 0 0.0% 0 4 and top developers in terms of commits (not LOC), i.e., it favours early adopters when getting a patch is was much quicker/simpler: William (31%), Michael Abshoff (7%), Robert Bradshaw (4%), Mike Hansen (4%), me (3%), Jeroen Demeyer (1%). There's also a breakdown for the last 12 months: Jeroen Demeyer (20%), Mike Hansen (5%), Rob Beezer (4%), Rado Kirov (5%), Volker Braun (3%)... Cheers, Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _otr: 47F43D1A 5D68C36F 468BAEBA 640E8856 D7951CCF _www: http://martinralbrecht.wordpress.com/ _jab: [email protected] -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
