owncloud/core

View on GitHub

Showing 6,798 of 12,389 total issues

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

OC.L10N.register(
    "lib",
    {
    "Cannot write into \"config\" directory!" : "Cannot write into \"config\" directory!",
    "This can usually be fixed by giving the webserver write access to the config directory" : "This can usually be fixed by giving the webserver write access to the config directory",
Severity: Major
Found in lib/l10n/en_GB.js and 1 other location - About 5 days to fix
lib/l10n/es.js on lines 1..191

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

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

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

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

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

Refactorings

Further Reading

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

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceConsumerManagement/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceNetworking/Service.php on lines 1..419

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

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

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

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

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

Refactorings

Further Reading

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

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceNetworking/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceUsage/GoogleApiService.php on lines 1..419

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

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

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

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

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

Refactorings

Further Reading

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

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceConsumerManagement/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceNetworking/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceUsage/GoogleApiService.php on lines 1..419

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

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

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

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

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

Refactorings

Further Reading

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

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceConsumerManagement/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceManagement/Service.php on lines 1..419
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/ServiceUsage/GoogleApiService.php on lines 1..419

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

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

OC.L10N.register(
    "lib",
    {
    "Cannot write into \"config\" directory!" : "Impossibile scrivere nella cartella \"config\".",
    "This can usually be fixed by giving the webserver write access to the config directory" : "Ciò può essere normalmente corretto fornendo al server web accesso in scrittura alla cartella \"config\"",
Severity: Major
Found in lib/l10n/it.js and 1 other location - About 5 days to fix
lib/l10n/nb_NO.js on lines 1..177

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

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

OC.L10N.register(
    "lib",
    {
    "Cannot write into \"config\" directory!" : "Kan ikke skrive i \"config\"-mappen!",
    "This can usually be fixed by giving the webserver write access to the config directory" : "Dette kan vanligvis ordnes ved å gi web-serveren skrivetilgang til config-mappen",
Severity: Major
Found in lib/l10n/nb_NO.js and 1 other location - About 5 days to fix
lib/l10n/it.js on lines 1..177

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

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

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Customsearch/SearchQueriesPreviousPage.php on lines 1..345
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Customsearch/SearchQueriesRequest.php on lines 1..345

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

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

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Customsearch/SearchQueriesNextPage.php on lines 1..345
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Customsearch/SearchQueriesRequest.php on lines 1..345

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

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

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Customsearch/SearchQueriesNextPage.php on lines 1..345
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Customsearch/SearchQueriesPreviousPage.php on lines 1..345

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

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

    var $sbox2 = array(
        0xe93d5a68, 0x948140f7, 0xf64c261c, 0x94692934, 0x411520f7, 0x7602d4f7, 0xbcf46b2e, 0xd4a20068,
        0xd4082471, 0x3320f46a, 0x43b7d4b7, 0x500061af, 0x1e39f62e, 0x97244546, 0x14214f74, 0xbf8b8840,
        0x4d95fc1d, 0x96b591af, 0x70f4ddd3, 0x66a02f45, 0xbfbc09ec, 0x03bd9785, 0x7fac6dd0, 0x31cb8504,
        0x96eb27b3, 0x55fd3941, 0xda2547e6, 0xabca0a9a, 0x28507825, 0x530429f4, 0x0a2c86da, 0xe9b66dfb,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $invpitable = array(
        0xD1, 0xDA, 0xB9, 0x6F, 0x9C, 0xC8, 0x78, 0x66,
        0x80, 0x2C, 0xF8, 0x37, 0xEA, 0xE0, 0x62, 0xA4,
        0xCB, 0x71, 0x50, 0x27, 0x4B, 0x95, 0xD9, 0x20,
        0x9D, 0x04, 0x91, 0xE3, 0x47, 0x6A, 0x7E, 0x53,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $m2 = array(
        0xBC75BC32, 0xECF3EC21, 0x20C62043, 0xB3F4B3C9, 0xDADBDA03, 0x027B028B, 0xE2FBE22B, 0x9EC89EFA,
        0xC94AC9EC, 0xD4D3D409, 0x18E6186B, 0x1E6B1E9F, 0x9845980E, 0xB27DB238, 0xA6E8A6D2, 0x264B26B7,
        0x3CD63C57, 0x9332938A, 0x82D882EE, 0x52FD5298, 0x7B377BD4, 0xBB71BB37, 0x5BF15B97, 0x47E14783,
        0x2430243C, 0x510F51E2, 0xBAF8BAC6, 0x4A1B4AF3, 0xBF87BF48, 0x0DFA0D70, 0xB006B0B3, 0x753F75DE,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $sbox0 = array(
        0xd1310ba6, 0x98dfb5ac, 0x2ffd72db, 0xd01adfb7, 0xb8e1afed, 0x6a267e96, 0xba7c9045, 0xf12c7f99,
        0x24a19947, 0xb3916cf7, 0x0801f2e2, 0x858efc16, 0x636920d8, 0x71574e69, 0xa458fea3, 0xf4933d7e,
        0x0d95748f, 0x728eb658, 0x718bcd58, 0x82154aee, 0x7b54a41d, 0xc25a59b5, 0x9c30d539, 0x2af26013,
        0xc5d1b023, 0x286085f0, 0xca417918, 0xb8db38ef, 0x8e79dcb0, 0x603a180e, 0x6c9e0e8b, 0xb01e8a3e,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $m1 = array(
        0xA9D93939, 0x67901717, 0xB3719C9C, 0xE8D2A6A6, 0x04050707, 0xFD985252, 0xA3658080, 0x76DFE4E4,
        0x9A084545, 0x92024B4B, 0x80A0E0E0, 0x78665A5A, 0xE4DDAFAF, 0xDDB06A6A, 0xD1BF6363, 0x38362A2A,
        0x0D54E6E6, 0xC6432020, 0x3562CCCC, 0x98BEF2F2, 0x181E1212, 0xF724EBEB, 0xECD7A1A1, 0x6C774141,
        0x43BD2828, 0x7532BCBC, 0x37D47B7B, 0x269B8888, 0xFA700D0D, 0x13F94444, 0x94B1FBFB, 0x485A7E7E,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $ipmap = array(
        0x00, 0x10, 0x01, 0x11, 0x20, 0x30, 0x21, 0x31,
        0x02, 0x12, 0x03, 0x13, 0x22, 0x32, 0x23, 0x33,
        0x40, 0x50, 0x41, 0x51, 0x60, 0x70, 0x61, 0x71,
        0x42, 0x52, 0x43, 0x53, 0x62, 0x72, 0x63, 0x73,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $q0 = array(
        0xA9, 0x67, 0xB3, 0xE8, 0x04, 0xFD, 0xA3, 0x76,
        0x9A, 0x92, 0x80, 0x78, 0xE4, 0xDD, 0xD1, 0x38,
        0x0D, 0xC6, 0x35, 0x98, 0x18, 0xF7, 0xEC, 0x6C,
        0x43, 0x75, 0x37, 0x26, 0xFA, 0x13, 0x94, 0x48,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $m3 = array(
        0xD939A9D9, 0x90176790, 0x719CB371, 0xD2A6E8D2, 0x05070405, 0x9852FD98, 0x6580A365, 0xDFE476DF,
        0x08459A08, 0x024B9202, 0xA0E080A0, 0x665A7866, 0xDDAFE4DD, 0xB06ADDB0, 0xBF63D1BF, 0x362A3836,
        0x54E60D54, 0x4320C643, 0x62CC3562, 0xBEF298BE, 0x1E12181E, 0x24EBF724, 0xD7A1ECD7, 0x77416C77,
        0xBD2843BD, 0x32BC7532, 0xD47B37D4, 0x9B88269B, 0x700DFA70, 0xF94413F9, 0xB1FB94B1, 0x5A7E485A,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271

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

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

    var $invipmap = array(
        0x00, 0x80, 0x40, 0xC0, 0x20, 0xA0, 0x60, 0xE0,
        0x10, 0x90, 0x50, 0xD0, 0x30, 0xB0, 0x70, 0xF0,
        0x08, 0x88, 0x48, 0xC8, 0x28, 0xA8, 0x68, 0xE8,
        0x18, 0x98, 0x58, 0xD8, 0x38, 0xB8, 0x78, 0xF8,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 156..189
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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

    var $m0 = array(
        0xBCBC3275, 0xECEC21F3, 0x202043C6, 0xB3B3C9F4, 0xDADA03DB, 0x02028B7B, 0xE2E22BFB, 0x9E9EFAC8,
        0xC9C9EC4A, 0xD4D409D3, 0x18186BE6, 0x1E1E9F6B, 0x98980E45, 0xB2B2387D, 0xA6A6D2E8, 0x2626B74B,
        0x3C3C57D6, 0x93938A32, 0x8282EED8, 0x525298FD, 0x7B7BD437, 0xBBBB3771, 0x5B5B97F1, 0x474783E1,
        0x24243C30, 0x5151E20F, 0xBABAC6F8, 0x4A4AF31B, 0xBFBF4887, 0x0D0D70FA, 0xB0B0B306, 0x7575DE3F,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 85..118
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 126..159
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 167..200
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Blowfish.php on lines 208..241
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 301..334
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 343..376
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/RC2.php on lines 227..260
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 74..107
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 115..148
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 197..230
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 238..271
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Twofish.php on lines 279..312

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

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