airbnb/caravel

View on GitHub
superset-frontend/packages/superset-ui-chart-controls/src/operators/rollingWindowOperator.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function rollingWindowOperator has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

> = (formData, queryObject) => {
  let columns: (string | undefined)[];
  if (isTimeComparison(formData, queryObject)) {
    const metricsMap = getMetricOffsetsMap(formData, queryObject);
    columns = [

    There are no issues that match your filters.

    Category
    Status