huyderman/querylicious

View on GitHub
lib/querylicious/transform.rb

Summary

Maintainability
A
0 mins
Test Coverage

Complex method Querylicious::Transform::rule#pair (56.3)
Open

    } do
      KeyValuePair.new(key: key, value: obj, op: NEGATIONS[op])
Severity: Minor
Found in lib/querylicious/transform.rb by flog

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

Complex method Querylicious::Transform::rule#op (28.8)
Open

    rule(op: simple(:op), datetime: simple(:it)) do
      { object: Types::Params::DateTime[it], op: op }
Severity: Minor
Found in lib/querylicious/transform.rb by flog

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

Complex method Querylicious::Transform::rule#range (22.1)
Open

    rule(range: { start: simple(:first), end: simple(:last) }) do
      if first == :* && last == :*
        :*
      elsif first == :*
        { object: last,  op: :lteq }
Severity: Minor
Found in lib/querylicious/transform.rb by flog

Flog calculates the ABC score for methods. The ABC score is based on assignments, branches (method calls), and conditions.

You can read more about ABC metrics or the flog tool

There are no issues that match your filters.

Category
Status