Content

Rails3 Upgrade Intro

26 January 2011 // Filed under Uncategorized

I launched into a rails 3 upgrade for my main side project last night. I’m going to use it as an excuse to blog about a bunch of things that I’ve been meaning to write about, but never got around to.

Here’s a quick look at the scope of this app:

$ rake stats
+----------------------+-------+-------+---------+---------+-----+-------+
| Name                 | Lines |   LOC | Classes | Methods | M/C | LOC/M |
+----------------------+-------+-------+---------+---------+-----+-------+
| Controllers          |  1867 |  1616 |      23 |     154 |   6 |     8 |
| Helpers              |   403 |   351 |       0 |      55 |   0 |     4 |
| Models               |  3310 |  2701 |      58 |     331 |   5 |     6 |
| Libraries            |   441 |   401 |       2 |      38 |  19 |     8 |
| Integration tests    |   600 |   340 |       4 |       6 |   1 |    54 |
| Functional tests     |  8763 |  8421 |      22 |      21 |   0 |   399 |
| Unit tests           |  5230 |  4794 |      85 |      10 |   0 |   477 |
+----------------------+-------+-------+---------+---------+-----+-------+
| Total                | 20614 | 18624 |     194 |     615 |   3 |    28 |
+----------------------+-------+-------+---------+---------+-----+-------+
  Code LOC: 5069     Test LOC: 13555     Code to Test Ratio: 1:2.7

2011-01-26  ::  admin

Share your thoughts







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>