NatLibFi/marc-record-validators-melinda

View on GitHub

Showing 1,132 of 1,132 total issues

Avoid too many return statements within this function.
Open

  return false; // default to failure
Severity: Major
Found in src/merge-fields/mergeSubfield.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

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

      Avoid too many return statements within this function.
      Open

        return;
      Severity: Major
      Found in src/merge-fields/mergeOrAddSubfield.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

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

            Avoid too many return statements within this function.
            Open

                    return recordMatchesConfig(record, confObj[confField], true);
            Severity: Major
            Found in src/field-structure.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return subfield.value.replace(/\b[Ss]\. ?a\./u, 'julkaisuaika tuntematon');
              Severity: Major
              Found in src/cyrillux-usemarcon-replacement.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

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

                    Avoid too many return statements within this function.
                    Open

                        return countryCode;
                    Severity: Major
                    Found in src/fix-country-codes.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return subfield.value;
                      Severity: Major
                      Found in src/cyrillux-usemarcon-replacement.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return asciiCode + 200;
                        Severity: Major
                        Found in src/field-008-18-34-character-groups.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

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

                            Avoid too many return statements within this function.
                            Open

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

                              Avoid too many return statements within this function.
                              Open

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

                                Avoid too many return statements within this function.
                                Open

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

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

                                        return `3. painos`;
                                    Severity: Major
                                    Found in src/merge-fields/worldKnowledge.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return 'xxu';
                                      Severity: Major
                                      Found in src/fix-country-codes.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

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