Module: Reek

Defined in:
lib/reek/version.rb,
lib/reek.rb,
lib/reek/spec.rb,
lib/reek/report.rb,
lib/reek/ast/node.rb,
lib/reek/examiner.rb,
lib/reek/rake/task.rb,
lib/reek/cli/status.rb,
lib/reek/ast/builder.rb,
lib/reek/cli/options.rb,
lib/reek/cli/silencer.rb,
lib/reek/code_comment.rb,
lib/reek/tree_dresser.rb,
lib/reek/smell_warning.rb,
lib/reek/ast/object_refs.rb,
lib/reek/cli/application.rb,
lib/reek/context_builder.rb,
lib/reek/spec/should_reek.rb,
lib/reek/errors/base_error.rb,
lib/reek/report/xml_report.rb,
lib/reek/documentation_link.rb,
lib/reek/report/base_report.rb,
lib/reek/report/html_report.rb,
lib/reek/report/json_report.rb,
lib/reek/report/text_report.rb,
lib/reek/report/yaml_report.rb,
lib/reek/source/source_code.rb,
lib/reek/spec/smell_matcher.rb,
lib/reek/detector_repository.rb,
lib/reek/errors/syntax_error.rb,
lib/reek/smell_configuration.rb,
lib/reek/spec/should_reek_of.rb,
lib/reek/configuration/schema.rb,
lib/reek/context/code_context.rb,
lib/reek/context/root_context.rb,
lib/reek/context/send_context.rb,
lib/reek/report/github_report.rb,
lib/reek/context/class_context.rb,
lib/reek/context/ghost_context.rb,
lib/reek/errors/encoding_error.rb,
lib/reek/logging_error_handler.rb,
lib/reek/source/source_locator.rb,
lib/reek/ast/ast_node_class_map.rb,
lib/reek/ast/sexp_extensions/if.rb,
lib/reek/context/method_context.rb,
lib/reek/context/module_context.rb,
lib/reek/ast/reference_collector.rb,
lib/reek/ast/sexp_extensions/case.rb,
lib/reek/ast/sexp_extensions/self.rb,
lib/reek/ast/sexp_extensions/send.rb,
lib/reek/ast/sexp_extensions/when.rb,
lib/reek/cli/command/base_command.rb,
lib/reek/errors/config_file_error.rb,
lib/reek/report/heading_formatter.rb,
lib/reek/spec/should_reek_only_of.rb,
lib/reek/ast/sexp_extensions/begin.rb,
lib/reek/ast/sexp_extensions/block.rb,
lib/reek/ast/sexp_extensions/super.rb,
lib/reek/ast/sexp_extensions/yield.rb,
lib/reek/context/attribute_context.rb,
lib/reek/context/statement_counter.rb,
lib/reek/report/location_formatter.rb,
lib/reek/report/progress_formatter.rb,
lib/reek/smell_detectors/attribute.rb,
lib/reek/smell_detectors/nil_check.rb,
lib/reek/ast/sexp_extensions/lambda.rb,
lib/reek/ast/sexp_extensions/module.rb,
lib/reek/cli/command/report_command.rb,
lib/reek/context/refinement_context.rb,
lib/reek/context/visibility_tracker.rb,
lib/reek/smell_detectors/data_clump.rb,
lib/reek/ast/sexp_extensions/methods.rb,
lib/reek/ast/sexp_extensions/symbols.rb,
lib/reek/ast/sexp_extensions/constant.rb,
lib/reek/configuration/excluded_paths.rb,
lib/reek/smell_detectors/feature_envy.rb,
lib/reek/ast/sexp_extensions/arguments.rb,
lib/reek/ast/sexp_extensions/variables.rb,
lib/reek/cli/command/todo_list_command.rb,
lib/reek/smell_detectors/base_detector.rb,
lib/reek/configuration/schema_validator.rb,
lib/reek/smell_detectors/class_variable.rb,
lib/reek/configuration/app_configuration.rb,
lib/reek/configuration/default_directive.rb,
lib/reek/report/simple_warning_formatter.rb,
lib/reek/smell_detectors/long_yield_list.rb,
lib/reek/smell_detectors/manual_dispatch.rb,
lib/reek/code_climate/code_climate_report.rb,
lib/reek/context/singleton_method_context.rb,
lib/reek/smell_detectors/nested_iterators.rb,
lib/reek/smell_detectors/too_many_methods.rb,
lib/reek/smell_detectors/utility_function.rb,
lib/reek/configuration/rake_task_converter.rb,
lib/reek/smell_detectors/boolean_parameter.rb,
lib/reek/smell_detectors/control_parameter.rb,
lib/reek/smell_detectors/module_initialize.rb,
lib/reek/smell_detectors/unused_parameters.rb,
lib/reek/configuration/directory_directives.rb,
lib/reek/smell_detectors/too_many_constants.rb,
lib/reek/code_climate/code_climate_formatter.rb,
lib/reek/context/singleton_attribute_context.rb,
lib/reek/smell_detectors/long_parameter_list.rb,
lib/reek/smell_detectors/missing_safe_method.rb,
lib/reek/smell_detectors/too_many_statements.rb,
lib/reek/errors/bad_detector_in_comment_error.rb,
lib/reek/errors/incomprehensible_source_error.rb,
lib/reek/smell_detectors/irresponsible_module.rb,
lib/reek/smell_detectors/repeated_conditional.rb,
lib/reek/ast/sexp_extensions/logical_operators.rb,
lib/reek/code_climate/code_climate_fingerprint.rb,
lib/reek/configuration/configuration_converter.rb,
lib/reek/configuration/configuration_validator.rb,
lib/reek/errors/legacy_comment_separator_error.rb,
lib/reek/smell_detectors/duplicate_method_call.rb,
lib/reek/smell_detectors/unused_private_method.rb,
lib/reek/ast/sexp_extensions/nested_assignables.rb,
lib/reek/code_climate/code_climate_configuration.rb,
lib/reek/configuration/configuration_file_finder.rb,
lib/reek/smell_detectors/subclassed_from_core_class.rb,
lib/reek/report/documentation_link_warning_formatter.rb,
lib/reek/smell_detectors/too_many_instance_variables.rb,
lib/reek/smell_detectors/uncommunicative_method_name.rb,
lib/reek/smell_detectors/uncommunicative_module_name.rb,
lib/reek/smell_detectors/instance_variable_assumption.rb,
lib/reek/smell_detectors/uncommunicative_variable_name.rb,
lib/reek/smell_detectors/uncommunicative_parameter_name.rb,
lib/reek/smell_detectors/control_parameter_helpers/candidate.rb,
lib/reek/errors/bad_detector_configuration_key_in_comment_error.rb,
lib/reek/errors/garbage_detector_configuration_in_comment_error.rb,
lib/reek/smell_detectors/control_parameter_helpers/call_in_condition_finder.rb,
lib/reek/smell_detectors/control_parameter_helpers/control_parameter_finder.rb

Defined Under Namespace

Modules: AST, CLI, CodeClimate, Configuration, Context, DocumentationLink, Errors, Rake, Report, SmellDetectors, Source, Spec, Version Classes: CodeComment, ContextBuilder, DetectorRepository, Examiner, LoggingErrorHandler, Overrides, SmellConfiguration, SmellWarning, TreeDresser

Constant Summary collapse

DEFAULT_SMELL_CONFIGURATION =
File.join(__dir__, '../docs/defaults.reek.yml').freeze
DEFAULT_CONFIGURATION_FILE_NAME =
'.reek.yml'
DETECTORS_KEY =
'detectors'
EXCLUDE_PATHS_KEY =
'exclude_paths'
DIRECTORIES_KEY =
'directories'