Neodelf/lecter

View on GitHub

Showing 1 of 9 total issues

Consider simplifying this complex logical expression.
Open

        if trace_point.path&.exclude?('/app/views') &&
           trace_point.path&.exclude?('/app/helpers') &&
           trace_point.path&.include?(Rails.root.to_s) &&
           trace_point.method_id != :method_added &&
           trace_point.defined_class != Module &&
Severity: Critical
Found in lib/lecter/trace_point.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language