cloudfoundry-incubator/stratos

View on GitHub
src/frontend/packages/cloud-foundry/src/features/applications/routes/add-routes/add-routes.component.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function ngOnInit has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  ngOnInit() {
    this.subscriptions.push(this.addTCPRoute.valueChanges.subscribe(val => {
      const useRandomPort = val.useRandomPort;
      if (useRandomPort !== this.useRandomPort) {
        this.useRandomPort = useRandomPort;

    There are no issues that match your filters.

    Category
    Status