airbnb/caravel

View on GitHub
superset-frontend/src/dashboard/components/SaveModal.tsx

Summary

Maintainability
A
3 hrs
Test Coverage

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

  render() {
    return (
      <ModalTrigger
        ref={this.modal}
        triggerNode={this.props.triggerNode}
Severity: Major
Found in superset-frontend/src/dashboard/components/SaveModal.tsx - About 2 hrs to fix

    Function saveDashboard has 42 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      saveDashboard() {
        const { saveType, newDashName } = this.state;
        const {
          dashboardTitle,
          dashboardInfo,
    Severity: Minor
    Found in superset-frontend/src/dashboard/components/SaveModal.tsx - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status