cloudfoundry-incubator/stratos

View on GitHub
src/frontend/packages/cf-autoscaler/src/features/edit-autoscaler-policy/edit-autoscaler-policy-step4/edit-autoscaler-policy-step4.component.ts

Summary

Maintainability
A
0 mins
Test Coverage

File edit-autoscaler-policy-step4.component.ts has 264 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

import { Component, OnInit } from '@angular/core';
import { AbstractControl, FormBuilder, FormGroup, ValidatorFn, Validators } from '@angular/forms';
import { ErrorStateMatcher, ShowOnDirtyErrorStateMatcher } from '@angular/material/core';
import { ActivatedRoute } from '@angular/router';
import { Store } from '@ngrx/store';

    Function validateSpecificDateStartDateTime has 30 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

      validateSpecificDateStartDateTime(): ValidatorFn {
        return (control: AbstractControl): { [key: string]: any, } => {
          if (!this.editSpecificDateForm) {
            return null;
          }

      Function validateSpecificDateEndDateTime has 30 lines of code (exceeds 25 allowed). Consider refactoring.
      Wontfix

        validateSpecificDateEndDateTime(): ValidatorFn {
          return (control: AbstractControl): { [key: string]: any, } => {
            if (!this.editSpecificDateForm) {
              return null;
            }

        There are no issues that match your filters.

        Category
        Status