superdesk/superdesk-client-core

View on GitHub
scripts/extensions/broadcasting/src/page.tsx

Summary

Maintainability
D
1 day
Test Coverage

Function render has 254 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    render() {
        const {rundownAction} = this.state;
        const rundownItemOpen = rundownAction != null && this.state.rundownItemAction != null;
        const rundownsListVisible = rundownAction?.fullWidth !== true && !rundownItemOpen;

Severity: Major
Found in scripts/extensions/broadcasting/src/page.tsx - About 1 day to fix

    File page.tsx has 396 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import * as React from 'react';
    import {noop} from 'lodash';
    import * as Layout from 'superdesk-ui-framework/react/components/Layouts';
    
    import {
    Severity: Minor
    Found in scripts/extensions/broadcasting/src/page.tsx - About 5 hrs to fix

      There are no issues that match your filters.

      Category
      Status