binary-com/binary-next-gen

View on GitHub

Showing 551 of 551 total issues

Avoid too many return statements within this function.
Open

            return state.set('filter', action.filter);
Severity: Major
Found in src/_reducers/AssetPickerReducer.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return initialState;
    Severity: Major
    Found in src/_reducers/BoughtContractsReducer.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                      return state.setIn([entry[0], 'proposal'], action.serverResponse.proposal);
      Severity: Major
      Found in src/_reducers/trades/TradesProposalInfoReducer.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return isDurationValid(duration, durationUnit, forwardStartingDuration.options);
        Severity: Major
        Found in src/_trade/validation/areAllTimeFieldsValid.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                          return state;
          Severity: Major
          Found in src/_reducers/OHLCReducer.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return state.set(panelField, !state.get(panelField));
            Severity: Major
            Found in src/_reducers/WorkspaceReducer.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return state.mergeIn([field.id], field);
              Severity: Major
              Found in src/_reducers/BoughtContractsReducer.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return state;
                Severity: Major
                Found in src/_reducers/trades/TradesParamsReducer.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return state.set(symbol, fromJS(merged));
                  Severity: Major
                  Found in src/_reducers/TickReducer.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return state.remove(action.index);
                    Severity: Major
                    Found in src/_reducers/trades/TradesErrorReducer.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                      return state;
                      Severity: Major
                      Found in src/_reducers/trades/TradesParamsReducer.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return state.setIn([action.index, 'chartParams'], action.chartParams);
                        Severity: Major
                        Found in src/_reducers/trades/TradesParamsReducer.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                          return state;
                          Severity: Major
                          Found in src/_reducers/trades/TradesParamsReducer.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return initialState;
                            Severity: Major
                            Found in src/_reducers/trades/TradesErrorReducer.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                              return state;
                              Severity: Major
                              Found in src/_reducers/trades/TradesUIStateReducer.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                                return state;
                                Severity: Major
                                Found in src/_reducers/trades/TradesPurchaseInfoReducer.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return state.set(symbol, fromJS(merged));
                                  Severity: Major
                                  Found in src/_reducers/OHLCReducer.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                    return state;
                                    Severity: Major
                                    Found in src/_reducers/trades/TradesPurchaseInfoReducer.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                  return state.set('default_currency', action.default_currency);
                                      Severity: Major
                                      Found in src/_reducers/AccountReducer.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                        return state;
                                        Severity: Major
                                        Found in src/_reducers/TickReducer.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language