NatLibFi/marc-record-validators-melinda

View on GitHub

Showing 830 of 830 total issues

Avoid too many return statements within this function.
Open

  return -1;
Severity: Major
Found in src/sortFields.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return processTodoList([tmp, ...stillToDo, ...moreToDo], [...deletables, tmp]);
    Severity: Major
    Found in src/removeInferiorDataFields.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return `${match.length}`;
      Severity: Major
      Found in src/indicator-fixes.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return ['snd'];
        Severity: Major
        Found in src/addMissingField336.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return ['tdi'];
          Severity: Major
          Found in src/addMissingField336.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return extentToCode;
            Severity: Major
            Found in src/addMissingField338.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                return true;
              Severity: Major
              Found in src/punctuation2.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return `${match.length}`;
                Severity: Major
                Found in src/indicator-fixes.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return -1;
                  Severity: Major
                  Found in src/sortFields.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return undefined;
                    Severity: Major
                    Found in src/addMissingField338.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return false;
                      Severity: Major
                      Found in src/isbn-issn.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return true;
                        Severity: Major
                        Found in src/prepublicationUtils.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                            return false;
                          Severity: Major
                          Found in src/prepublicationUtils.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                return false;
                            Severity: Major
                            Found in src/prepublicationUtils.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return ['sti'];
                              Severity: Major
                              Found in src/addMissingField336.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return 's'; // audio
                                Severity: Major
                                Found in src/addMissingField337.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return guessMissingBsForComputerFile(record);
                                  Severity: Major
                                  Found in src/addMissingField336.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return guessMissingBsForBookAndContinuingResource(record, formOfItem);
                                    Severity: Major
                                    Found in src/addMissingField336.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return ['xxx']; // other
                                      Severity: Major
                                      Found in src/addMissingField336.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

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