bookbrainz/bookbrainz-site

View on GitHub

Showing 1,033 of 1,033 total issues

Function render has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        async function render(props) {
            if (props.author) {
                // add initial ralationship with relationshipTypeId = 8 (<Work> is written by <Author>)
                relationshipTypeId = RelationshipTypes.AuthorWroteWork;
                addInitialRelationship(props, relationshipTypeId, initialRelationshipIndex++, props.author);
Severity: Minor
Found in src/server/routes/entity/work.ts - About 1 hr to fix

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

    export function createFunRunner() {
        return new AchievementType(funRunnerAttribs)
            .save(null, {method: 'insert'})
            .then(
                () => new TitleType(funRunnerTitleAttribs)
    Severity: Major
    Found in data/test-data.js and 5 other locations - About 1 hr to fix
    data/test-data.js on lines 324..331
    data/test-data.js on lines 469..476
    data/test-data.js on lines 499..506
    data/test-data.js on lines 508..515
    data/test-data.js on lines 517..524

    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 63.

    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 6 locations. Consider refactoring.
    Open

    export function createEditor() {
        return new EditorType(editorTypeAttribs)
            .save(null, {method: 'insert'})
            .then(
                () => new Editor(editorAttribs)
    Severity: Major
    Found in data/test-data.js and 5 other locations - About 1 hr to fix
    data/test-data.js on lines 469..476
    data/test-data.js on lines 490..497
    data/test-data.js on lines 499..506
    data/test-data.js on lines 508..515
    data/test-data.js on lines 517..524

    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 63.

    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 6 locations. Consider refactoring.
    Open

    export function createHotOffThePress() {
        return new AchievementType(hotOffThePressAttribs)
            .save(null, {method: 'insert'})
            .then(
                () => new TitleType(hotOffThePressTitleAttribs)
    Severity: Major
    Found in data/test-data.js and 5 other locations - About 1 hr to fix
    data/test-data.js on lines 324..331
    data/test-data.js on lines 469..476
    data/test-data.js on lines 490..497
    data/test-data.js on lines 499..506
    data/test-data.js on lines 508..515

    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 63.

    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 6 locations. Consider refactoring.
    Open

    export function createSprinter() {
        return new AchievementType(sprinterAttribs)
            .save(null, {method: 'insert'})
            .then(
                () => new TitleType(sprinterTitleAttribs)
    Severity: Major
    Found in data/test-data.js and 5 other locations - About 1 hr to fix
    data/test-data.js on lines 324..331
    data/test-data.js on lines 490..497
    data/test-data.js on lines 499..506
    data/test-data.js on lines 508..515
    data/test-data.js on lines 517..524

    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 63.

    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 6 locations. Consider refactoring.
    Open

    export function createTimeTraveller() {
        return new AchievementType(timeTravellerAttribs)
            .save(null, {method: 'insert'})
            .then(
                () => new TitleType(timeTravellerTitleAttribs)
    Severity: Major
    Found in data/test-data.js and 5 other locations - About 1 hr to fix
    data/test-data.js on lines 324..331
    data/test-data.js on lines 469..476
    data/test-data.js on lines 490..497
    data/test-data.js on lines 499..506
    data/test-data.js on lines 517..524

    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 63.

    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 6 locations. Consider refactoring.
    Open

    export function createMarathoner() {
        return new AchievementType(marathonerAttribs)
            .save(null, {method: 'insert'})
            .then(
                () => new TitleType(marathonerTitleAttribs)
    Severity: Major
    Found in data/test-data.js and 5 other locations - About 1 hr to fix
    data/test-data.js on lines 324..331
    data/test-data.js on lines 469..476
    data/test-data.js on lines 490..497
    data/test-data.js on lines 508..515
    data/test-data.js on lines 517..524

    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 63.

    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 2 locations. Consider refactoring.
    Open

            else {
                process.off('exit', cleanupHandler);
                process.off('SIGHUP', cleanupHandler);
                process.off('SIGQUIT', cleanupHandler);
                process.off('SIGTERM', terminateHandler);
    Severity: Major
    Found in src/common/helpers/appCleanup.js and 1 other location - About 1 hr to fix
    src/common/helpers/appCleanup.js on lines 40..46

    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 63.

    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 2 locations. Consider refactoring.
    Open

            const entitiesPromise = newResultsArray.map(async item => ({
                addedAt: item.added_at,
                ...await orm.func.entity.getEntity(orm, collection.entityType, item.bbid, relations)
            }));
    Severity: Major
    Found in src/server/routes/collection.js and 1 other location - About 1 hr to fix
    src/server/routes/collection.js on lines 189..192

    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 63.

    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

        const baseEntity = {
            bbid: _.get(entity, 'bbid'),
            defaultAlias: {
                name: entityName
            },
    src/client/entity-editor/series-section/series-section.tsx on lines 118..125

    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 63.

    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 2 locations. Consider refactoring.
    Open

            const entitiesPromise = items.map(async item => ({
                addedAt: item.added_at,
                ...await orm.func.entity.getEntity(orm, collection.entityType, item.bbid, relations)
            }));
    Severity: Major
    Found in src/server/routes/collection.js and 1 other location - About 1 hr to fix
    src/server/routes/collection.js on lines 133..136

    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 63.

    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

        const baseEntity = {
            bbid: _.get(entity, 'bbid'),
            defaultAlias: {
                name: entityName
            },
    Severity: Major
    Found in src/client/entity-editor/series-section/series-section.tsx and 1 other location - About 1 hr to fix
    src/client/entity-editor/relationship-editor/relationship-section.tsx on lines 153..160

    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 63.

    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 2 locations. Consider refactoring.
    Open

            if (typeof process.off !== 'function') {
                process.removeListener('exit', cleanupHandler);
                process.removeListener('SIGHUP', cleanupHandler);
                process.removeListener('SIGQUIT', cleanupHandler);
                process.removeListener('SIGTERM', terminateHandler);
    Severity: Major
    Found in src/common/helpers/appCleanup.js and 1 other location - About 1 hr to fix
    src/common/helpers/appCleanup.js on lines 47..53

    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 63.

    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

    Function renderAboutUs has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        renderAboutUs() {
            const disableSignUp = this.props.disableSignUp ? {disabled: true} : {};
            return (
                <React.Fragment>
                    <Row>
    Severity: Minor
    Found in src/client/components/pages/index.js - About 1 hr to fix

      Function handleAddToCollection has 34 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

          handleAddToCollection() {
              const selectedEntities = this.state.selected;
              if (selectedEntities.length) {
                  const areAllEntitiesOfSameType = selectedEntities.every(entity => entity.type === selectedEntities[0].type);
                  const entityTypes = ['Author', 'Edition', 'EditionGroup', 'Publisher', 'Series', 'Work'];
      Severity: Minor
      Found in src/client/components/pages/parts/search-results.js - About 1 hr to fix

        Function RelationshipTypeMatrixPage has 34 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        function RelationshipTypeMatrixPage() {
            return (
                <Card>
                    <Card.Header as="h2">
                        Relationship Types
        Severity: Minor
        Found in src/client/components/pages/relationship-type-matrix.tsx - About 1 hr to fix

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

                              <NavDropdown.Item href={`/editor/${user.id}`}>
                                  <FontAwesomeIcon fixedWidth icon={faUserCircle}/>
                                  {' Profile'}
                              </NavDropdown.Item>
          Severity: Major
          Found in src/client/containers/layout.js and 3 other locations - About 1 hr to fix
          src/client/containers/layout.js on lines 286..289
          src/client/containers/layout.js on lines 290..293
          src/client/containers/layout.js on lines 294..297

          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 62.

          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

                              <NavDropdown.Item href={`/editor/${user.id}/collections`}>
                                  <FontAwesomeIcon fixedWidth icon={faGripVertical}/>
                                  {' Collections'}
                              </NavDropdown.Item>
          Severity: Major
          Found in src/client/containers/layout.js and 3 other locations - About 1 hr to fix
          src/client/containers/layout.js on lines 282..285
          src/client/containers/layout.js on lines 286..289
          src/client/containers/layout.js on lines 290..293

          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 62.

          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

                              <NavDropdown.Item href={`/editor/${user.id}/achievements`}>
                                  <FontAwesomeIcon fixedWidth icon={faTrophy}/>
                                  {' Achievements'}
                              </NavDropdown.Item>
          Severity: Major
          Found in src/client/containers/layout.js and 3 other locations - About 1 hr to fix
          src/client/containers/layout.js on lines 282..285
          src/client/containers/layout.js on lines 286..289
          src/client/containers/layout.js on lines 294..297

          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 62.

          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

                              <NavDropdown.Item href={`/editor/${user.id}/revisions`}>
                                  <FontAwesomeIcon fixedWidth icon={faListUl}/>
                                  {' Revisions'}
                              </NavDropdown.Item>
          Severity: Major
          Found in src/client/containers/layout.js and 3 other locations - About 1 hr to fix
          src/client/containers/layout.js on lines 282..285
          src/client/containers/layout.js on lines 290..293
          src/client/containers/layout.js on lines 294..297

          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 62.

          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