codevise/pageflow

View on GitHub

Showing 451 of 1,081 total issues

Avoid too many return statements within this function.
Open

        return {
          ...state,
          selection: rectHandleSelection(action.index, state.points)
        };

    Avoid too many return statements within this function.
    Open

          return {
            ...state,
            indicatorPosition: ensureInPolygon(state.points, state.indicatorPosition)
          };

      Avoid too many return statements within this function.
      Open

              return {
                ...state,
                indicatorPosition: ensureInPolygon(state.points, action.position),
                selection: {
                  ...state.selection,

        Avoid too many return statements within this function.
        Open

                return {
                  ...state,
                  selection: {
                    type: 'handle',
                    index: action.index,

          Avoid too many return statements within this function.
          Open

                  return state;

            Avoid too many return statements within this function.
            Open

                  return {
                    ...state,
                    points: newPoints,
                    draggingPotentialPoint: false,
                    potentialPoint: null,

              Avoid too many return statements within this function.
              Open

                      return {
                        ...state,
                        selection: {
                          ...state.selection,
                          position: state.indicatorPosition

                Avoid too many return statements within this function.
                Open

                        return state;

                  Avoid too many return statements within this function.
                  Open

                          return state;

                    Avoid too many return statements within this function.
                    Open

                          return state;

                      Avoid too many return statements within this function.
                      Open

                            return {
                              ...state,
                              indicatorPosition,
                              selection: {
                                type: 'indicator',

                        Avoid too many return statements within this function.
                        Open

                            return result;
                        Severity: Major
                        Found in entry_types/scrolled/package/src/frontend/VideoPlayer/sources.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return '';
                          Severity: Major
                          Found in package/src/editor/models/mixins/failureTracking.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return 'Der Server ist nicht erreichbar.';
                            Severity: Major
                            Found in package/src/editor/models/mixins/failureTracking.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return () => {
                                    if (shouldPlay && mediaMuted) {
                                      if (configuration.rewindOnUnmute && lastControlledVia === 'autoplay') {
                                        playerActions.seekTo(0);
                                      }
                              Severity: Major
                              Found in entry_types/scrolled/package/src/contentElements/inlineVideo/handlers.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return [
                                      {
                                        type: 'video/mp4',
                                        src: videoFile.urls[quality]
                                      }
                                Severity: Major
                                Found in entry_types/scrolled/package/src/frontend/VideoPlayer/sources.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return 0;

                                    Avoid too many return statements within this function.
                                    Open

                                        return motifAreaDimension.height
                                    Severity: Major
                                    Found in entry_types/scrolled/package/src/frontend/v1/useMotifAreaState.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return motifAreaDimension.top + motifAreaDimension.height
                                      Severity: Major
                                      Found in entry_types/scrolled/package/src/frontend/v1/useMotifAreaState.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              return 'Der Server hat einen internen Fehler gemeldet.';
                                        Severity: Major
                                        Found in package/src/editor/models/mixins/failureTracking.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language