owncloud/core

View on GitHub

Showing 6,564 of 12,118 total issues

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 $q1 = array(
        0x75, 0xF3, 0xC6, 0xF4, 0xDB, 0x7B, 0xFB, 0xC8,
        0x4A, 0xD3, 0xE6, 0x6B, 0x45, 0x7D, 0xE8, 0x4B,
        0xD6, 0x32, 0xD8, 0xFD, 0x37, 0x71, 0xF1, 0xE1,
        0x30, 0x0F, 0xF8, 0x1B, 0x87, 0xFA, 0x06, 0x3F,
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 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 $sbox1 = array(
        0x4b7a70e9, 0xb5b32944, 0xdb75092e, 0xc4192623, 0xad6ea6b0, 0x49a7df7d, 0x9cee60b8, 0x8fedb266,
        0xecaa8c71, 0x699a17ff, 0x5664526c, 0xc2b19ee1, 0x193602a5, 0x75094c29, 0xa0591340, 0xe4183a3e,
        0x3f54989a, 0x5b429d65, 0x6b8fe4d6, 0x99f73fd6, 0xa1d29c07, 0xefe830f5, 0x4d2d38e6, 0xf0255dc1,
        0x4cdd2086, 0x8470eb26, 0x6382e9c6, 0x021ecc5e, 0x09686b3f, 0x3ebaefc9, 0x3c971814, 0x6b6a70a1,
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 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 9 locations. Consider refactoring.
Open

        static $pc1map = array(
            0x00, 0x00, 0x08, 0x08, 0x04, 0x04, 0x0C, 0x0C,
            0x02, 0x02, 0x0A, 0x0A, 0x06, 0x06, 0x0E, 0x0E,
            0x10, 0x10, 0x18, 0x18, 0x14, 0x14, 0x1C, 0x1C,
            0x12, 0x12, 0x1A, 0x1A, 0x16, 0x16, 0x1E, 0x1E,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

        static $pc2mapc3 = array(
            0x00000000, 0x00000004, 0x00001000, 0x00001004,
            0x00000000, 0x00000004, 0x00001000, 0x00001004,
            0x10000000, 0x10000004, 0x10001000, 0x10001004,
            0x10000000, 0x10000004, 0x10001000, 0x10001004,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

        static $pc2mapd3 = array(
            0x00000000, 0x00010000, 0x02000000, 0x02010000,
            0x00000020, 0x00010020, 0x02000020, 0x02010020,
            0x00040000, 0x00050000, 0x02040000, 0x02050000,
            0x00040020, 0x00050020, 0x02040020, 0x02050020,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

        static $s = array(
             41,  46,  67, 201, 162, 216, 124,   1,  61,  54,  84, 161, 236, 240, 6,
             19,  98, 167,   5, 243, 192, 199, 115, 140, 152, 147,  43, 217, 188,
             76, 130, 202,  30, 155,  87,  60, 253, 212, 224,  22, 103,  66, 111, 24,
            138,  23, 229,  18, 190,  78, 196, 214, 218, 158, 222,  73, 160, 251,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

        static $pc2mapd2 = array(
            0x00000000, 0x00100000, 0x00000800, 0x00100800,
            0x00000000, 0x00100000, 0x00000800, 0x00100800,
            0x04000000, 0x04100000, 0x04000800, 0x04100800,
            0x04000000, 0x04100000, 0x04000800, 0x04100800,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

        static $crc_lookup_table = array(
            0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA,
            0x076DC419, 0x706AF48F, 0xE963A535, 0x9E6495A3,
            0x0EDB8832, 0x79DCB8A4, 0xE0D5E91E, 0x97D2D988,
            0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, 0x90BF1D91,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468

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

        static $pc2mapc2 = array(
            0x00000000, 0x00000800, 0x08000000, 0x08000800,
            0x00010000, 0x00010800, 0x08010000, 0x08010800,
            0x00000000, 0x00000800, 0x08000000, 0x08000800,
            0x00010000, 0x00010800, 0x08010000, 0x08010800,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

        static $pc2mapc4 = array(
            0x00000000, 0x00100000, 0x00000008, 0x00100008,
            0x00000200, 0x00100200, 0x00000208, 0x00100208,
            0x00000000, 0x00100000, 0x00000008, 0x00100008,
            0x00000200, 0x00100200, 0x00000208, 0x00100208,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1145..1210
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

        static $pc2mapd4 = array(
            0x00000000, 0x00000400, 0x01000000, 0x01000400,
            0x00000000, 0x00000400, 0x01000000, 0x01000400,
            0x00000100, 0x00000500, 0x01000100, 0x01000500,
            0x00000100, 0x00000500, 0x01000100, 0x01000500,
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 767..800
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 809..874
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 875..940
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 941..1006
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1013..1078
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/DES.php on lines 1079..1144
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Crypt/Hash.php on lines 449..468
apps/files_external/3rdparty/phpseclib/phpseclib/phpseclib/Net/SSH1.php on lines 1228..1293

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

    $this->projects_subscriptions = new Google_Service_Pubsub_Resource_ProjectsSubscriptions(
        $this,
        $this->serviceName,
        'subscriptions',
        array(
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Iam.php on lines 282..443

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

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

    $this->projects_serviceAccounts = new Google_Service_Iam_Resource_ProjectsServiceAccounts(
        $this,
        $this->serviceName,
        'serviceAccounts',
        array(
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Pubsub.php on lines 163..324

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

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

    $this->management_profileFilterLinks = new Google_Service_Analytics_Resource_ManagementProfileFilterLinks(
        $this,
        $this->serviceName,
        'profileFilterLinks',
        array(
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Analytics.php on lines 661..818

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

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

    $this->management_experiments = new Google_Service_Analytics_Resource_ManagementExperiments(
        $this,
        $this->serviceName,
        'experiments',
        array(
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Analytics.php on lines 1050..1207

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

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

    $this->regionHealthChecks = new Google_Service_Compute_Resource_RegionHealthChecks(
        $this,
        $this->serviceName,
        'regionHealthChecks',
        array(
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Compute.php on lines 8688..8839

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

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

    $this->regionTargetHttpsProxies = new Google_Service_Compute_Resource_RegionTargetHttpsProxies(
        $this,
        $this->serviceName,
        'regionTargetHttpsProxies',
        array(
apps/files_external/3rdparty/google/apiclient-services/src/Google/Service/Compute.php on lines 7585..7736

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

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(
    "files",
    {
    "Storage is temporarily not available" : "Хранилище временно не доступно",
    "Storage invalid" : "Хранилище неисправно",
Severity: Major
Found in apps/files/l10n/ru.js and 1 other location - About 4 days to fix
apps/files/l10n/he.js on lines 1..136

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

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(
    "files",
    {
    "Storage is temporarily not available" : "אחסון באופן זמני אינו זמין",
    "Storage invalid" : "אחסון לא חוקי",
Severity: Major
Found in apps/files/l10n/he.js and 1 other location - About 4 days to fix
apps/files/l10n/ru.js on lines 1..136

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

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