dsi-icl/optimise

View on GitHub

Showing 1,390 of 1,390 total issues

Avoid too many return statements within this function.
Open

            return;
Severity: Major
Found in packages/optimise-core/src/controllers/treatmentController.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return;
    Severity: Major
    Found in packages/optimise-core/src/controllers/ceController.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                                                      return false;
      Severity: Major
      Found in packages/optimise-core/src/controllers/dataController.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return;
        Severity: Major
        Found in packages/optimise-core/src/controllers/treatmentController.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return;
          Severity: Major
          Found in packages/optimise-core/src/controllers/concomitantMedController.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return;
            Severity: Major
            Found in packages/optimise-core/src/controllers/treatmentController.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return;
              Severity: Major
              Found in packages/optimise-core/src/controllers/demographicDataController.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                                return;
                Severity: Major
                Found in packages/optimise-core/src/controllers/demographicDataController.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                                                                  return false;
                  Severity: Major
                  Found in packages/optimise-core/src/controllers/dataController.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return;
                    Severity: Major
                    Found in packages/optimise-core/src/controllers/treatmentController.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                                                      return false;
                      Severity: Major
                      Found in packages/optimise-core/src/controllers/dataController.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return;
                        Severity: Major
                        Found in packages/optimise-core/src/controllers/treatmentController.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                                                          return false;
                          Severity: Major
                          Found in packages/optimise-core/src/controllers/dataController.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return;
                            Severity: Major
                            Found in packages/optimise-core/src/controllers/treatmentController.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return '';
                              Severity: Major
                              Found in packages/optimise-ui/src/components/pregnancyForms/pregnancyEntry.jsx - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return 'Please enter both the outcome date and the outcome';
                                Severity: Major
                                Found in packages/optimise-ui/src/components/pregnancyForms/pregnancyEntry.jsx - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return;
                                  Severity: Major
                                  Found in packages/optimise-ui/src/components/scaffold/syncIndicator.jsx - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return (
                                                <select ref={reference} defaultValue={origVal}>
                                                    <option value='unselected'></option>
                                                    {choices.map(el => <option key={el} value={el}>{el}</option>)}
                                                </select>
                                    Severity: Major
                                    Found in packages/optimise-ui/src/components/medicalData/utils.jsx - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                                              return json.data;
                                      Severity: Major
                                      Found in packages/optimise-ui/src/redux/fetchHelper.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                    return (
                                                        <span title={lastSuccess}><strong className={style.statusIcon}><Icon symbol={'cloud'}></Icon></strong> Synced with {(new URL(syncInfo.config.host)).host}</span>
                                                    );
                                        Severity: Major
                                        Found in packages/optimise-ui/src/components/scaffold/syncIndicator.jsx - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language