iZettle/ninetails

View on GitHub
app/models/ninetails/container.rb

Summary

Maintainability
A
0 mins
Test Coverage

Assignment Branch Condition size for build_revision_from_params is too high. [22.23/20]
Open

    def build_revision_from_params(params)
      params = params.to_h.convert_keys.with_indifferent_access
      self.revision = revisions.build(
        message: params[:message],
        project_id: params[:project_id],
Severity: Minor
Found in app/models/ninetails/container.rb by rubocop

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