dappros/ethora

View on GitHub

Showing 8,855 of 8,855 total issues

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Software.</Text> {body34}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Minimum Age.</Text> {body31}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Ethora’s Rights.</Text> {body52}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Ending these Terms.</Text> {body72}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Contacts.</Text> {body104}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Resolving disputes.</Text> {body71}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

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

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

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

Refactorings

Further Reading

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

            <Tab
              label={`Issuence - ${issuanceCount}`}
              {...a11yProps(2)}
              style={{
                textAlign: "left",
Severity: Major
Found in client-web/src/pages/Statistics/index.tsx and 2 other locations - About 55 mins to fix
client-web/src/pages/Statistics/index.tsx on lines 234..242
client-web/src/pages/Statistics/index.tsx on lines 262..270

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>User Support.</Text> {body105}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

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

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

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

Refactorings

Further Reading

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

            <Tab
              label={`Blockchain Transactions - ${transactionCount}`}
              {...a11yProps(3)}
              style={{
                textAlign: "left",
Severity: Major
Found in client-web/src/pages/Statistics/index.tsx and 2 other locations - About 55 mins to fix
client-web/src/pages/Statistics/index.tsx on lines 234..242
client-web/src/pages/Statistics/index.tsx on lines 253..261

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Fees and Taxes.</Text> {body35}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

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

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

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

Refactorings

Further Reading

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

              <TouchableOpacity onPress={deleteRoomDialog}>
                <AntIcon
                  name={'delete'}
                  style={{marginRight: 5, marginLeft: 5}}
                  size={hp('3%')}
client-reactnative/src/components/Chat/ChatDetails/ChatDetailHeader.tsx on lines 56..63
client-reactnative/src/components/SecondaryHeader/SecondaryHeader.tsx on lines 51..61

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Messages.</Text> {body102}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255
client-reactnative/src/components/PrivacyPolicy.tsx on lines 264..266

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

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

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

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

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

Refactorings

Further Reading

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

        <TouchableOpacity
          accessibilityLabel="Back button"
          style={{flex: 0.12, justifyContent: 'center', alignItems: 'center'}}
          onPress={onArrowClick}>
          <AntIcon
client-reactnative/src/components/Chat/ChatDetails/ChatDetailHeader.tsx on lines 56..63
client-reactnative/src/components/Chat/ChatDetails/ChatDetailHeader.tsx on lines 69..76

Duplicated Code

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

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

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

Tuning

This issue has a mass of 53.

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

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

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

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

Refactorings

Further Reading

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

            <Tab
              label={`Sessions - ${sessionsCount}`}
              {...a11yProps(0)}
              style={{
                textAlign: "left",
Severity: Major
Found in client-web/src/pages/Statistics/index.tsx and 2 other locations - About 55 mins to fix
client-web/src/pages/Statistics/index.tsx on lines 253..261
client-web/src/pages/Statistics/index.tsx on lines 262..270

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

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

      <Text style={styles.bodyTextStyle}>
        <Text style={{fontFamily: boldFont}}>Third Parties.</Text> {body111}
      </Text>
Severity: Major
Found in client-reactnative/src/components/PrivacyPolicy.tsx and 12 other locations - About 55 mins to fix
client-reactnative/src/components/PrivacyPolicy.tsx on lines 141..143
client-reactnative/src/components/PrivacyPolicy.tsx on lines 152..154
client-reactnative/src/components/PrivacyPolicy.tsx on lines 155..157
client-reactnative/src/components/PrivacyPolicy.tsx on lines 170..172
client-reactnative/src/components/PrivacyPolicy.tsx on lines 191..193
client-reactnative/src/components/PrivacyPolicy.tsx on lines 194..196
client-reactnative/src/components/PrivacyPolicy.tsx on lines 205..207
client-reactnative/src/components/PrivacyPolicy.tsx on lines 222..224
client-reactnative/src/components/PrivacyPolicy.tsx on lines 225..227
client-reactnative/src/components/PrivacyPolicy.tsx on lines 246..248
client-reactnative/src/components/PrivacyPolicy.tsx on lines 250..252
client-reactnative/src/components/PrivacyPolicy.tsx on lines 253..255

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

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

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

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

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

Refactorings

Further Reading

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

          <TouchableOpacity onPress={() => navigation.goBack()}>
            <AntIcon
              name={'arrowleft'}
              style={{marginRight: 5, marginLeft: 5}}
              size={hp('3%')}
client-reactnative/src/components/Chat/ChatDetails/ChatDetailHeader.tsx on lines 69..76
client-reactnative/src/components/SecondaryHeader/SecondaryHeader.tsx on lines 51..61

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

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

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

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

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

Refactorings

Further Reading

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

          } else {
            retrieveOtherUserVcard(
              initialData.xmppUsername,
              xmppId,
              chatStore.xmpp,
Severity: Minor
Found in client-reactnative/src/navigation/HomeStack.tsx and 1 other location - About 55 mins to fix
client-reactnative/src/navigation/HomeStack.tsx on lines 102..115

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

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

                <Box
                  style={{
                    border: "1px solid",
                    borderWidth: 1,
                    borderRadius: 5,
Severity: Minor
Found in client-web/src/pages/ChatRoomDetails/MembersList.tsx and 1 other location - About 55 mins to fix
client-web/src/pages/ChatRoomDetails/MembersList.tsx on lines 147..160

Duplicated Code

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

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

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

Tuning

This issue has a mass of 53.

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

            setTimeout(() => {
              retrieveOtherUserVcard(
                initialData.xmppUsername,
                xmppId,
                chatStore.xmpp,
Severity: Minor
Found in client-reactnative/src/navigation/HomeStack.tsx and 1 other location - About 55 mins to fix
client-reactnative/src/navigation/HomeStack.tsx on lines 152..165

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

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

                <Box
                  style={{
                    border: "1px solid",
                    borderWidth: 1,
                    borderRadius: 5,
Severity: Minor
Found in client-web/src/pages/ChatRoomDetails/MembersList.tsx and 1 other location - About 55 mins to fix
client-web/src/pages/ChatRoomDetails/MembersList.tsx on lines 131..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 53.

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language