Sunday, May 13, 2007

Rails 1.2.3 LOC

Here are some interesting numbers. Just for the heck of it, I counted the number of lines in the ruby files (including comments) and here are the numbers:

* actionmailer-1.3.3 = 10224
* actionpack-1.13.3 = 34142
* actionwebservice-1.2.3 = 7096
* activerecord-1.15.3 = 32750
* activesupport-1.4.2 = 7049
* rails-1.2.3 = 7433

Total: = 98694
I used the following sh command in each directory:

find . -name "*.rb" -exec wc -l '{}' ';' | cut -d . -f 1 | (tr '\n' +; echo 0) | bc

0 comments: