cloudfoundry-incubator/stratos

View on GitHub
src/frontend/packages/kubernetes/src/kubernetes/kubernetes-entity-generator.ts

Summary

Maintainability
D
2 days
Test Coverage

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

  constructor() {
    const endpointDef: StratosEndpointExtensionDefinition = {
      type: KUBERNETES_ENDPOINT_TYPE,
      label: 'Kubernetes',
      labelPlural: 'Kubernetes',

    File kubernetes-entity-generator.ts has 599 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import { Compiler, Injector } from '@angular/core';
    import { Validators } from '@angular/forms';
    import moment from 'moment';
    
    import { BaseEndpointAuth } from '../../../core/src/core/endpoint-auth';

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

        public static generate<
          B = any,
          C extends OrchestratedActionBuilderConfig = OrchestratedActionBuilders
        >(
          endpointDefinition: StratosEndpointExtensionDefinition,

        There are no issues that match your filters.

        Category
        Status