rofrischmann/bredon

View on GitHub

Showing 459 of 459 total issues

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

  borderInlineStartWidth: (node, isMultiValue) => {
    if (isMultiValue && node.length <= 4) {
      return validateNodeList(
        node => isLength(node) || matchesKeyword('borderInlineStartWidth')(node)
      )
Severity: Major
Found in packages/bredon-validate/src/propertyValidators.js and 4 other locations - About 1 hr to fix
packages/bredon-validate/src/propertyValidators.js on lines 203..211
packages/bredon-validate/src/propertyValidators.js on lines 223..231
packages/bredon-validate/src/propertyValidators.js on lines 287..295
packages/bredon-validate/src/propertyValidators.js on lines 628..636

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

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

  'break-before': {
    syntax:
      'auto | avoid | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region',
    media: 'paged',
    inherited: false,
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 2 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 2033..2046
packages/bredon-validate/src/data/__mdnData.js on lines 2061..2073

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

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

  textOverflow: (node, isMultiValue) => {
    if (isMultiValue && node.length === 2) {
      return validateNodeList(
        node => isStringLiteral(node) || matchesKeyword('textOverflow')(node)
      )
Severity: Major
Found in packages/bredon-validate/src/propertyValidators.js and 4 other locations - About 1 hr to fix
packages/bredon-validate/src/propertyValidators.js on lines 203..211
packages/bredon-validate/src/propertyValidators.js on lines 223..231
packages/bredon-validate/src/propertyValidators.js on lines 287..295
packages/bredon-validate/src/propertyValidators.js on lines 307..315

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

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

  'break-inside': {
    syntax: 'auto | avoid | avoid-page | avoid-column | avoid-region',
    media: 'paged',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 2 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 2033..2046
packages/bredon-validate/src/data/__mdnData.js on lines 2047..2060

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

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

  borderBlockStartWidth: (node, isMultiValue) => {
    if (isMultiValue && node.length <= 4) {
      return validateNodeList(
        node => isLength(node) || matchesKeyword('borderBlockStartWidth')(node)
      )
Severity: Major
Found in packages/bredon-validate/src/propertyValidators.js and 4 other locations - About 1 hr to fix
packages/bredon-validate/src/propertyValidators.js on lines 203..211
packages/bredon-validate/src/propertyValidators.js on lines 287..295
packages/bredon-validate/src/propertyValidators.js on lines 307..315
packages/bredon-validate/src/propertyValidators.js on lines 628..636

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

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

  borderBlockEndWidth: (node, isMultiValue) => {
    if (isMultiValue && node.length <= 4) {
      return validateNodeList(
        node => isLength(node) || matchesKeyword('borderBlockEndWidth')(node)
      )
Severity: Major
Found in packages/bredon-validate/src/propertyValidators.js and 4 other locations - About 1 hr to fix
packages/bredon-validate/src/propertyValidators.js on lines 223..231
packages/bredon-validate/src/propertyValidators.js on lines 287..295
packages/bredon-validate/src/propertyValidators.js on lines 307..315
packages/bredon-validate/src/propertyValidators.js on lines 628..636

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

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

  widows: {
    syntax: '<integer>',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 1 other location - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 4130..4142

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

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

  'box-orient': {
    syntax: 'horizontal | vertical | inline-axis | block-axis | inherit',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  'box-align': {
    syntax: 'start | center | end | baseline | stretch',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  'box-flex': {
    syntax: '<number>',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  'box-pack': {
    syntax: 'start | center | end | justify',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992

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

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

  orphans: {
    syntax: '<integer>',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 1 other location - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 5262..5274

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

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

  'box-direction': {
    syntax: 'normal | reverse | inherit',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  '-moz-appearance': {
    syntax:
      'none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized',
    media: 'visual',
    inherited: false,
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  'box-flex-group': {
    syntax: '<integer>',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  'box-lines': {
    syntax: 'single | multiple',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1967..1979
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  'box-ordinal-group': {
    syntax: '<integer>',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 8 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 15..28
packages/bredon-validate/src/data/__mdnData.js on lines 1889..1901
packages/bredon-validate/src/data/__mdnData.js on lines 1915..1927
packages/bredon-validate/src/data/__mdnData.js on lines 1928..1940
packages/bredon-validate/src/data/__mdnData.js on lines 1941..1953
packages/bredon-validate/src/data/__mdnData.js on lines 1954..1966
packages/bredon-validate/src/data/__mdnData.js on lines 1980..1992
packages/bredon-validate/src/data/__mdnData.js on lines 1993..2005

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

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

  '-ms-overflow-style': {
    syntax: 'auto | none | scrollbar | -ms-autohiding-scrollbar',
    media: 'interactive',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 218 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 29..41
packages/bredon-validate/src/data/__mdnData.js on lines 42..54
packages/bredon-validate/src/data/__mdnData.js on lines 55..67
packages/bredon-validate/src/data/__mdnData.js on lines 68..80
packages/bredon-validate/src/data/__mdnData.js on lines 81..93
packages/bredon-validate/src/data/__mdnData.js on lines 94..106
packages/bredon-validate/src/data/__mdnData.js on lines 107..119
packages/bredon-validate/src/data/__mdnData.js on lines 120..132
packages/bredon-validate/src/data/__mdnData.js on lines 133..145
packages/bredon-validate/src/data/__mdnData.js on lines 146..158
packages/bredon-validate/src/data/__mdnData.js on lines 192..204
packages/bredon-validate/src/data/__mdnData.js on lines 205..217
packages/bredon-validate/src/data/__mdnData.js on lines 218..230
packages/bredon-validate/src/data/__mdnData.js on lines 231..243
packages/bredon-validate/src/data/__mdnData.js on lines 244..256
packages/bredon-validate/src/data/__mdnData.js on lines 257..269
packages/bredon-validate/src/data/__mdnData.js on lines 270..283
packages/bredon-validate/src/data/__mdnData.js on lines 284..296
packages/bredon-validate/src/data/__mdnData.js on lines 297..309
packages/bredon-validate/src/data/__mdnData.js on lines 310..322
packages/bredon-validate/src/data/__mdnData.js on lines 323..335
packages/bredon-validate/src/data/__mdnData.js on lines 349..361
packages/bredon-validate/src/data/__mdnData.js on lines 362..374
packages/bredon-validate/src/data/__mdnData.js on lines 375..387
packages/bredon-validate/src/data/__mdnData.js on lines 388..400
packages/bredon-validate/src/data/__mdnData.js on lines 429..441
packages/bredon-validate/src/data/__mdnData.js on lines 442..455
packages/bredon-validate/src/data/__mdnData.js on lines 456..468
packages/bredon-validate/src/data/__mdnData.js on lines 469..481
packages/bredon-validate/src/data/__mdnData.js on lines 482..495
packages/bredon-validate/src/data/__mdnData.js on lines 496..508
packages/bredon-validate/src/data/__mdnData.js on lines 509..521
packages/bredon-validate/src/data/__mdnData.js on lines 522..534
packages/bredon-validate/src/data/__mdnData.js on lines 535..547
packages/bredon-validate/src/data/__mdnData.js on lines 548..560
packages/bredon-validate/src/data/__mdnData.js on lines 561..573
packages/bredon-validate/src/data/__mdnData.js on lines 574..586
packages/bredon-validate/src/data/__mdnData.js on lines 587..599
packages/bredon-validate/src/data/__mdnData.js on lines 600..612
packages/bredon-validate/src/data/__mdnData.js on lines 626..638
packages/bredon-validate/src/data/__mdnData.js on lines 639..651
packages/bredon-validate/src/data/__mdnData.js on lines 652..664
packages/bredon-validate/src/data/__mdnData.js on lines 665..678
packages/bredon-validate/src/data/__mdnData.js on lines 679..691
packages/bredon-validate/src/data/__mdnData.js on lines 692..704
packages/bredon-validate/src/data/__mdnData.js on lines 749..761
packages/bredon-validate/src/data/__mdnData.js on lines 762..774
packages/bredon-validate/src/data/__mdnData.js on lines 775..787
packages/bredon-validate/src/data/__mdnData.js on lines 788..800
packages/bredon-validate/src/data/__mdnData.js on lines 801..813
packages/bredon-validate/src/data/__mdnData.js on lines 814..826
packages/bredon-validate/src/data/__mdnData.js on lines 827..839
packages/bredon-validate/src/data/__mdnData.js on lines 840..852
packages/bredon-validate/src/data/__mdnData.js on lines 880..892
packages/bredon-validate/src/data/__mdnData.js on lines 893..905
packages/bredon-validate/src/data/__mdnData.js on lines 1045..1059
packages/bredon-validate/src/data/__mdnData.js on lines 1060..1074
packages/bredon-validate/src/data/__mdnData.js on lines 1103..1115
packages/bredon-validate/src/data/__mdnData.js on lines 1143..1155
packages/bredon-validate/src/data/__mdnData.js on lines 1156..1168
packages/bredon-validate/src/data/__mdnData.js on lines 1169..1181
packages/bredon-validate/src/data/__mdnData.js on lines 1195..1207
packages/bredon-validate/src/data/__mdnData.js on lines 1208..1220
packages/bredon-validate/src/data/__mdnData.js on lines 1221..1233
packages/bredon-validate/src/data/__mdnData.js on lines 1330..1342
packages/bredon-validate/src/data/__mdnData.js on lines 1482..1494
packages/bredon-validate/src/data/__mdnData.js on lines 1495..1507
packages/bredon-validate/src/data/__mdnData.js on lines 1508..1520
packages/bredon-validate/src/data/__mdnData.js on lines 1534..1546
packages/bredon-validate/src/data/__mdnData.js on lines 1547..1559
packages/bredon-validate/src/data/__mdnData.js on lines 1560..1572
packages/bredon-validate/src/data/__mdnData.js on lines 1726..1738
packages/bredon-validate/src/data/__mdnData.js on lines 1902..1914
packages/bredon-validate/src/data/__mdnData.js on lines 2020..2032
packages/bredon-validate/src/data/__mdnData.js on lines 2074..2087
packages/bredon-validate/src/data/__mdnData.js on lines 2088..2100
packages/bredon-validate/src/data/__mdnData.js on lines 2127..2139
packages/bredon-validate/src/data/__mdnData.js on lines 2154..2166
packages/bredon-validate/src/data/__mdnData.js on lines 2167..2179
packages/bredon-validate/src/data/__mdnData.js on lines 2180..2192
packages/bredon-validate/src/data/__mdnData.js on lines 2211..2223
packages/bredon-validate/src/data/__mdnData.js on lines 2224..2236
packages/bredon-validate/src/data/__mdnData.js on lines 2237..2249
packages/bredon-validate/src/data/__mdnData.js on lines 2250..2262
packages/bredon-validate/src/data/__mdnData.js on lines 2263..2275
packages/bredon-validate/src/data/__mdnData.js on lines 2316..2328
packages/bredon-validate/src/data/__mdnData.js on lines 2329..2341
packages/bredon-validate/src/data/__mdnData.js on lines 2384..2396
packages/bredon-validate/src/data/__mdnData.js on lines 2397..2409
packages/bredon-validate/src/data/__mdnData.js on lines 2410..2423
packages/bredon-validate/src/data/__mdnData.js on lines 2424..2436
packages/bredon-validate/src/data/__mdnData.js on lines 2463..2475
packages/bredon-validate/src/data/__mdnData.js on lines 2476..2488
packages/bredon-validate/src/data/__mdnData.js on lines 2502..2514
packages/bredon-validate/src/data/__mdnData.js on lines 2515..2527
packages/bredon-validate/src/data/__mdnData.js on lines 2528..2540
packages/bredon-validate/src/data/__mdnData.js on lines 2913..2925
packages/bredon-validate/src/data/__mdnData.js on lines 2926..2938
packages/bredon-validate/src/data/__mdnData.js on lines 2939..2951
packages/bredon-validate/src/data/__mdnData.js on lines 2965..2977
packages/bredon-validate/src/data/__mdnData.js on lines 2978..2990
packages/bredon-validate/src/data/__mdnData.js on lines 2991..3003
packages/bredon-validate/src/data/__mdnData.js on lines 3030..3042
packages/bredon-validate/src/data/__mdnData.js on lines 3043..3055
packages/bredon-validate/src/data/__mdnData.js on lines 3056..3068
packages/bredon-validate/src/data/__mdnData.js on lines 3091..3103
packages/bredon-validate/src/data/__mdnData.js on lines 3104..3116
packages/bredon-validate/src/data/__mdnData.js on lines 3117..3129
packages/bredon-validate/src/data/__mdnData.js on lines 3130..3142
packages/bredon-validate/src/data/__mdnData.js on lines 3171..3183
packages/bredon-validate/src/data/__mdnData.js on lines 3184..3196
packages/bredon-validate/src/data/__mdnData.js on lines 3197..3209
packages/bredon-validate/src/data/__mdnData.js on lines 3210..3222
packages/bredon-validate/src/data/__mdnData.js on lines 3223..3235
packages/bredon-validate/src/data/__mdnData.js on lines 3236..3248
packages/bredon-validate/src/data/__mdnData.js on lines 3249..3261
packages/bredon-validate/src/data/__mdnData.js on lines 3275..3288
packages/bredon-validate/src/data/__mdnData.js on lines 3316..3328
packages/bredon-validate/src/data/__mdnData.js on lines 3343..3355
packages/bredon-validate/src/data/__mdnData.js on lines 3370..3382
packages/bredon-validate/src/data/__mdnData.js on lines 3383..3395
packages/bredon-validate/src/data/__mdnData.js on lines 3396..3408
packages/bredon-validate/src/data/__mdnData.js on lines 3423..3435
packages/bredon-validate/src/data/__mdnData.js on lines 3436..3448
packages/bredon-validate/src/data/__mdnData.js on lines 3463..3475
packages/bredon-validate/src/data/__mdnData.js on lines 3476..3488
packages/bredon-validate/src/data/__mdnData.js on lines 3608..3620
packages/bredon-validate/src/data/__mdnData.js on lines 3621..3633
packages/bredon-validate/src/data/__mdnData.js on lines 3634..3646
packages/bredon-validate/src/data/__mdnData.js on lines 3647..3659
packages/bredon-validate/src/data/__mdnData.js on lines 3660..3672
packages/bredon-validate/src/data/__mdnData.js on lines 3673..3685
packages/bredon-validate/src/data/__mdnData.js on lines 3686..3698
packages/bredon-validate/src/data/__mdnData.js on lines 3699..3711
packages/bredon-validate/src/data/__mdnData.js on lines 3712..3724
packages/bredon-validate/src/data/__mdnData.js on lines 3725..3737
packages/bredon-validate/src/data/__mdnData.js on lines 3738..3750
packages/bredon-validate/src/data/__mdnData.js on lines 3751..3763
packages/bredon-validate/src/data/__mdnData.js on lines 3764..3776
packages/bredon-validate/src/data/__mdnData.js on lines 3777..3789
packages/bredon-validate/src/data/__mdnData.js on lines 3790..3802
packages/bredon-validate/src/data/__mdnData.js on lines 3803..3815
packages/bredon-validate/src/data/__mdnData.js on lines 3816..3829
packages/bredon-validate/src/data/__mdnData.js on lines 3830..3842
packages/bredon-validate/src/data/__mdnData.js on lines 3843..3856
packages/bredon-validate/src/data/__mdnData.js on lines 3857..3869
packages/bredon-validate/src/data/__mdnData.js on lines 3870..3883
packages/bredon-validate/src/data/__mdnData.js on lines 3884..3896
packages/bredon-validate/src/data/__mdnData.js on lines 3897..3910
packages/bredon-validate/src/data/__mdnData.js on lines 3925..3937
packages/bredon-validate/src/data/__mdnData.js on lines 3938..3950
packages/bredon-validate/src/data/__mdnData.js on lines 3984..3996
packages/bredon-validate/src/data/__mdnData.js on lines 3997..4009
packages/bredon-validate/src/data/__mdnData.js on lines 4010..4022
packages/bredon-validate/src/data/__mdnData.js on lines 4023..4035
packages/bredon-validate/src/data/__mdnData.js on lines 4036..4048
packages/bredon-validate/src/data/__mdnData.js on lines 4049..4061
packages/bredon-validate/src/data/__mdnData.js on lines 4077..4089
packages/bredon-validate/src/data/__mdnData.js on lines 4090..4102
packages/bredon-validate/src/data/__mdnData.js on lines 4156..4168
packages/bredon-validate/src/data/__mdnData.js on lines 4169..4181
packages/bredon-validate/src/data/__mdnData.js on lines 4182..4194
packages/bredon-validate/src/data/__mdnData.js on lines 4195..4207
packages/bredon-validate/src/data/__mdnData.js on lines 4221..4233
packages/bredon-validate/src/data/__mdnData.js on lines 4234..4246
packages/bredon-validate/src/data/__mdnData.js on lines 4247..4259
packages/bredon-validate/src/data/__mdnData.js on lines 4260..4272
packages/bredon-validate/src/data/__mdnData.js on lines 4292..4304
packages/bredon-validate/src/data/__mdnData.js on lines 4305..4317
packages/bredon-validate/src/data/__mdnData.js on lines 4332..4344
packages/bredon-validate/src/data/__mdnData.js on lines 4345..4357
packages/bredon-validate/src/data/__mdnData.js on lines 4400..4412
packages/bredon-validate/src/data/__mdnData.js on lines 4413..4425
packages/bredon-validate/src/data/__mdnData.js on lines 4426..4438
packages/bredon-validate/src/data/__mdnData.js on lines 4453..4465
packages/bredon-validate/src/data/__mdnData.js on lines 4466..4479
packages/bredon-validate/src/data/__mdnData.js on lines 4533..4545
packages/bredon-validate/src/data/__mdnData.js on lines 4546..4558
packages/bredon-validate/src/data/__mdnData.js on lines 4559..4571
packages/bredon-validate/src/data/__mdnData.js on lines 4572..4584
packages/bredon-validate/src/data/__mdnData.js on lines 4585..4597
packages/bredon-validate/src/data/__mdnData.js on lines 4598..4610
packages/bredon-validate/src/data/__mdnData.js on lines 4611..4623
packages/bredon-validate/src/data/__mdnData.js on lines 4624..4636
packages/bredon-validate/src/data/__mdnData.js on lines 4637..4649
packages/bredon-validate/src/data/__mdnData.js on lines 4650..4662
packages/bredon-validate/src/data/__mdnData.js on lines 4663..4675
packages/bredon-validate/src/data/__mdnData.js on lines 4676..4688
packages/bredon-validate/src/data/__mdnData.js on lines 4689..4701
packages/bredon-validate/src/data/__mdnData.js on lines 4702..4714
packages/bredon-validate/src/data/__mdnData.js on lines 4715..4727
packages/bredon-validate/src/data/__mdnData.js on lines 4728..4740
packages/bredon-validate/src/data/__mdnData.js on lines 4755..4767
packages/bredon-validate/src/data/__mdnData.js on lines 4768..4780
packages/bredon-validate/src/data/__mdnData.js on lines 4836..4848
packages/bredon-validate/src/data/__mdnData.js on lines 4876..4888
packages/bredon-validate/src/data/__mdnData.js on lines 4889..4901
packages/bredon-validate/src/data/__mdnData.js on lines 4902..4915
packages/bredon-validate/src/data/__mdnData.js on lines 4916..4928
packages/bredon-validate/src/data/__mdnData.js on lines 4929..4941
packages/bredon-validate/src/data/__mdnData.js on lines 4942..4954
packages/bredon-validate/src/data/__mdnData.js on lines 4969..4981
packages/bredon-validate/src/data/__mdnData.js on lines 4996..5008
packages/bredon-validate/src/data/__mdnData.js on lines 5023..5035
packages/bredon-validate/src/data/__mdnData.js on lines 5049..5063
packages/bredon-validate/src/data/__mdnData.js on lines 5078..5090
packages/bredon-validate/src/data/__mdnData.js on lines 5091..5104
packages/bredon-validate/src/data/__mdnData.js on lines 5142..5154
packages/bredon-validate/src/data/__mdnData.js on lines 5155..5167
packages/bredon-validate/src/data/__mdnData.js on lines 5168..5180
packages/bredon-validate/src/data/__mdnData.js on lines 5181..5193
packages/bredon-validate/src/data/__mdnData.js on lines 5194..5207
packages/bredon-validate/src/data/__mdnData.js on lines 5208..5220
packages/bredon-validate/src/data/__mdnData.js on lines 5249..5261
packages/bredon-validate/src/data/__mdnData.js on lines 5289..5301
packages/bredon-validate/src/data/__mdnData.js on lines 5302..5314
packages/bredon-validate/src/data/__mdnData.js on lines 5329..5341
packages/bredon-validate/src/data/__mdnData.js on lines 5342..5355

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

  '-webkit-touch-callout': {
    syntax: 'default | none',
    media: 'visual',
    inherited: true,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 218 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 2..14
packages/bredon-validate/src/data/__mdnData.js on lines 29..41
packages/bredon-validate/src/data/__mdnData.js on lines 42..54
packages/bredon-validate/src/data/__mdnData.js on lines 55..67
packages/bredon-validate/src/data/__mdnData.js on lines 68..80
packages/bredon-validate/src/data/__mdnData.js on lines 81..93
packages/bredon-validate/src/data/__mdnData.js on lines 94..106
packages/bredon-validate/src/data/__mdnData.js on lines 107..119
packages/bredon-validate/src/data/__mdnData.js on lines 120..132
packages/bredon-validate/src/data/__mdnData.js on lines 133..145
packages/bredon-validate/src/data/__mdnData.js on lines 146..158
packages/bredon-validate/src/data/__mdnData.js on lines 192..204
packages/bredon-validate/src/data/__mdnData.js on lines 205..217
packages/bredon-validate/src/data/__mdnData.js on lines 218..230
packages/bredon-validate/src/data/__mdnData.js on lines 231..243
packages/bredon-validate/src/data/__mdnData.js on lines 244..256
packages/bredon-validate/src/data/__mdnData.js on lines 257..269
packages/bredon-validate/src/data/__mdnData.js on lines 270..283
packages/bredon-validate/src/data/__mdnData.js on lines 284..296
packages/bredon-validate/src/data/__mdnData.js on lines 297..309
packages/bredon-validate/src/data/__mdnData.js on lines 310..322
packages/bredon-validate/src/data/__mdnData.js on lines 323..335
packages/bredon-validate/src/data/__mdnData.js on lines 349..361
packages/bredon-validate/src/data/__mdnData.js on lines 362..374
packages/bredon-validate/src/data/__mdnData.js on lines 375..387
packages/bredon-validate/src/data/__mdnData.js on lines 388..400
packages/bredon-validate/src/data/__mdnData.js on lines 429..441
packages/bredon-validate/src/data/__mdnData.js on lines 442..455
packages/bredon-validate/src/data/__mdnData.js on lines 456..468
packages/bredon-validate/src/data/__mdnData.js on lines 469..481
packages/bredon-validate/src/data/__mdnData.js on lines 482..495
packages/bredon-validate/src/data/__mdnData.js on lines 496..508
packages/bredon-validate/src/data/__mdnData.js on lines 509..521
packages/bredon-validate/src/data/__mdnData.js on lines 522..534
packages/bredon-validate/src/data/__mdnData.js on lines 535..547
packages/bredon-validate/src/data/__mdnData.js on lines 548..560
packages/bredon-validate/src/data/__mdnData.js on lines 561..573
packages/bredon-validate/src/data/__mdnData.js on lines 574..586
packages/bredon-validate/src/data/__mdnData.js on lines 587..599
packages/bredon-validate/src/data/__mdnData.js on lines 600..612
packages/bredon-validate/src/data/__mdnData.js on lines 626..638
packages/bredon-validate/src/data/__mdnData.js on lines 639..651
packages/bredon-validate/src/data/__mdnData.js on lines 665..678
packages/bredon-validate/src/data/__mdnData.js on lines 679..691
packages/bredon-validate/src/data/__mdnData.js on lines 692..704
packages/bredon-validate/src/data/__mdnData.js on lines 749..761
packages/bredon-validate/src/data/__mdnData.js on lines 762..774
packages/bredon-validate/src/data/__mdnData.js on lines 775..787
packages/bredon-validate/src/data/__mdnData.js on lines 788..800
packages/bredon-validate/src/data/__mdnData.js on lines 801..813
packages/bredon-validate/src/data/__mdnData.js on lines 814..826
packages/bredon-validate/src/data/__mdnData.js on lines 827..839
packages/bredon-validate/src/data/__mdnData.js on lines 840..852
packages/bredon-validate/src/data/__mdnData.js on lines 880..892
packages/bredon-validate/src/data/__mdnData.js on lines 893..905
packages/bredon-validate/src/data/__mdnData.js on lines 1045..1059
packages/bredon-validate/src/data/__mdnData.js on lines 1060..1074
packages/bredon-validate/src/data/__mdnData.js on lines 1103..1115
packages/bredon-validate/src/data/__mdnData.js on lines 1143..1155
packages/bredon-validate/src/data/__mdnData.js on lines 1156..1168
packages/bredon-validate/src/data/__mdnData.js on lines 1169..1181
packages/bredon-validate/src/data/__mdnData.js on lines 1195..1207
packages/bredon-validate/src/data/__mdnData.js on lines 1208..1220
packages/bredon-validate/src/data/__mdnData.js on lines 1221..1233
packages/bredon-validate/src/data/__mdnData.js on lines 1330..1342
packages/bredon-validate/src/data/__mdnData.js on lines 1482..1494
packages/bredon-validate/src/data/__mdnData.js on lines 1495..1507
packages/bredon-validate/src/data/__mdnData.js on lines 1508..1520
packages/bredon-validate/src/data/__mdnData.js on lines 1534..1546
packages/bredon-validate/src/data/__mdnData.js on lines 1547..1559
packages/bredon-validate/src/data/__mdnData.js on lines 1560..1572
packages/bredon-validate/src/data/__mdnData.js on lines 1726..1738
packages/bredon-validate/src/data/__mdnData.js on lines 1902..1914
packages/bredon-validate/src/data/__mdnData.js on lines 2020..2032
packages/bredon-validate/src/data/__mdnData.js on lines 2074..2087
packages/bredon-validate/src/data/__mdnData.js on lines 2088..2100
packages/bredon-validate/src/data/__mdnData.js on lines 2127..2139
packages/bredon-validate/src/data/__mdnData.js on lines 2154..2166
packages/bredon-validate/src/data/__mdnData.js on lines 2167..2179
packages/bredon-validate/src/data/__mdnData.js on lines 2180..2192
packages/bredon-validate/src/data/__mdnData.js on lines 2211..2223
packages/bredon-validate/src/data/__mdnData.js on lines 2224..2236
packages/bredon-validate/src/data/__mdnData.js on lines 2237..2249
packages/bredon-validate/src/data/__mdnData.js on lines 2250..2262
packages/bredon-validate/src/data/__mdnData.js on lines 2263..2275
packages/bredon-validate/src/data/__mdnData.js on lines 2316..2328
packages/bredon-validate/src/data/__mdnData.js on lines 2329..2341
packages/bredon-validate/src/data/__mdnData.js on lines 2384..2396
packages/bredon-validate/src/data/__mdnData.js on lines 2397..2409
packages/bredon-validate/src/data/__mdnData.js on lines 2410..2423
packages/bredon-validate/src/data/__mdnData.js on lines 2424..2436
packages/bredon-validate/src/data/__mdnData.js on lines 2463..2475
packages/bredon-validate/src/data/__mdnData.js on lines 2476..2488
packages/bredon-validate/src/data/__mdnData.js on lines 2502..2514
packages/bredon-validate/src/data/__mdnData.js on lines 2515..2527
packages/bredon-validate/src/data/__mdnData.js on lines 2528..2540
packages/bredon-validate/src/data/__mdnData.js on lines 2913..2925
packages/bredon-validate/src/data/__mdnData.js on lines 2926..2938
packages/bredon-validate/src/data/__mdnData.js on lines 2939..2951
packages/bredon-validate/src/data/__mdnData.js on lines 2965..2977
packages/bredon-validate/src/data/__mdnData.js on lines 2978..2990
packages/bredon-validate/src/data/__mdnData.js on lines 2991..3003
packages/bredon-validate/src/data/__mdnData.js on lines 3030..3042
packages/bredon-validate/src/data/__mdnData.js on lines 3043..3055
packages/bredon-validate/src/data/__mdnData.js on lines 3056..3068
packages/bredon-validate/src/data/__mdnData.js on lines 3091..3103
packages/bredon-validate/src/data/__mdnData.js on lines 3104..3116
packages/bredon-validate/src/data/__mdnData.js on lines 3117..3129
packages/bredon-validate/src/data/__mdnData.js on lines 3130..3142
packages/bredon-validate/src/data/__mdnData.js on lines 3171..3183
packages/bredon-validate/src/data/__mdnData.js on lines 3184..3196
packages/bredon-validate/src/data/__mdnData.js on lines 3197..3209
packages/bredon-validate/src/data/__mdnData.js on lines 3210..3222
packages/bredon-validate/src/data/__mdnData.js on lines 3223..3235
packages/bredon-validate/src/data/__mdnData.js on lines 3236..3248
packages/bredon-validate/src/data/__mdnData.js on lines 3249..3261
packages/bredon-validate/src/data/__mdnData.js on lines 3275..3288
packages/bredon-validate/src/data/__mdnData.js on lines 3316..3328
packages/bredon-validate/src/data/__mdnData.js on lines 3343..3355
packages/bredon-validate/src/data/__mdnData.js on lines 3370..3382
packages/bredon-validate/src/data/__mdnData.js on lines 3383..3395
packages/bredon-validate/src/data/__mdnData.js on lines 3396..3408
packages/bredon-validate/src/data/__mdnData.js on lines 3423..3435
packages/bredon-validate/src/data/__mdnData.js on lines 3436..3448
packages/bredon-validate/src/data/__mdnData.js on lines 3463..3475
packages/bredon-validate/src/data/__mdnData.js on lines 3476..3488
packages/bredon-validate/src/data/__mdnData.js on lines 3608..3620
packages/bredon-validate/src/data/__mdnData.js on lines 3621..3633
packages/bredon-validate/src/data/__mdnData.js on lines 3634..3646
packages/bredon-validate/src/data/__mdnData.js on lines 3647..3659
packages/bredon-validate/src/data/__mdnData.js on lines 3660..3672
packages/bredon-validate/src/data/__mdnData.js on lines 3673..3685
packages/bredon-validate/src/data/__mdnData.js on lines 3686..3698
packages/bredon-validate/src/data/__mdnData.js on lines 3699..3711
packages/bredon-validate/src/data/__mdnData.js on lines 3712..3724
packages/bredon-validate/src/data/__mdnData.js on lines 3725..3737
packages/bredon-validate/src/data/__mdnData.js on lines 3738..3750
packages/bredon-validate/src/data/__mdnData.js on lines 3751..3763
packages/bredon-validate/src/data/__mdnData.js on lines 3764..3776
packages/bredon-validate/src/data/__mdnData.js on lines 3777..3789
packages/bredon-validate/src/data/__mdnData.js on lines 3790..3802
packages/bredon-validate/src/data/__mdnData.js on lines 3803..3815
packages/bredon-validate/src/data/__mdnData.js on lines 3816..3829
packages/bredon-validate/src/data/__mdnData.js on lines 3830..3842
packages/bredon-validate/src/data/__mdnData.js on lines 3843..3856
packages/bredon-validate/src/data/__mdnData.js on lines 3857..3869
packages/bredon-validate/src/data/__mdnData.js on lines 3870..3883
packages/bredon-validate/src/data/__mdnData.js on lines 3884..3896
packages/bredon-validate/src/data/__mdnData.js on lines 3897..3910
packages/bredon-validate/src/data/__mdnData.js on lines 3925..3937
packages/bredon-validate/src/data/__mdnData.js on lines 3938..3950
packages/bredon-validate/src/data/__mdnData.js on lines 3984..3996
packages/bredon-validate/src/data/__mdnData.js on lines 3997..4009
packages/bredon-validate/src/data/__mdnData.js on lines 4010..4022
packages/bredon-validate/src/data/__mdnData.js on lines 4023..4035
packages/bredon-validate/src/data/__mdnData.js on lines 4036..4048
packages/bredon-validate/src/data/__mdnData.js on lines 4049..4061
packages/bredon-validate/src/data/__mdnData.js on lines 4077..4089
packages/bredon-validate/src/data/__mdnData.js on lines 4090..4102
packages/bredon-validate/src/data/__mdnData.js on lines 4156..4168
packages/bredon-validate/src/data/__mdnData.js on lines 4169..4181
packages/bredon-validate/src/data/__mdnData.js on lines 4182..4194
packages/bredon-validate/src/data/__mdnData.js on lines 4195..4207
packages/bredon-validate/src/data/__mdnData.js on lines 4221..4233
packages/bredon-validate/src/data/__mdnData.js on lines 4234..4246
packages/bredon-validate/src/data/__mdnData.js on lines 4247..4259
packages/bredon-validate/src/data/__mdnData.js on lines 4260..4272
packages/bredon-validate/src/data/__mdnData.js on lines 4292..4304
packages/bredon-validate/src/data/__mdnData.js on lines 4305..4317
packages/bredon-validate/src/data/__mdnData.js on lines 4332..4344
packages/bredon-validate/src/data/__mdnData.js on lines 4345..4357
packages/bredon-validate/src/data/__mdnData.js on lines 4400..4412
packages/bredon-validate/src/data/__mdnData.js on lines 4413..4425
packages/bredon-validate/src/data/__mdnData.js on lines 4426..4438
packages/bredon-validate/src/data/__mdnData.js on lines 4453..4465
packages/bredon-validate/src/data/__mdnData.js on lines 4466..4479
packages/bredon-validate/src/data/__mdnData.js on lines 4533..4545
packages/bredon-validate/src/data/__mdnData.js on lines 4546..4558
packages/bredon-validate/src/data/__mdnData.js on lines 4559..4571
packages/bredon-validate/src/data/__mdnData.js on lines 4572..4584
packages/bredon-validate/src/data/__mdnData.js on lines 4585..4597
packages/bredon-validate/src/data/__mdnData.js on lines 4598..4610
packages/bredon-validate/src/data/__mdnData.js on lines 4611..4623
packages/bredon-validate/src/data/__mdnData.js on lines 4624..4636
packages/bredon-validate/src/data/__mdnData.js on lines 4637..4649
packages/bredon-validate/src/data/__mdnData.js on lines 4650..4662
packages/bredon-validate/src/data/__mdnData.js on lines 4663..4675
packages/bredon-validate/src/data/__mdnData.js on lines 4676..4688
packages/bredon-validate/src/data/__mdnData.js on lines 4689..4701
packages/bredon-validate/src/data/__mdnData.js on lines 4702..4714
packages/bredon-validate/src/data/__mdnData.js on lines 4715..4727
packages/bredon-validate/src/data/__mdnData.js on lines 4728..4740
packages/bredon-validate/src/data/__mdnData.js on lines 4755..4767
packages/bredon-validate/src/data/__mdnData.js on lines 4768..4780
packages/bredon-validate/src/data/__mdnData.js on lines 4836..4848
packages/bredon-validate/src/data/__mdnData.js on lines 4876..4888
packages/bredon-validate/src/data/__mdnData.js on lines 4889..4901
packages/bredon-validate/src/data/__mdnData.js on lines 4902..4915
packages/bredon-validate/src/data/__mdnData.js on lines 4916..4928
packages/bredon-validate/src/data/__mdnData.js on lines 4929..4941
packages/bredon-validate/src/data/__mdnData.js on lines 4942..4954
packages/bredon-validate/src/data/__mdnData.js on lines 4969..4981
packages/bredon-validate/src/data/__mdnData.js on lines 4996..5008
packages/bredon-validate/src/data/__mdnData.js on lines 5023..5035
packages/bredon-validate/src/data/__mdnData.js on lines 5049..5063
packages/bredon-validate/src/data/__mdnData.js on lines 5078..5090
packages/bredon-validate/src/data/__mdnData.js on lines 5091..5104
packages/bredon-validate/src/data/__mdnData.js on lines 5142..5154
packages/bredon-validate/src/data/__mdnData.js on lines 5155..5167
packages/bredon-validate/src/data/__mdnData.js on lines 5168..5180
packages/bredon-validate/src/data/__mdnData.js on lines 5181..5193
packages/bredon-validate/src/data/__mdnData.js on lines 5194..5207
packages/bredon-validate/src/data/__mdnData.js on lines 5208..5220
packages/bredon-validate/src/data/__mdnData.js on lines 5249..5261
packages/bredon-validate/src/data/__mdnData.js on lines 5289..5301
packages/bredon-validate/src/data/__mdnData.js on lines 5302..5314
packages/bredon-validate/src/data/__mdnData.js on lines 5329..5341
packages/bredon-validate/src/data/__mdnData.js on lines 5342..5355

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

  'box-sizing': {
    syntax: 'content-box | border-box',
    media: 'visual',
    inherited: false,
    animationType: 'discrete',
Severity: Major
Found in packages/bredon-validate/src/data/__mdnData.js and 218 other locations - About 1 hr to fix
packages/bredon-validate/src/data/__mdnData.js on lines 2..14
packages/bredon-validate/src/data/__mdnData.js on lines 29..41
packages/bredon-validate/src/data/__mdnData.js on lines 42..54
packages/bredon-validate/src/data/__mdnData.js on lines 55..67
packages/bredon-validate/src/data/__mdnData.js on lines 68..80
packages/bredon-validate/src/data/__mdnData.js on lines 81..93
packages/bredon-validate/src/data/__mdnData.js on lines 94..106
packages/bredon-validate/src/data/__mdnData.js on lines 107..119
packages/bredon-validate/src/data/__mdnData.js on lines 120..132
packages/bredon-validate/src/data/__mdnData.js on lines 133..145
packages/bredon-validate/src/data/__mdnData.js on lines 146..158
packages/bredon-validate/src/data/__mdnData.js on lines 192..204
packages/bredon-validate/src/data/__mdnData.js on lines 205..217
packages/bredon-validate/src/data/__mdnData.js on lines 218..230
packages/bredon-validate/src/data/__mdnData.js on lines 231..243
packages/bredon-validate/src/data/__mdnData.js on lines 244..256
packages/bredon-validate/src/data/__mdnData.js on lines 257..269
packages/bredon-validate/src/data/__mdnData.js on lines 270..283
packages/bredon-validate/src/data/__mdnData.js on lines 284..296
packages/bredon-validate/src/data/__mdnData.js on lines 297..309
packages/bredon-validate/src/data/__mdnData.js on lines 310..322
packages/bredon-validate/src/data/__mdnData.js on lines 323..335
packages/bredon-validate/src/data/__mdnData.js on lines 349..361
packages/bredon-validate/src/data/__mdnData.js on lines 362..374
packages/bredon-validate/src/data/__mdnData.js on lines 375..387
packages/bredon-validate/src/data/__mdnData.js on lines 388..400
packages/bredon-validate/src/data/__mdnData.js on lines 429..441
packages/bredon-validate/src/data/__mdnData.js on lines 442..455
packages/bredon-validate/src/data/__mdnData.js on lines 456..468
packages/bredon-validate/src/data/__mdnData.js on lines 469..481
packages/bredon-validate/src/data/__mdnData.js on lines 482..495
packages/bredon-validate/src/data/__mdnData.js on lines 496..508
packages/bredon-validate/src/data/__mdnData.js on lines 509..521
packages/bredon-validate/src/data/__mdnData.js on lines 522..534
packages/bredon-validate/src/data/__mdnData.js on lines 535..547
packages/bredon-validate/src/data/__mdnData.js on lines 548..560
packages/bredon-validate/src/data/__mdnData.js on lines 561..573
packages/bredon-validate/src/data/__mdnData.js on lines 574..586
packages/bredon-validate/src/data/__mdnData.js on lines 587..599
packages/bredon-validate/src/data/__mdnData.js on lines 600..612
packages/bredon-validate/src/data/__mdnData.js on lines 626..638
packages/bredon-validate/src/data/__mdnData.js on lines 639..651
packages/bredon-validate/src/data/__mdnData.js on lines 652..664
packages/bredon-validate/src/data/__mdnData.js on lines 665..678
packages/bredon-validate/src/data/__mdnData.js on lines 679..691
packages/bredon-validate/src/data/__mdnData.js on lines 692..704
packages/bredon-validate/src/data/__mdnData.js on lines 749..761
packages/bredon-validate/src/data/__mdnData.js on lines 762..774
packages/bredon-validate/src/data/__mdnData.js on lines 775..787
packages/bredon-validate/src/data/__mdnData.js on lines 788..800
packages/bredon-validate/src/data/__mdnData.js on lines 801..813
packages/bredon-validate/src/data/__mdnData.js on lines 814..826
packages/bredon-validate/src/data/__mdnData.js on lines 827..839
packages/bredon-validate/src/data/__mdnData.js on lines 840..852
packages/bredon-validate/src/data/__mdnData.js on lines 880..892
packages/bredon-validate/src/data/__mdnData.js on lines 893..905
packages/bredon-validate/src/data/__mdnData.js on lines 1045..1059
packages/bredon-validate/src/data/__mdnData.js on lines 1060..1074
packages/bredon-validate/src/data/__mdnData.js on lines 1103..1115
packages/bredon-validate/src/data/__mdnData.js on lines 1143..1155
packages/bredon-validate/src/data/__mdnData.js on lines 1156..1168
packages/bredon-validate/src/data/__mdnData.js on lines 1169..1181
packages/bredon-validate/src/data/__mdnData.js on lines 1195..1207
packages/bredon-validate/src/data/__mdnData.js on lines 1208..1220
packages/bredon-validate/src/data/__mdnData.js on lines 1221..1233
packages/bredon-validate/src/data/__mdnData.js on lines 1330..1342
packages/bredon-validate/src/data/__mdnData.js on lines 1482..1494
packages/bredon-validate/src/data/__mdnData.js on lines 1495..1507
packages/bredon-validate/src/data/__mdnData.js on lines 1508..1520
packages/bredon-validate/src/data/__mdnData.js on lines 1534..1546
packages/bredon-validate/src/data/__mdnData.js on lines 1547..1559
packages/bredon-validate/src/data/__mdnData.js on lines 1560..1572
packages/bredon-validate/src/data/__mdnData.js on lines 1726..1738
packages/bredon-validate/src/data/__mdnData.js on lines 1902..1914
packages/bredon-validate/src/data/__mdnData.js on lines 2074..2087
packages/bredon-validate/src/data/__mdnData.js on lines 2088..2100
packages/bredon-validate/src/data/__mdnData.js on lines 2127..2139
packages/bredon-validate/src/data/__mdnData.js on lines 2154..2166
packages/bredon-validate/src/data/__mdnData.js on lines 2167..2179
packages/bredon-validate/src/data/__mdnData.js on lines 2180..2192
packages/bredon-validate/src/data/__mdnData.js on lines 2211..2223
packages/bredon-validate/src/data/__mdnData.js on lines 2224..2236
packages/bredon-validate/src/data/__mdnData.js on lines 2237..2249
packages/bredon-validate/src/data/__mdnData.js on lines 2250..2262
packages/bredon-validate/src/data/__mdnData.js on lines 2263..2275
packages/bredon-validate/src/data/__mdnData.js on lines 2316..2328
packages/bredon-validate/src/data/__mdnData.js on lines 2329..2341
packages/bredon-validate/src/data/__mdnData.js on lines 2384..2396
packages/bredon-validate/src/data/__mdnData.js on lines 2397..2409
packages/bredon-validate/src/data/__mdnData.js on lines 2410..2423
packages/bredon-validate/src/data/__mdnData.js on lines 2424..2436
packages/bredon-validate/src/data/__mdnData.js on lines 2463..2475
packages/bredon-validate/src/data/__mdnData.js on lines 2476..2488
packages/bredon-validate/src/data/__mdnData.js on lines 2502..2514
packages/bredon-validate/src/data/__mdnData.js on lines 2515..2527
packages/bredon-validate/src/data/__mdnData.js on lines 2528..2540
packages/bredon-validate/src/data/__mdnData.js on lines 2913..2925
packages/bredon-validate/src/data/__mdnData.js on lines 2926..2938
packages/bredon-validate/src/data/__mdnData.js on lines 2939..2951
packages/bredon-validate/src/data/__mdnData.js on lines 2965..2977
packages/bredon-validate/src/data/__mdnData.js on lines 2978..2990
packages/bredon-validate/src/data/__mdnData.js on lines 2991..3003
packages/bredon-validate/src/data/__mdnData.js on lines 3030..3042
packages/bredon-validate/src/data/__mdnData.js on lines 3043..3055
packages/bredon-validate/src/data/__mdnData.js on lines 3056..3068
packages/bredon-validate/src/data/__mdnData.js on lines 3091..3103
packages/bredon-validate/src/data/__mdnData.js on lines 3104..3116
packages/bredon-validate/src/data/__mdnData.js on lines 3117..3129
packages/bredon-validate/src/data/__mdnData.js on lines 3130..3142
packages/bredon-validate/src/data/__mdnData.js on lines 3171..3183
packages/bredon-validate/src/data/__mdnData.js on lines 3184..3196
packages/bredon-validate/src/data/__mdnData.js on lines 3197..3209
packages/bredon-validate/src/data/__mdnData.js on lines 3210..3222
packages/bredon-validate/src/data/__mdnData.js on lines 3223..3235
packages/bredon-validate/src/data/__mdnData.js on lines 3236..3248
packages/bredon-validate/src/data/__mdnData.js on lines 3249..3261
packages/bredon-validate/src/data/__mdnData.js on lines 3275..3288
packages/bredon-validate/src/data/__mdnData.js on lines 3316..3328
packages/bredon-validate/src/data/__mdnData.js on lines 3343..3355
packages/bredon-validate/src/data/__mdnData.js on lines 3370..3382
packages/bredon-validate/src/data/__mdnData.js on lines 3383..3395
packages/bredon-validate/src/data/__mdnData.js on lines 3396..3408
packages/bredon-validate/src/data/__mdnData.js on lines 3423..3435
packages/bredon-validate/src/data/__mdnData.js on lines 3436..3448
packages/bredon-validate/src/data/__mdnData.js on lines 3463..3475
packages/bredon-validate/src/data/__mdnData.js on lines 3476..3488
packages/bredon-validate/src/data/__mdnData.js on lines 3608..3620
packages/bredon-validate/src/data/__mdnData.js on lines 3621..3633
packages/bredon-validate/src/data/__mdnData.js on lines 3634..3646
packages/bredon-validate/src/data/__mdnData.js on lines 3647..3659
packages/bredon-validate/src/data/__mdnData.js on lines 3660..3672
packages/bredon-validate/src/data/__mdnData.js on lines 3673..3685
packages/bredon-validate/src/data/__mdnData.js on lines 3686..3698
packages/bredon-validate/src/data/__mdnData.js on lines 3699..3711
packages/bredon-validate/src/data/__mdnData.js on lines 3712..3724
packages/bredon-validate/src/data/__mdnData.js on lines 3725..3737
packages/bredon-validate/src/data/__mdnData.js on lines 3738..3750
packages/bredon-validate/src/data/__mdnData.js on lines 3751..3763
packages/bredon-validate/src/data/__mdnData.js on lines 3764..3776
packages/bredon-validate/src/data/__mdnData.js on lines 3777..3789
packages/bredon-validate/src/data/__mdnData.js on lines 3790..3802
packages/bredon-validate/src/data/__mdnData.js on lines 3803..3815
packages/bredon-validate/src/data/__mdnData.js on lines 3816..3829
packages/bredon-validate/src/data/__mdnData.js on lines 3830..3842
packages/bredon-validate/src/data/__mdnData.js on lines 3843..3856
packages/bredon-validate/src/data/__mdnData.js on lines 3857..3869
packages/bredon-validate/src/data/__mdnData.js on lines 3870..3883
packages/bredon-validate/src/data/__mdnData.js on lines 3884..3896
packages/bredon-validate/src/data/__mdnData.js on lines 3897..3910
packages/bredon-validate/src/data/__mdnData.js on lines 3925..3937
packages/bredon-validate/src/data/__mdnData.js on lines 3938..3950
packages/bredon-validate/src/data/__mdnData.js on lines 3984..3996
packages/bredon-validate/src/data/__mdnData.js on lines 3997..4009
packages/bredon-validate/src/data/__mdnData.js on lines 4010..4022
packages/bredon-validate/src/data/__mdnData.js on lines 4023..4035
packages/bredon-validate/src/data/__mdnData.js on lines 4036..4048
packages/bredon-validate/src/data/__mdnData.js on lines 4049..4061
packages/bredon-validate/src/data/__mdnData.js on lines 4077..4089
packages/bredon-validate/src/data/__mdnData.js on lines 4090..4102
packages/bredon-validate/src/data/__mdnData.js on lines 4156..4168
packages/bredon-validate/src/data/__mdnData.js on lines 4169..4181
packages/bredon-validate/src/data/__mdnData.js on lines 4182..4194
packages/bredon-validate/src/data/__mdnData.js on lines 4195..4207
packages/bredon-validate/src/data/__mdnData.js on lines 4221..4233
packages/bredon-validate/src/data/__mdnData.js on lines 4234..4246
packages/bredon-validate/src/data/__mdnData.js on lines 4247..4259
packages/bredon-validate/src/data/__mdnData.js on lines 4260..4272
packages/bredon-validate/src/data/__mdnData.js on lines 4292..4304
packages/bredon-validate/src/data/__mdnData.js on lines 4305..4317
packages/bredon-validate/src/data/__mdnData.js on lines 4332..4344
packages/bredon-validate/src/data/__mdnData.js on lines 4345..4357
packages/bredon-validate/src/data/__mdnData.js on lines 4400..4412
packages/bredon-validate/src/data/__mdnData.js on lines 4413..4425
packages/bredon-validate/src/data/__mdnData.js on lines 4426..4438
packages/bredon-validate/src/data/__mdnData.js on lines 4453..4465
packages/bredon-validate/src/data/__mdnData.js on lines 4466..4479
packages/bredon-validate/src/data/__mdnData.js on lines 4533..4545
packages/bredon-validate/src/data/__mdnData.js on lines 4546..4558
packages/bredon-validate/src/data/__mdnData.js on lines 4559..4571
packages/bredon-validate/src/data/__mdnData.js on lines 4572..4584
packages/bredon-validate/src/data/__mdnData.js on lines 4585..4597
packages/bredon-validate/src/data/__mdnData.js on lines 4598..4610
packages/bredon-validate/src/data/__mdnData.js on lines 4611..4623
packages/bredon-validate/src/data/__mdnData.js on lines 4624..4636
packages/bredon-validate/src/data/__mdnData.js on lines 4637..4649
packages/bredon-validate/src/data/__mdnData.js on lines 4650..4662
packages/bredon-validate/src/data/__mdnData.js on lines 4663..4675
packages/bredon-validate/src/data/__mdnData.js on lines 4676..4688
packages/bredon-validate/src/data/__mdnData.js on lines 4689..4701
packages/bredon-validate/src/data/__mdnData.js on lines 4702..4714
packages/bredon-validate/src/data/__mdnData.js on lines 4715..4727
packages/bredon-validate/src/data/__mdnData.js on lines 4728..4740
packages/bredon-validate/src/data/__mdnData.js on lines 4755..4767
packages/bredon-validate/src/data/__mdnData.js on lines 4768..4780
packages/bredon-validate/src/data/__mdnData.js on lines 4836..4848
packages/bredon-validate/src/data/__mdnData.js on lines 4876..4888
packages/bredon-validate/src/data/__mdnData.js on lines 4889..4901
packages/bredon-validate/src/data/__mdnData.js on lines 4902..4915
packages/bredon-validate/src/data/__mdnData.js on lines 4916..4928
packages/bredon-validate/src/data/__mdnData.js on lines 4929..4941
packages/bredon-validate/src/data/__mdnData.js on lines 4942..4954
packages/bredon-validate/src/data/__mdnData.js on lines 4969..4981
packages/bredon-validate/src/data/__mdnData.js on lines 4996..5008
packages/bredon-validate/src/data/__mdnData.js on lines 5023..5035
packages/bredon-validate/src/data/__mdnData.js on lines 5049..5063
packages/bredon-validate/src/data/__mdnData.js on lines 5078..5090
packages/bredon-validate/src/data/__mdnData.js on lines 5091..5104
packages/bredon-validate/src/data/__mdnData.js on lines 5142..5154
packages/bredon-validate/src/data/__mdnData.js on lines 5155..5167
packages/bredon-validate/src/data/__mdnData.js on lines 5168..5180
packages/bredon-validate/src/data/__mdnData.js on lines 5181..5193
packages/bredon-validate/src/data/__mdnData.js on lines 5194..5207
packages/bredon-validate/src/data/__mdnData.js on lines 5208..5220
packages/bredon-validate/src/data/__mdnData.js on lines 5249..5261
packages/bredon-validate/src/data/__mdnData.js on lines 5289..5301
packages/bredon-validate/src/data/__mdnData.js on lines 5302..5314
packages/bredon-validate/src/data/__mdnData.js on lines 5329..5341
packages/bredon-validate/src/data/__mdnData.js on lines 5342..5355

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

Severity
Category
Status
Source
Language