cloudfoundry/stratos

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

Summary

Maintainability
A
1 hr
Test Coverage

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

  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