/app_reporter

Primary LanguageRubyMIT LicenseMIT

AppReporter

AppReporter fetch data from the already generated application reports through brakeman and metric_fu. Based on some thresholds it checks for some major areas like security issues, test coverage and Rails best practices etc. It generates HTML report in applications root folder once you run final command.

Installation

Install other required gems

$ gem install brakeman $ gem install metric_fu

Add this line to your application's Gemfile:

gem 'app_reporter', '~> 1.0.0'

And then execute:

$ bundle

Or install it yourself as:

$ gem install app_reporter

Usage

Run below commands

	$ brakeman -o report.html -o report.json
	$ metric_fu

TODO::

  1. Update passing and failing areas conditions into the templates.
  2. Make report template more attractive.
  3. Make it run the brakeman and metric_fu commands internally instead of manually.

Run AppReoprter

$ rake app_reporter:run

Check for the summary_report.html in root folder

Contributing

  1. Fork it ( https://github.com/[my-github-username]/app_reporter/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request