cloudfoundry-incubator/stratos

View on GitHub
src/frontend/packages/store/src/entity-catalog/entity-catalog-entity/entity-catalog-entity.ts

Summary

Maintainability
B
4 hrs
Test Coverage

File entity-catalog-entity.ts has 298 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { ActionReducer } from '@ngrx/store';

import { IRequestEntityTypeState } from '../../app-state';
import {
  EntitiesFetchHandler,

    Function constructor has 32 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      constructor(
        definition: IStratosEntityDefinition | IStratosEndpointDefinition | IStratosBaseEntityDefinition,
        public readonly builders: EntityCatalogBuilders<T, Y, AB> = {}
      ) {
        this.definition = this.populateEntity(definition);

      There are no issues that match your filters.

      Category
      Status