Neodelf/lecter

View on GitHub
lib/lecter/trace_point.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

    There are no issues that match your filters.

    Category
    Status