aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/code_statistics_calculator.rb
Commit message (Collapse)AuthorAgeFilesLines
* code gardening: removes redundant selfsXavier Noria2016-08-081-1/+1
| | | | | | | | | A few have been left for aesthetic reasons, but have made a pass and removed most of them. Note that if the method `foo` returns an array, `foo << 1` is a regular push, nothing to do with assignments, so no self required.
* applies new string literal convention in railties/libXavier Noria2016-08-061-2/+2
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Allow rake:stats to account for rake tasksKevin Deisz2015-10-191-0/+1
|
* Update `rake counts` to count declarative tests in minitestbrainopia2015-01-091-1/+7
|
* Improve `rake stats` for JavaScript and CoffeeScript.Hendy Tanata2013-02-251-0/+79
Ignore block comments and calculates number of functions.