MLSDev/easy-matchers

View on GitHub
lib/matchers/validations/confirmation_of.rb

Summary

Maintainability
A
0 mins
Test Coverage

Assignment Branch Condition size for matches? is too high. [16.31/15]
Open

        def matches?(subject)
          super(subject)

          matched_validator = class_name.validators.detect do |validator|
            validator.kind == type &&

This cop checks that the ABC size of methods is not higher than the configured maximum. The ABC size is based on assignments, branches (method calls), and conditions. See http://c2.com/cgi/wiki?AbcMetric

There are no issues that match your filters.

Category
Status