class CircleCIReporter::Reporters::RubyCritic
Constants
- DEFAULT_DIR
Public Class Methods
default_dir()
click to toggle source
# File lib/circleci_reporter/reporters/rubycritic.rb, line 12 def self.default_dir 'rubycritic' end
default_html_file_name()
click to toggle source
# File lib/circleci_reporter/reporters/rubycritic.rb, line 16 def self.default_html_file_name 'overview.html' end
default_json_file_name()
click to toggle source
# File lib/circleci_reporter/reporters/rubycritic.rb, line 20 def self.default_json_file_name 'report.json' end
Private Instance Methods
parse_json(json)
click to toggle source
@param json [String] @return [Float]
# File lib/circleci_reporter/reporters/rubycritic.rb, line 28 def parse_json(json) JSON.parse(json)['score'].to_f end