ManageIQ/manageiq-ui-classic

View on GitHub
app/services/ems_storage_dashboard_service.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method attributes_data has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def attributes_data
    attributes = if @ems.supports?(:block_storage)
                   %i[physical_storages storage_resources cloud_volumes cloud_volume_snapshots volume_mappings host_initiators host_initiator_groups storage_services]
                 else
                   %i[cloud_object_store_containers cloud_object_store_objects]
Severity: Minor
Found in app/services/ems_storage_dashboard_service.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status