code complexity metrics visualization and exploration tool for ruby
Attractor plugin for the Ruby programming language and its ecosystem
This is a plugin to help you visualize code complexity metrics for your Ruby code. If you are not familiar with Attractor, take a look at the main repo first.
Add this to your application's Gemfile:
gem 'attractor'
gem 'attractor-ruby'
And then execute:
bundle install
To create a HTML report in attractor_output/index.html
, try
bundle exec attractor report
If you'd like to specify a directory, use the file prefix option:
bundle exec attractor report --file_prefix app/models
Or shorter:
bundle exec attractor report -p app/models
Watch for file changes:
bundle exec attractor report -p app/models --watch
Serve at http://localhost:7890:
bundle exec attractor serve -p app/models
Enable rack-livereload:
bundle exec attractor serve -p app/models --watch
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!