superdesk/superdesk-client-core

View on GitHub
scripts/extensions/videoEditor/src/VideoEditorTools.tsx

Summary

Maintainability
A
2 hrs
Test Coverage

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

    render() {
        const resolutions = [{label: 'Same', value: 0}].concat(
            [480, 720, 1080]
                .filter((i) => i < this.props.videoResolution)
                .map((i) => ({label: i + 'p', value: i})),
Severity: Major
Found in scripts/extensions/videoEditor/src/VideoEditorTools.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status