No commit activity in last 3 years
No release in over 3 years
Checkstyle formatter for reek
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

= 1.3.1
 Project Readme

description

Checkstyle formatter for reek

usage

Load the rake task into your Rakefile.

require 'reek-checkstyle-formatter/rake_task'

rake -T

[...]
rake reek             # Check for code smells
rake reek:checkstyle  # Generate checkstyle XML for code smells analyzed by reek
[...]

customize

Overwrite the formatter options in your Rakefile. E.g Map a smell to a different severity (default warning):

Reek::CheckstyleFormatter.rake_task_options = {
  :smell_severities => {
        'IrresponsibleModule' => 'error'
  }
}

Please look at Reek::CheckstyleFormatter#initialize for available options.