app/models/rule_types/payment_rule_type.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
91%

Method has too many lines. [11/10]
Open

    def available_variables_for_values
      var_names = []

      if payment_rule.monthly?
        var_names << payment_rule.packages

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

Line is too long. [117/100]
Open

      rules = payment_rule.packages.flat_map(&:rules).select(&:package_kind?).reject { |r| r.package.kind == "zone" }

There are no issues that match your filters.

Category
Status