david-mccullars/ruby-splitta

View on GitHub
lib/splitta/frag.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Complex method Splitta::Frag#features (32.2)
Open

    def features(model)
      Enumerator.new do |y|
        y << [:w1, w1]
        y << [:w2, w2]
        y << [:both, w1, w2]
Severity: Minor
Found in lib/splitta/frag.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