dappros/ethora

View on GitHub

Showing 8,855 of 8,855 total issues

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

              <HStack paddingY={5}>
                <Image
                  alt="App logo Ethora"
                  source={logoPath}
                  resizeMode={'cover'}
Severity: Major
Found in client-reactnative/src/Screens/Login/RegularLoginScreen.tsx and 1 other location - About 1 hr to fix
client-reactnative/src/Screens/Login/ResetPasswordScreen.tsx on lines 61..69

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Minor</td>
            <td>NA</td>
            <td>120</td>
            <td>60</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

      <View
        style={{
          display: 'flex',
          justifyContent: 'center',
          flexDirection: 'row',
Severity: Major
Found in client-reactnative/src/Screens/EnterInviteCodeScreen.tsx and 1 other location - About 1 hr to fix
client-reactnative/src/Screens/Account/EnterInviteCodeScreen.tsx on lines 70..77

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Critical</td>
            <td>NA</td>
            <td>4</td>
            <td>1</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>aggregate liability</td>
            <td>£10,000</td>
            <td>£150,000</td>
            <td>£500,000</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <TouchableOpacity
            onPress={() => showQr(link)}
            style={styles.actionButton}>
            <AntDesignIcons name="qrcode" size={35} color={'black'} />
          </TouchableOpacity>
client-reactnative/src/Screens/Privacy/ProfileShareManage.tsx on lines 106..110

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

      <View
        style={{
          display: 'flex',
          justifyContent: 'center',
          flexDirection: 'row',
client-reactnative/src/Screens/EnterInviteCodeScreen.tsx on lines 88..95

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Serious</td>
            <td>NA</td>
            <td>8</td>
            <td>4</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

      runInAction(() => {
        this.stores.debugStore.addLogsApi(error);
        this.isFetching = false;
        this.error = true;
        this.errorMessage = error;
Severity: Major
Found in client-reactnative/src/stores/walletStore.ts and 1 other location - About 1 hr to fix
client-reactnative/src/stores/walletStore.ts on lines 335..340

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

              <HStack paddingY={5}>
                <Image
                  alt="App logo Ethora"
                  source={logoPath}
                  resizeMode={'cover'}
client-reactnative/src/Screens/Login/RegularLoginScreen.tsx on lines 73..81

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <TouchableOpacity
            onPress={() => showQr(link)}
            style={styles.actionButton}>
            <AntDesignIcons name="qrcode" size={35} color={'black'} />
          </TouchableOpacity>
client-reactnative/src/Screens/Privacy/DocumentShareManage.tsx on lines 100..104

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

      runInAction(() => {
        this.stores.debugStore.addLogsApi(error);
        this.isFetching = false;
        this.error = true;
        this.errorMessage = error;
Severity: Major
Found in client-reactnative/src/stores/walletStore.ts and 1 other location - About 1 hr to fix
client-reactnative/src/stores/walletStore.ts on lines 292..297

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Backups frequency</td>
            <td>N/A</td>
            <td>N/A</td>
            <td>monthly</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Concurrent users</td>
            <td>10</td>
            <td>50</td>
            <td>1000</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Moderate</td>
            <td>NA</td>
            <td>16</td>
            <td>6</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Moderate</td>
            <td>NA</td>
            <td>64</td>
            <td>32</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Critical</td>
            <td>NA</td>
            <td>6</td>
            <td>3</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Backups retention</td>
            <td>N/A</td>
            <td>N/A</td>
            <td>3 months</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>Serious</td>
            <td>NA</td>
            <td>16</td>
            <td>8</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 211..216
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

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

          <tr>
            <td>singular event or series of related events</td>
            <td>£5,000</td>
            <td>£100,000</td>
            <td>£300,000</td>
Severity: Major
Found in client-web/src/pages/Signon/Tnc.tsx and 15 other locations - About 1 hr to fix
client-web/src/pages/Signon/Tnc.tsx on lines 109..114
client-web/src/pages/Signon/Tnc.tsx on lines 115..120
client-web/src/pages/Signon/Tnc.tsx on lines 121..126
client-web/src/pages/Signon/Tnc.tsx on lines 127..132
client-web/src/pages/Signon/Tnc.tsx on lines 133..138
client-web/src/pages/Signon/Tnc.tsx on lines 139..144
client-web/src/pages/Signon/Tnc.tsx on lines 151..156
client-web/src/pages/Signon/Tnc.tsx on lines 157..162
client-web/src/pages/Signon/Tnc.tsx on lines 163..168
client-web/src/pages/Signon/Tnc.tsx on lines 169..174
client-web/src/pages/Signon/Tnc.tsx on lines 181..186
client-web/src/pages/Signon/Tnc.tsx on lines 187..192
client-web/src/pages/Signon/Tnc.tsx on lines 193..198
client-web/src/pages/Signon/Tnc.tsx on lines 199..204
client-web/src/pages/Signon/Tnc.tsx on lines 217..222

Duplicated Code

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

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

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

Tuning

This issue has a mass of 64.

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language