cloudfoundry/stratos

View on GitHub
src/frontend/packages/cloud-foundry/src/features/applications/application/application-tabs-base/tabs/log-stream-tab/log-stream-tab.component.ts

Summary

Maintainability
A
2 hrs
Test Coverage

Function ngOnInit has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Confirmed

  ngOnInit() {
    this.connectionStatusSubject.next(0);
    if (!this.applicationService.cfGuid || !this.applicationService.appGuid) {
      this.messages = NEVER;
    } else {

    Function jsonFilter has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      jsonFilter(jsonString) {
        try {
          const messageObj = JSON.parse(jsonString);
          if (!messageObj) {
            return;

      There are no issues that match your filters.

      Category
      Status