Skip to content

Instantly share code, notes, and snippets.

@etagwerker
Created December 19, 2024 22:23
Show Gist options
  • Save etagwerker/bc227cd1107a67483c4fe736bcd84c94 to your computer and use it in GitHub Desktop.
Save etagwerker/bc227cd1107a67483c4fe736bcd84c94 to your computer and use it in GitHub Desktop.
rake stats with rails_stats v2.0
➜ fastruby.io git:(main) ✗ bundle exec rake stats
The dependency `tzinfo-data` wasn't found. It may not be present in your Gemfile.lock. This often happens when a dependency isn't installed on your platform.
The dependency `tzinfo-data` wasn't found. It may not be present in your Gemfile.lock. This often happens when a dependency isn't installed on your platform.
+------------------------------------|------------|----------------+
| Name | Total Deps | 1st Level Deps |
+------------------------------------|------------|----------------+
| ombu_labs-auth | 70 | 5 |
| administrate-field-active_storage | 59 | 2 |
| ombu_labs-hubspot | 55 | 3 |
| ombu_labs-notifications | 50 | 3 |
| invisible_captcha | 46 | 1 |
| rails | 45 | 13 |
| administrate | 37 | 7 |
| sentry-rails | 32 | 2 |
| jekyll-external-link-accessibility | 30 | 2 |
| jekyll-images-cdn | 30 | 2 |
| sass-rails | 29 | 1 |
| rspec-rails | 28 | 7 |
| jekyll-authors | 27 | 1 |
| jekyll-categories | 27 | 1 |
| jekyll-feed | 27 | 1 |
| jekyll-redirect-from | 27 | 1 |
| jekyll | 26 | 14 |
| active_storage_validations | 25 | 4 |
| web-console | 25 | 4 |
| webpacker | 25 | 4 |
| dotenv-rails | 24 | 2 |
| factory_bot_rails | 24 | 2 |
| rails-controller-testing | 18 | 3 |
| rubocop-rails | 16 | 3 |
| email_spec | 12 | 3 |
| html-proofer | 12 | 7 |
| capybara | 11 | 8 |
| standard | 11 | 2 |
| convertkit-ruby | 10 | 3 |
| rubocop-rspec | 10 | 1 |
| sentry-ruby | 10 | 3 |
| sidekiq-cron | 9 | 2 |
| friendly_id | 7 | 1 |
| aws-sdk-s3 | 6 | 3 |
| jbuilder | 5 | 1 |
| reek | 5 | 4 |
| shoulda-matchers | 5 | 1 |
| spring-watcher-listen | 5 | 2 |
| rails_stats | 4 | 2 |
| image_processing | 3 | 2 |
| listen | 3 | 2 |
| overcommit | 3 | 3 |
| selenium-webdriver | 3 | 3 |
| sidekiq | 3 | 3 |
| dotenv_validator | 2 | 2 |
| font-awesome-sass | 2 | 1 |
| rspec_junit_formatter | 2 | 1 |
| jekyll-titleize | 1 | 1 |
| next_rails | 1 | 1 |
| puma | 1 | 1 |
| rack-cors | 1 | 1 |
| rack-mini-profiler | 1 | 1 |
| recaptcha | 1 | 1 |
| sitemap_generator | 1 | 1 |
| uglifier | 1 | 1 |
| byebug | 0 | 0 |
| jekyll-paginate | 0 | 0 |
| newrelic_rpm | 0 | 0 |
| pagy | 0 | 0 |
| pg | 0 | 0 |
| spring | 0 | 0 |
| stripe | 0 | 0 |
| timecop | 0 | 0 |
| tzinfo-data | 0 | 0 |
+------------------------------------|------------|----------------+
Declared Gems 64
Total Gems 219
Unpinned Versions 40
Github Refs 4
+----------------------+---------+---------+---------+---------+---------+-----+-------+
| Name | Files | Lines | LOC | Classes | Methods | M/C | LOC/M |
+----------------------+---------+---------+---------+---------+---------+-----+-------+
| Channels | 2 | 8 | 8 | 2 | 0 | 0 | 0 |
| Configuration | 37 | 726 | 293 | 1 | 0 | 0 | 0 |
| Controller Tests | 8 | 480 | 396 | 0 | 1 | 0 | 394 |
| Controllers | 13 | 502 | 396 | 13 | 59 | 4 | 4 |
| Dashboards | 3 | 275 | 161 | 3 | 0 | 0 | 0 |
| Feature Tests | 8 | 368 | 280 | 0 | 5 | 0 | 54 |
| Fields | 2 | 14 | 12 | 2 | 2 | 1 | 4 |
| Gems | 2 | 37 | 22 | 1 | 1 | 1 | 20 |
| Helpers | 4 | 27 | 22 | 0 | 3 | 0 | 5 |
| Javascripts | 20 | 8604 | 8380 | 0 | 1853 | 0 | 2 |
| Jobs | 1 | 2 | 2 | 1 | 0 | 0 | 0 |
| Libraries | 1 | 126 | 91 | 2 | 7 | 3 | 11 |
| Libs | 1 | 111 | 87 | 1 | 1 | 1 | 85 |
| Mailer Tests | 1 | 62 | 47 | 0 | 0 | 0 | 0 |
| Mailers | 4 | 63 | 55 | 4 | 7 | 1 | 5 |
| Model Tests | 2 | 182 | 138 | 0 | 0 | 0 | 0 |
| Models | 6 | 106 | 92 | 6 | 7 | 1 | 11 |
| Routing Tests | 1 | 45 | 40 | 0 | 0 | 0 | 0 |
| Service Tests | 1 | 20 | 17 | 0 | 0 | 0 | 0 |
| Services | 3 | 134 | 109 | 3 | 14 | 4 | 5 |
| Spec Support | 5 | 214 | 79 | 0 | 2 | 0 | 37 |
| Workers | 2 | 18 | 14 | 2 | 2 | 1 | 5 |
+----------------------+---------+---------+---------+---------+---------+-----+-------+
| Code | 101 | 10753 | 9744 | 41 | 1956 | 47 | 2 |
| Tests | 26 | 1371 | 997 | 0 | 8 | 0 | 122 |
| Total | 127 | 12124 | 10741 | 41 | 1964 | 47 | 3 |
+----------------------+---------+---------+---------+---------+---------+-----+-------+
Code LOC: 9744 Test LOC: 997 Code to Test Ratio: 1:0.1 Files: 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment