bookbrainz/bookbrainz-site

View on GitHub

Showing 1,033 of 1,033 total issues

Function handleDelete has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    orm: any, req: PassportRequest, res: $Response, HeaderModel: any,
    RevisionModel: any
Severity: Minor
Found in src/server/routes/entity/entity.tsx - About 35 mins to fix

    Function processEntitySets has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        orm: any,
        currentEntity: Record<string, unknown> | null | undefined,
        entityType: EntityTypeString,
        body: any,
        transacting: Transaction
    Severity: Minor
    Found in src/server/routes/entity/entity.tsx - About 35 mins to fix

      Function getOrderedRevisionsForEntityPage has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      export async function getOrderedRevisionsForEntityPage(orm: any, from: number, size: number, RevisionModel, bbid: string) {
      Severity: Minor
      Found in src/server/helpers/revisions.ts - About 35 mins to fix

        Function generateRel has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        function generateRel(workEntity, seriesEntity, attributeSetId?, isAdded = false, isRemoved = false) {
        Severity: Minor
        Found in src/client/unified-form/content-tab/content-tab.tsx - About 35 mins to fix

          Similar blocks of code found in 5 locations. Consider refactoring.
          Open

          IdentifierEditor.propTypes = {
              identifierTypes: PropTypes.array.isRequired,
              onClose: PropTypes.func.isRequired,
              show: PropTypes.bool
          };
          src/client/components/pages/entities/identifiers.js on lines 68..72
          src/client/components/pages/parts/editor-profile.js on lines 262..266
          src/client/components/pages/revision.js on lines 319..323
          src/client/entity-editor/alias-editor/alias-editor.js on lines 84..88

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 5 locations. Consider refactoring.
          Open

                              <NavDropdown.Item href="/help">
                                  <FontAwesomeIcon fixedWidth icon={faQuestionCircle}/>
                                  {' Help '}
                              </NavDropdown.Item>
          Severity: Major
          Found in src/client/containers/layout.js and 4 other locations - About 35 mins to fix
          src/client/containers/layout.js on lines 117..120
          src/client/containers/layout.js on lines 121..124
          src/client/containers/layout.js on lines 125..128
          src/client/containers/layout.js on lines 298..301

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 3 locations. Consider refactoring.
          Open

          EntityLinks.propTypes = {
              entity: PropTypes.object.isRequired,
              identifierTypes: PropTypes.array,
              urlPrefix: PropTypes.string.isRequired
          };
          Severity: Minor
          Found in src/client/components/pages/entities/links.js and 2 other locations - About 35 mins to fix
          src/client/entity-editor/annotation-section/annotation-section.js on lines 100..104
          src/client/entity-editor/button-bar/identifier-button.js on lines 72..76

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 5 locations. Consider refactoring.
          Open

                              <NavDropdown.Item href="/external-service/">
                                  <FontAwesomeIcon fixedWidth icon={faLink}/>
                                  {' External Services'}
                              </NavDropdown.Item>
          Severity: Major
          Found in src/client/containers/layout.js and 4 other locations - About 35 mins to fix
          src/client/containers/layout.js on lines 113..116
          src/client/containers/layout.js on lines 117..120
          src/client/containers/layout.js on lines 121..124
          src/client/containers/layout.js on lines 125..128

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Identical blocks of code found in 2 locations. Consider refactoring.
          Open

                  request.post('/register/handler')
                      .send(data)
                      .then(() => {
                          window.location.href = '/auth';
                      })
          Severity: Minor
          Found in src/client/components/forms/registration-details.js and 1 other location - About 35 mins to fix
          src/client/components/forms/deletion.js on lines 66..78

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Identical blocks of code found in 2 locations. Consider refactoring.
          Open

                  request.post(this.deleteUrl)
                      .send({note})
                      .then(() => {
                          window.location.href = this.entityUrl;
                      })
          Severity: Minor
          Found in src/client/components/forms/deletion.js and 1 other location - About 35 mins to fix
          src/client/components/forms/registration-details.js on lines 60..71

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 4 locations. Consider refactoring.
          Open

                                                      <a className="contact-text" href="https://x.com/BookBrainz">
                                                          <FontAwesomeIcon
                                                              className="contact-text"
                                                              icon={faXTwitter}
                                                              size="2x"
          Severity: Major
          Found in src/client/components/pages/index.js and 3 other locations - About 35 mins to fix
          src/client/components/pages/index.js on lines 142..149
          src/client/components/pages/index.js on lines 166..173
          src/client/components/pages/revision.js on lines 256..264

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 4 locations. Consider refactoring.
          Open

                                                      <a className="contact-text" href="mailto:bookbrainz@metabrainz.org">
                                                          <FontAwesomeIcon
                                                              className="contact-text"
                                                              icon={faEnvelope}
                                                              size="2x"
          Severity: Major
          Found in src/client/components/pages/index.js and 3 other locations - About 35 mins to fix
          src/client/components/pages/index.js on lines 142..149
          src/client/components/pages/index.js on lines 154..161
          src/client/components/pages/revision.js on lines 256..264

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 3 locations. Consider refactoring.
          Open

          IdentifierButton.propTypes = {
              identifiersInvalid: PropTypes.bool.isRequired,
              isUnifiedForm: PropTypes.bool,
              numIdentifiers: PropTypes.number.isRequired
          };
          Severity: Minor
          Found in src/client/entity-editor/button-bar/identifier-button.js and 2 other locations - About 35 mins to fix
          src/client/components/pages/entities/links.js on lines 60..64
          src/client/entity-editor/annotation-section/annotation-section.js on lines 100..104

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Identical blocks of code found in 2 locations. Consider refactoring.
          Open

                              <Button variant="danger" onClick={this.props.handleCloseModal}>
                                  <FontAwesomeIcon icon={faTimes}/> Close
                              </Button>
          Severity: Minor
          Found in src/client/components/pages/parts/add-to-collection-modal.js and 1 other location - About 35 mins to fix
          src/client/components/pages/parts/privs-edit-modal.js on lines 168..170

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 4 locations. Consider refactoring.
          Open

                                          <span
                                              className="round-color-icon"
                                              title="Merge revision"
                                          >
                                              <FontAwesomeIcon
          Severity: Major
          Found in src/client/components/pages/revision.js and 3 other locations - About 35 mins to fix
          src/client/components/pages/index.js on lines 142..149
          src/client/components/pages/index.js on lines 154..161
          src/client/components/pages/index.js on lines 166..173

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 3 locations. Consider refactoring.
          Open

          AnnotationSection.propTypes = {
              annotation: PropTypes.object.isRequired,
              isUnifiedForm: PropTypes.bool,
              onAnnotationChange: PropTypes.func.isRequired
          };
          src/client/components/pages/entities/links.js on lines 60..64
          src/client/entity-editor/button-bar/identifier-button.js on lines 72..76

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 5 locations. Consider refactoring.
          Open

          AliasEditor.propTypes = {
              languageOptions: PropTypes.array.isRequired,
              onClose: PropTypes.func.isRequired,
              show: PropTypes.bool
          };
          Severity: Major
          Found in src/client/entity-editor/alias-editor/alias-editor.js and 4 other locations - About 35 mins to fix
          src/client/components/pages/entities/identifiers.js on lines 68..72
          src/client/components/pages/parts/editor-profile.js on lines 262..266
          src/client/components/pages/revision.js on lines 319..323
          src/client/entity-editor/identifier-editor/identifier-editor.js on lines 88..92

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 5 locations. Consider refactoring.
          Open

          EntityIdentifiers.propTypes = {
              entityUrl: PropTypes.string.isRequired,
              identifierTypes: PropTypes.array.isRequired,
              identifiers: PropTypes.array
          };
          Severity: Major
          Found in src/client/components/pages/entities/identifiers.js and 4 other locations - About 35 mins to fix
          src/client/components/pages/parts/editor-profile.js on lines 262..266
          src/client/components/pages/revision.js on lines 319..323
          src/client/entity-editor/alias-editor/alias-editor.js on lines 84..88
          src/client/entity-editor/identifier-editor/identifier-editor.js on lines 88..92

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 4 locations. Consider refactoring.
          Open

                                                      <a className="contact-text" href="//community.metabrainz.org/c/bookbrainz">
                                                          <FontAwesomeIcon
                                                              className="contact-text"
                                                              icon={faComments}
                                                              size="2x"
          Severity: Major
          Found in src/client/components/pages/index.js and 3 other locations - About 35 mins to fix
          src/client/components/pages/index.js on lines 154..161
          src/client/components/pages/index.js on lines 166..173
          src/client/components/pages/revision.js on lines 256..264

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Similar blocks of code found in 5 locations. Consider refactoring.
          Open

          EditorProfileTab.propTypes = {
              achievement: PropTypes.object.isRequired,
              editor: PropTypes.object.isRequired,
              user: PropTypes.object
          };
          Severity: Major
          Found in src/client/components/pages/parts/editor-profile.js and 4 other locations - About 35 mins to fix
          src/client/components/pages/entities/identifiers.js on lines 68..72
          src/client/components/pages/revision.js on lines 319..323
          src/client/entity-editor/alias-editor/alias-editor.js on lines 84..88
          src/client/entity-editor/identifier-editor/identifier-editor.js on lines 88..92

          Duplicated Code

          Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

          Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

          When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

          Tuning

          This issue has a mass of 47.

          We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

          The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

          If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

          See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

          Refactorings

          Further Reading

          Severity
          Category
          Status
          Source
          Language