presidentbeef/brakeman

View on GitHub
lib/brakeman/checks/check_sql.rb

Summary

Maintainability
A
40 mins
Test Coverage
A
95%

Consider simplifying this complex logical expression.
Open

    if call? target and target.method == :connection
      target = target.target
      klass = class_name(target)

      target.nil? or
Severity: Major
Found in lib/brakeman/checks/check_sql.rb - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status