Reek Results

Reek detects common code smells in ruby code.

File Path Method Description Type
lib/hoptoad_tasks.rb HoptoadTasks::self.deploy calls HoptoadNotifier.configuration multiple times Duplication
lib/hoptoad_tasks.rb HoptoadTasks::self.deploy calls HoptoadNotifier.configuration.api_key multiple times Duplication
lib/hoptoad_tasks.rb HoptoadTasks::self.deploy has approx 12 statements Long Method
lib/hoptoad_tasks.rb HoptoadTasks::self.deploy/block has the variable name 'k' Uncommunicative Name
lib/hoptoad_tasks.rb HoptoadTasks::self.deploy/block has the variable name 'v' Uncommunicative Name
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::hoptoad_ignore_user_agent? calls request multiple times Duplication
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::hoptoad_request_data calls params multiple times Duplication
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::hoptoad_request_url calls request multiple times Duplication
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::hoptoad_request_url calls request.port multiple times Duplication
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::hoptoad_session_data calls session multiple times Duplication
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::rescue_action_locally_with_hoptoad calls HoptoadNotifier.configuration multiple times Duplication
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::rescue_action_locally_with_hoptoad has approx 6 statements Long Method
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::self.included calls base.instance_methods multiple times Duplication
lib/hoptoad_notifier/catcher.rb HoptoadNotifier::Catcher::self.included calls base.instance_methods.map(&:to_s) multiple times Duplication
lib/hoptoad_notifier/backtrace.rb HoptoadNotifier::Backtrace#== refers to other more than self Feature Envy
lib/hoptoad_notifier/backtrace.rb HoptoadNotifier::Backtrace#Line#self.parse has the variable name '_' Uncommunicative Name
lib/hoptoad_notifier/backtrace.rb HoptoadNotifier::Backtrace#self.parse/block/block is nested Nested Iterators
lib/hoptoad_notifier/backtrace.rb HoptoadNotifier::Backtrace#self.split_multiline_backtrace calls backtrace.to_a multiple times Duplication
lib/hoptoad_notifier/configuration.rb HoptoadNotifier::Configuration has at least 16 instance variables Large Class
lib/hoptoad_notifier/configuration.rb HoptoadNotifier::Configuration#block has the variable name 'e' Uncommunicative Name
lib/hoptoad_notifier/configuration.rb HoptoadNotifier::Configuration#block/block is nested Nested Iterators
lib/hoptoad_notifier/sender.rb HoptoadNotifier::Sender#log calls logger multiple times Duplication
lib/hoptoad_notifier/sender.rb HoptoadNotifier::Sender#logger doesn't depend on instance state Utility Function
lib/hoptoad_notifier/sender.rb HoptoadNotifier::Sender#send_to_hoptoad calls response.class multiple times Duplication
lib/hoptoad_notifier/sender.rb HoptoadNotifier::Sender#send_to_hoptoad calls url multiple times Duplication
lib/hoptoad_notifier/sender.rb HoptoadNotifier::Sender#send_to_hoptoad has approx 8 statements Long Method
lib/hoptoad_notifier/sender.rb HoptoadNotifier::Sender#send_to_hoptoad has the variable name 'e' Uncommunicative Name
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#clean_params calls parameters multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#clean_params calls params_filters multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#clean_params/block/block is nested Nested Iterators
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#clean_unserializable_data calls clean_unserializable_data(value) multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#clean_unserializable_data refers to data more than self Feature Envy
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#find_session_data calls args multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#find_session_data calls session_data multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#find_session_data calls session_data[:data] multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#from_exception calls exception multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#ignored_class_names refers to string_or_class more than self Feature Envy
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#initialize calls exception.class multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#initialize calls exception.class.name multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls action multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls cgi_data multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls cgi_data.blank? multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls controller multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls parameters multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls parameters.blank? multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls session_data multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls session_data.blank? multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml calls url multiple times Duplication
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml has approx 23 statements Long Method
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml/block/block is nested Nested Iterators
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml/block/block/block is nested Nested Iterators
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#to_xml/block/block/block/block is nested Nested Iterators
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#xml_vars_for refers to value more than self Feature Envy
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#xml_vars_for/block/block has the variable name 'b' Uncommunicative Name
lib/hoptoad_notifier/notice.rb HoptoadNotifier::Notice#xml_vars_for/block/block is nested Nested Iterators
lib/hoptoad_notifier.rb HoptoadNotifier::build_lookup_hash_for calls notice.backtrace multiple times Duplication
lib/hoptoad_notifier.rb HoptoadNotifier::build_lookup_hash_for calls notice.backtrace.lines multiple times Duplication
lib/hoptoad_notifier.rb HoptoadNotifier::build_lookup_hash_for calls notice.backtrace.lines.first multiple times Duplication
lib/hoptoad_notifier.rb HoptoadNotifier::build_lookup_hash_for calls notice.error_class multiple times Duplication
lib/hoptoad_notifier.rb HoptoadNotifier::build_lookup_hash_for has approx 10 statements Long Method
lib/hoptoad_notifier.rb HoptoadNotifier::build_lookup_hash_for refers to notice more than self Feature Envy
lib/hoptoad_notifier.rb HoptoadNotifier::configure calls configuration multiple times Duplication
lib/hoptoad_notifier.rb HoptoadNotifier::configure is controlled by argument silent Control Couple
lib/hoptoad_notifier.rb HoptoadNotifier::environment_info refers to info more than self Feature Envy
lib/hoptoad_notifier.rb HoptoadNotifier::logger calls Rails.logger multiple times Duplication
lib/hoptoad_notifier.rb HoptoadNotifier::logger doesn't depend on instance state Utility Function
lib/hoptoad_notifier.rb HoptoadNotifier::unwrap_exception doesn't depend on instance state Utility Function
lib/hoptoad_notifier.rb HoptoadNotifier::unwrap_exception refers to exception more than self Feature Envy
lib/hoptoad_notifier.rb HoptoadNotifier::write_verbose_log calls logger multiple times Duplication

Generated on Fri Jan 08 05:04:18 -0500 2010