0.0
No commit activity in last 3 years
No release in over 3 years
Code quality report through metric_fu and brakeman gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.8
~> 10.0

Runtime

 Project Readme

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:

```ruby
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

app_reporter is not yet ready for use but still you can use it for testing purpose.

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