ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/components/ems_container_dashboard/helper.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getAggStatusInfo has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const getAggStatusInfo = (data, providerId) => {
  const attributes = ['nodes', 'containers', 'registries', 'projects', 'pods', 'services', 'images', 'routes'];
  const attrHsh = {
    nodes: __('Nodes'),
    containers: __('Containers'),
Severity: Minor
Found in app/javascript/components/ems_container_dashboard/helper.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status