#!/usr/bin/env ruby # This code comes from http://ruby-it.org/pages/qb # Check the page for copyright notice and explanations svn checkout svn://svn.berlios.de/shekina/qb +----------------------+-------+-------+---------+---------+-----+-------+ | Name | Lines | LOC | Classes | Methods | M/C | LOC/M | +----------------------+-------+-------+---------+---------+-----+-------+ | Helpers | 72 | 59 | 0 | 10 | 0 | 3 | | Controllers | 139 | 118 | 5 | 13 | 2 | 7 | | Functional tests | 321 | 263 | 9 | 34 | 3 | 5 | | Models | 160 | 136 | 5 | 23 | 4 | 3 | | Unit tests | 254 | 218 | 6 | 25 | 4 | 6 | | Libraries | 64 | 56 | 1 | 7 | 7 | 6 | +----------------------+-------+-------+---------+---------+-----+-------+ | Total | 1010 | 850 | 26 | 112 | 4 | 5 | +----------------------+-------+-------+---------+---------+-----+-------+ Code LOC: 369 Test LOC: 481 Code to Test Ratio: 1:1.3