teamdigitale/italia-app

View on GitHub
ts/features/design-system/navigation/navigator.tsx

Summary

Maintainability
F
1 wk
Test Coverage

Function DesignSystemNavigator has 439 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const DesignSystemNavigator = () => {
  const { isExperimental } = useIOExperimentalDesign();
  const { themeType } = useIOThemeContext();

  const customHeaderConf: StackNavigationOptions = {
Severity: Major
Found in ts/features/design-system/navigation/navigator.tsx - About 2 days to fix

    File navigator.tsx has 588 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    import {
      IOVisualCostants,
      IconButton,
      useIOExperimentalDesign,
      useIOThemeContext
    Severity: Major
    Found in ts/features/design-system/navigation/navigator.tsx - About 1 day to fix

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS_INLINE.route}
                component={DSFooterActionsInline}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS_INLINE.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.ALERT.route}
                component={DSAlert}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.ALERT.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.TYPOGRAPHY.route}
                component={DSLegacyTypography}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.TYPOGRAPHY.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.STEPPER.route}
                component={DSStepper}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.STEPPER.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.BADGES.route}
                component={DSLegacyBadges}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.BADGES.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.ACCORDION.route}
                component={DSLegacyAccordion}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.ACCORDION.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.PICTOGRAMS.route}
                component={DSPictograms}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.PICTOGRAMS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.MODULES.route}
                component={DSModules}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.MODULES.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.ADVICE.route}
                component={DSAdvice}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.ADVICE.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.IO_MARKDOWN.route}
                component={DSIOMarkdown}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.IO_MARKDOWN.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS_STICKY.route}
                component={DSFooterActionsSticky}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS_STICKY.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.LIST_ITEMS.route}
                component={DSLegacyListItems}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.LIST_ITEMS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.BUTTONS.route}
                component={DSButtons}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.BUTTONS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.TEXT_FIELDS.route}
                component={DSTextFields}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.TEXT_FIELDS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.SCREEN_END_MARGIN.route}
                component={DSScreenEndMargin}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.DEBUG.SCREEN_END_MARGIN.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.LOADERS.route}
                component={DSLoaders}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.LOADERS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.PICTOGRAMS.route}
                component={DSLegacyPictograms}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.PICTOGRAMS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.HAPTIC_FEEDBACK.route}
                component={DSHapticFeedback}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.HAPTIC_FEEDBACK.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.WALLET.route}
                component={DSWallet}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.WALLET.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={
                  DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS_INLINE_NOT_FIXED.route
                }
                component={DSFooterActionsInlineNotFixed}
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.BUTTONS.route}
                component={DSLegacyButtons}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.BUTTONS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.ADVICE.route}
                component={DSLegacyAdvice}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.ADVICE.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.LAYOUT.route}
                component={DSLayout}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.LAYOUT.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.SELECTION.route}
                component={DSSelection}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.SELECTION.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.BADGE.route}
                component={DSBadges}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.BADGE.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.SCREENS.IOSCROLLVIEW.route}
                component={DSIOScrollView}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.SCREENS.IOSCROLLVIEW.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.SELECTION.route}
                component={DSLegacySelection}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.SELECTION.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.ICONS.route}
                component={DSIcons}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.ICONS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.ACCORDION.route}
                component={DSAccordion}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.ACCORDION.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.EXPERIMENTAL_LAB.ANIMATED_PICTOGRAMS.route}
                component={DSAnimatedPictograms}
                options={{
                  headerTitle:
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.TEXT_FIELDS.route}
                component={DSLegacyTextFields}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.TEXT_FIELDS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.TOASTS.route}
                component={DSToastNotifications}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.TOASTS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.BOTTOM_SHEET.route}
                component={DSBottomSheet}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.BOTTOM_SHEET.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.LOGOS.route}
                component={DSLogos}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.LOGOS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.CARDS.route}
                component={DSCards}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.CARDS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.OTP_INPUT.route}
                component={DSOTPInput}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.OTP_INPUT.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.SCREENS.IOSCROLLVIEW_WO_ACTIONS.route}
                component={DSIOScrollViewWithoutActions}
                options={{
                  headerTitle:
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS_NOT_FIXED.route}
                component={DSFooterActionsNotFixed}
                options={{
                  headerTitle:
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.TAB_NAVIGATION.route}
                component={DSTabNavigation}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.TAB_NAVIGATION.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.LEGACY.ALERT.route}
                component={DSLegacyAlert}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.LEGACY.ALERT.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.COLOR.route}
                component={DSColors}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.COLOR.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.FOUNDATION.TYPOGRAPHY.route}
                component={DSTypography}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.FOUNDATION.TYPOGRAPHY.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.COMPONENTS.LIST_ITEMS.route}
                component={DSListItems}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.COMPONENTS.LIST_ITEMS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.SCREENS.IOSCROLLVIEW_LARGEHEADER.route}
                component={DSIOScrollViewScreenWithLargeHeader}
                options={{
                  headerTitle:
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 515..521
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS.route}
                component={DSFooterActions}
                options={{
                  headerTitle: DESIGN_SYSTEM_ROUTES.DEBUG.FOOTER_ACTIONS.title
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 44 other locations - About 1 hr to fix
      ts/features/design-system/navigation/navigator.tsx on lines 189..195
      ts/features/design-system/navigation/navigator.tsx on lines 197..203
      ts/features/design-system/navigation/navigator.tsx on lines 205..211
      ts/features/design-system/navigation/navigator.tsx on lines 213..219
      ts/features/design-system/navigation/navigator.tsx on lines 221..227
      ts/features/design-system/navigation/navigator.tsx on lines 229..235
      ts/features/design-system/navigation/navigator.tsx on lines 237..243
      ts/features/design-system/navigation/navigator.tsx on lines 245..251
      ts/features/design-system/navigation/navigator.tsx on lines 254..260
      ts/features/design-system/navigation/navigator.tsx on lines 262..268
      ts/features/design-system/navigation/navigator.tsx on lines 270..276
      ts/features/design-system/navigation/navigator.tsx on lines 278..284
      ts/features/design-system/navigation/navigator.tsx on lines 286..292
      ts/features/design-system/navigation/navigator.tsx on lines 294..300
      ts/features/design-system/navigation/navigator.tsx on lines 302..308
      ts/features/design-system/navigation/navigator.tsx on lines 309..315
      ts/features/design-system/navigation/navigator.tsx on lines 317..323
      ts/features/design-system/navigation/navigator.tsx on lines 325..331
      ts/features/design-system/navigation/navigator.tsx on lines 333..339
      ts/features/design-system/navigation/navigator.tsx on lines 341..347
      ts/features/design-system/navigation/navigator.tsx on lines 349..355
      ts/features/design-system/navigation/navigator.tsx on lines 357..363
      ts/features/design-system/navigation/navigator.tsx on lines 365..371
      ts/features/design-system/navigation/navigator.tsx on lines 373..379
      ts/features/design-system/navigation/navigator.tsx on lines 381..387
      ts/features/design-system/navigation/navigator.tsx on lines 391..398
      ts/features/design-system/navigation/navigator.tsx on lines 439..445
      ts/features/design-system/navigation/navigator.tsx on lines 447..454
      ts/features/design-system/navigation/navigator.tsx on lines 456..463
      ts/features/design-system/navigation/navigator.tsx on lines 507..513
      ts/features/design-system/navigation/navigator.tsx on lines 523..529
      ts/features/design-system/navigation/navigator.tsx on lines 531..538
      ts/features/design-system/navigation/navigator.tsx on lines 540..546
      ts/features/design-system/navigation/navigator.tsx on lines 548..557
      ts/features/design-system/navigation/navigator.tsx on lines 580..586
      ts/features/design-system/navigation/navigator.tsx on lines 588..594
      ts/features/design-system/navigation/navigator.tsx on lines 596..602
      ts/features/design-system/navigation/navigator.tsx on lines 604..610
      ts/features/design-system/navigation/navigator.tsx on lines 612..618
      ts/features/design-system/navigation/navigator.tsx on lines 620..626
      ts/features/design-system/navigation/navigator.tsx on lines 628..634
      ts/features/design-system/navigation/navigator.tsx on lines 636..642
      ts/features/design-system/navigation/navigator.tsx on lines 644..650
      ts/features/design-system/navigation/navigator.tsx on lines 652..658

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.SCREENS.OPERATION_RESULT.route}
                component={DSScreenOperationResult}
                options={{ headerShown: false }}
              />
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 6 other locations - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 465..469
      ts/features/design-system/navigation/navigator.tsx on lines 471..475
      ts/features/design-system/navigation/navigator.tsx on lines 482..486
      ts/features/design-system/navigation/navigator.tsx on lines 489..493
      ts/features/design-system/navigation/navigator.tsx on lines 495..499
      ts/features/design-system/navigation/navigator.tsx on lines 501..505

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

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.SCREENS.IOSCROLLVIEW_WITH_LIST_ITEMS.route}
                component={DSIOScrollViewWithListItems}
                options={{ headerShown: true }}
              />
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 6 other locations - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 433..437
      ts/features/design-system/navigation/navigator.tsx on lines 465..469
      ts/features/design-system/navigation/navigator.tsx on lines 482..486
      ts/features/design-system/navigation/navigator.tsx on lines 489..493
      ts/features/design-system/navigation/navigator.tsx on lines 495..499
      ts/features/design-system/navigation/navigator.tsx on lines 501..505

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

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.SCREENS.IOSCROLLVIEW_CENTRED_CONTENT.route}
                component={DSIOScrollViewCentredContent}
                options={{ headerShown: true }}
              />
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 6 other locations - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 433..437
      ts/features/design-system/navigation/navigator.tsx on lines 471..475
      ts/features/design-system/navigation/navigator.tsx on lines 482..486
      ts/features/design-system/navigation/navigator.tsx on lines 489..493
      ts/features/design-system/navigation/navigator.tsx on lines 495..499
      ts/features/design-system/navigation/navigator.tsx on lines 501..505

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

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.EDGE_TO_EDGE_AREA.route}
                component={DSEdgeToEdgeArea}
                options={{ headerShown: false }}
              />
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 6 other locations - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 433..437
      ts/features/design-system/navigation/navigator.tsx on lines 465..469
      ts/features/design-system/navigation/navigator.tsx on lines 471..475
      ts/features/design-system/navigation/navigator.tsx on lines 482..486
      ts/features/design-system/navigation/navigator.tsx on lines 489..493
      ts/features/design-system/navigation/navigator.tsx on lines 495..499

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

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.SAFE_AREA.route}
                component={DSSafeArea}
                options={{ headerShown: false }}
              />
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 6 other locations - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 433..437
      ts/features/design-system/navigation/navigator.tsx on lines 465..469
      ts/features/design-system/navigation/navigator.tsx on lines 471..475
      ts/features/design-system/navigation/navigator.tsx on lines 482..486
      ts/features/design-system/navigation/navigator.tsx on lines 495..499
      ts/features/design-system/navigation/navigator.tsx on lines 501..505

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

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.SCREENS.NUMBERPAD.route}
                component={DSNumberPad}
                options={{ headerShown: false }}
              />
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 6 other locations - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 433..437
      ts/features/design-system/navigation/navigator.tsx on lines 465..469
      ts/features/design-system/navigation/navigator.tsx on lines 471..475
      ts/features/design-system/navigation/navigator.tsx on lines 489..493
      ts/features/design-system/navigation/navigator.tsx on lines 495..499
      ts/features/design-system/navigation/navigator.tsx on lines 501..505

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

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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.DEBUG.SAFE_AREA_CENTERED.route}
                component={DSSafeAreaCentered}
                options={{ headerShown: false }}
              />
      Severity: Major
      Found in ts/features/design-system/navigation/navigator.tsx and 6 other locations - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 433..437
      ts/features/design-system/navigation/navigator.tsx on lines 465..469
      ts/features/design-system/navigation/navigator.tsx on lines 471..475
      ts/features/design-system/navigation/navigator.tsx on lines 482..486
      ts/features/design-system/navigation/navigator.tsx on lines 489..493
      ts/features/design-system/navigation/navigator.tsx on lines 501..505

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

      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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.HEADERS.SECOND_LEVEL_SECTION_TITLE.route}
                component={DSHeaderSecondLevelWithSectionTitle}
                options={{
                  header: HeaderFirstLevelComponent
      Severity: Minor
      Found in ts/features/design-system/navigation/navigator.tsx and 1 other location - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 411..417

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

      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

              <Stack.Screen
                name={DESIGN_SYSTEM_ROUTES.HEADERS.FIRST_LEVEL.route}
                component={DSHeaderFirstLevel}
                options={{
                  header: HeaderFirstLevelComponent
      Severity: Minor
      Found in ts/features/design-system/navigation/navigator.tsx and 1 other location - About 45 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 424..430

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

      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

          firstAction={
            <IconButton
              accessibilityLabel="Tap to trigger test alert"
              icon="coggle"
              onPress={() => {
      Severity: Minor
      Found in ts/features/design-system/navigation/navigator.tsx and 1 other location - About 35 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 136..144

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

      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

          secondAction={
            <IconButton
              accessibilityLabel="Tap to trigger test alert"
              icon="help"
              onPress={() => {
      Severity: Minor
      Found in ts/features/design-system/navigation/navigator.tsx and 1 other location - About 35 mins to fix
      ts/features/design-system/navigation/navigator.tsx on lines 127..135

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

      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

      There are no issues that match your filters.

      Category
      Status