ManageIQ/manageiq

View on GitHub
app/models/service_template.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
97%

Avoid immutable Array literals in loops. It is better to extract it into a local variable or a constant.
Open

        %w[id created_at updated_at service_template_id].each { |key| nh.delete(key) }
Severity: Minor
Found in app/models/service_template.rb by rubocop

Avoid immutable Array literals in loops. It is better to extract it into a local variable or a constant.
Open

        %w[id created_on updated_on type state status message].each { |key| nh.delete(key) }
Severity: Minor
Found in app/models/service_template.rb by rubocop

There are no issues that match your filters.

Category
Status