mizo0203/nature-remo-sample-android-kotlin

View on GitHub
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt

Summary

Maintainability
A
0 mins
Test Coverage

Similar blocks of code found in 17 locations. Consider refactoring.
Wontfix

    val POWER = IRSignal(37, intArrayOf(3420, 1805, 375, 495, 382, 1363, 378, 493, 374, 501, 383, 493, 381, 492, 382, 492, 382, 491, 384, 493, 380, 491, 379, 495, 376, 503, 381, 493, 381, 1363, 387, 483, 382, 489, 372, 498, 379, 487, 373, 494, 382, 487, 373, 497, 373, 493, 382, 488, 382, 1361, 380, 494, 376, 487, 381, 486, 374, 496, 381, 484, 376, 495, 383, 489, 377, 485, 376, 1369, 381, 489, 381, 1361, 381, 1367, 381, 1359, 385, 1360, 383, 488, 379, 490, 372, 1371, 379, 494, 372, 1376, 382, 1362, 379, 1359, 384, 1359, 385, 494, 380, 1363, 385), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val CH_DOWN = IRSignal(36, intArrayOf(3433, 1790, 412, 460, 386, 1356, 410, 461, 386, 483, 407, 460, 408, 461, 405, 463, 390, 476, 389, 481, 390, 477, 392, 476, 389, 480, 389, 483, 386, 1352, 391, 479, 392, 478, 408, 457, 409, 461, 389, 480, 409, 459, 388, 480, 390, 481, 386, 478, 393, 1353, 407, 468, 388, 484, 390, 488, 405, 466, 408, 466, 389, 486, 388, 485, 392, 484, 389, 1358, 389, 481, 389, 1357, 389, 474, 390, 1354, 390, 1355, 387, 487, 387, 489, 378, 1368, 387, 483, 408, 1331, 394, 476, 388, 1358, 386, 1354, 389, 486, 409, 1338, 409), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_4 = IRSignal(36, intArrayOf(3428, 1795, 389, 482, 377, 1366, 384, 485, 382, 485, 377, 491, 377, 492, 385, 485, 382, 483, 387, 483, 378, 491, 388, 478, 380, 491, 384, 485, 384, 1359, 384, 480, 389, 480, 381, 489, 385, 484, 378, 491, 387, 478, 388, 482, 390, 480, 386, 484, 384, 1358, 384, 1361, 387, 485, 384, 482, 385, 1359, 384, 485, 377, 496, 379, 482, 380, 491, 377, 1365, 386, 1359, 376, 497, 385, 488, 389, 485, 380, 1368, 386, 1357, 381, 491, 383, 486, 384, 1359, 382, 485, 384, 1360, 383, 490, 387, 1359, 388, 1356, 377, 1366, 385), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_3 = IRSignal(37, intArrayOf(3427, 1805, 377, 491, 383, 1362, 381, 495, 371, 501, 383, 491, 377, 497, 383, 491, 383, 495, 380, 491, 377, 497, 385, 488, 386, 494, 380, 494, 381, 1366, 374, 494, 383, 484, 382, 489, 384, 484, 381, 485, 375, 495, 382, 489, 372, 491, 386, 487, 374, 1368, 384, 1360, 380, 485, 375, 495, 384, 1360, 373, 501, 375, 500, 373, 503, 371, 500, 383, 493, 381, 1366, 382, 487, 382, 487, 381, 487, 384, 1358, 382, 1363, 380, 487, 376, 1369, 380, 1363, 387, 483, 383, 1361, 374, 496, 384, 1358, 376, 1366, 376, 1372, 383), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val VOL_DOWN = IRSignal(36, intArrayOf(3423, 1806, 382, 487, 381, 1358, 387, 491, 382, 492, 382, 489, 385, 493, 382, 495, 370, 501, 376, 501, 381, 490, 383, 490, 383, 492, 385, 490, 383, 1364, 378, 492, 376, 493, 381, 487, 375, 493, 383, 489, 371, 492, 385, 484, 383, 490, 373, 490, 378, 1366, 386, 483, 383, 487, 382, 483, 386, 485, 382, 487, 381, 485, 378, 492, 384, 485, 381, 1361, 385, 483, 376, 495, 381, 488, 379, 485, 377, 1369, 375, 498, 377, 497, 387, 1362, 384, 484, 384, 485, 375, 491, 385, 485, 382, 1363, 381, 490, 379, 1357, 378), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41

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

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

    val NUM_1 = IRSignal(37, intArrayOf(3421, 1808, 374, 496, 381, 1358, 384, 487, 375, 495, 372, 496, 380, 486, 374, 494, 383, 491, 369, 497, 380, 484, 376, 494, 385, 485, 381, 484, 385, 1362, 373, 495, 384, 485, 379, 485, 386, 487, 380, 488, 381, 487, 380, 489, 381, 484, 383, 489, 376, 1365, 375, 1376, 378, 486, 375, 495, 382, 1360, 377, 493, 381, 489, 381, 484, 383, 489, 380, 487, 381, 484, 376, 495, 382, 487, 373, 498, 379, 1359, 376, 1368, 376, 498, 385, 1364, 383, 488, 372, 495, 381, 1360, 384, 485, 382, 1362, 386, 1356, 383, 1365, 382), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_8 = IRSignal(37, intArrayOf(3425, 1798, 378, 492, 382, 1362, 382, 482, 387, 483, 379, 491, 383, 482, 389, 481, 386, 483, 377, 492, 383, 486, 376, 491, 384, 485, 384, 485, 384, 1356, 379, 498, 383, 494, 380, 491, 386, 489, 384, 490, 384, 489, 387, 490, 385, 486, 386, 491, 377, 1368, 387, 1357, 385, 488, 382, 484, 384, 1356, 389, 484, 375, 491, 385, 481, 389, 482, 384, 1359, 388, 1361, 382, 1361, 388, 478, 378, 491, 378, 1366, 377, 1366, 385, 489, 385, 489, 385, 1363, 385, 1358, 383, 1364, 373, 491, 378, 1367, 385, 1361, 384, 1361, 383), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_9 = IRSignal(36, intArrayOf(3418, 1809, 381, 487, 385, 1358, 381, 487, 374, 496, 381, 486, 381, 490, 382, 485, 381, 487, 384, 485, 375, 495, 378, 485, 388, 482, 383, 486, 384, 1362, 381, 483, 377, 493, 377, 495, 378, 485, 376, 494, 383, 489, 381, 487, 381, 483, 384, 489, 372, 1370, 380, 1364, 384, 485, 376, 497, 373, 1368, 375, 490, 379, 494, 380, 488, 375, 495, 379, 490, 378, 489, 373, 495, 381, 1359, 376, 494, 383, 1363, 371, 1372, 384, 485, 375, 1368, 386, 484, 381, 485, 385, 488, 380, 487, 373, 1367, 384, 1359, 384, 1365, 379), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_12 = IRSignal(36, intArrayOf(3424, 1804, 376, 494, 383, 1360, 376, 498, 386, 489, 382, 493, 381, 493, 382, 490, 379, 495, 376, 499, 385, 489, 387, 487, 385, 494, 381, 493, 380, 1364, 384, 486, 375, 493, 377, 495, 371, 499, 378, 487, 382, 488, 380, 486, 383, 487, 383, 484, 374, 1370, 382, 1359, 382, 491, 379, 487, 374, 1369, 382, 492, 382, 495, 371, 500, 374, 503, 380, 1366, 384, 1359, 375, 490, 386, 1358, 378, 493, 383, 1359, 374, 1375, 373, 494, 383, 487, 380, 1361, 383, 487, 375, 493, 375, 491, 384, 1359, 375, 1368, 377, 1371, 387), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_10 = IRSignal(36, intArrayOf(3423, 1805, 387, 479, 379, 1366, 386, 483, 378, 491, 383, 482, 381, 490, 386, 483, 384, 482, 389, 482, 385, 483, 377, 492, 386, 483, 377, 491, 385, 1357, 386, 483, 385, 484, 376, 493, 382, 485, 385, 482, 385, 487, 376, 488, 387, 485, 383, 484, 378, 1365, 384, 1362, 380, 489, 385, 487, 383, 1358, 377, 491, 385, 484, 384, 482, 386, 484, 377, 1366, 377, 493, 375, 490, 381, 1365, 383, 489, 384, 1364, 385, 1359, 378, 492, 383, 484, 385, 483, 385, 485, 387, 483, 374, 493, 382, 1360, 377, 1367, 386, 1364, 375), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val VOL_UP = IRSignal(36, intArrayOf(3421, 1804, 387, 482, 378, 1361, 382, 488, 387, 485, 386, 483, 377, 487, 392, 477, 388, 484, 383, 487, 376, 488, 388, 480, 390, 483, 385, 478, 387, 1358, 379, 490, 384, 487, 407, 456, 388, 482, 411, 458, 385, 482, 387, 482, 380, 489, 389, 481, 377, 1366, 404, 471, 408, 468, 403, 469, 384, 489, 387, 487, 386, 488, 387, 487, 412, 462, 380, 494, 381, 493, 392, 483, 391, 489, 376, 495, 379, 1366, 388, 480, 381, 491, 406, 464, 377, 487, 388, 482, 386, 483, 390, 479, 378, 1363, 380, 491, 386, 1358, 383), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_5 = IRSignal(37, intArrayOf(3422, 1806, 384, 486, 382, 1362, 374, 501, 372, 501, 382, 495, 380, 493, 381, 492, 382, 491, 377, 497, 384, 490, 385, 492, 385, 491, 383, 491, 380, 1364, 385, 485, 376, 493, 384, 488, 380, 484, 383, 489, 381, 487, 380, 487, 381, 487, 385, 485, 380, 1360, 384, 1359, 384, 487, 373, 496, 373, 1366, 379, 495, 386, 489, 384, 489, 386, 493, 381, 493, 381, 497, 378, 1367, 381, 484, 385, 485, 382, 1362, 385, 1358, 381, 487, 384, 1359, 375, 500, 374, 1374, 375, 1365, 376, 495, 382, 1365, 372, 1368, 380, 1363, 379), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_6 = IRSignal(37, intArrayOf(3431, 1801, 387, 482, 380, 1363, 385, 489, 380, 494, 387, 489, 386, 486, 381, 495, 379, 495, 387, 488, 387, 493, 382, 489, 389, 484, 387, 491, 382, 1359, 388, 485, 377, 490, 378, 487, 390, 481, 387, 483, 385, 482, 386, 482, 379, 491, 378, 488, 386, 1362, 375, 1366, 384, 483, 385, 486, 376, 1362, 387, 491, 388, 489, 385, 490, 382, 489, 385, 1365, 386, 480, 386, 1355, 387, 483, 385, 480, 388, 1356, 388, 1356, 386, 489, 387, 486, 380, 494, 388, 1360, 388, 1358, 386, 483, 382, 1357, 380, 1366, 388, 1359, 387), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_7 = IRSignal(36, intArrayOf(3452, 1772, 395, 473, 391, 1353, 389, 481, 387, 477, 392, 478, 390, 482, 385, 478, 392, 478, 392, 477, 393, 473, 393, 477, 389, 483, 387, 480, 387, 1353, 391, 478, 410, 462, 409, 457, 389, 478, 389, 484, 409, 453, 413, 457, 390, 482, 390, 477, 411, 1330, 390, 1357, 410, 459, 409, 463, 387, 1355, 408, 460, 388, 478, 390, 480, 409, 457, 411, 459, 391, 1355, 409, 1332, 388, 488, 386, 487, 412, 1339, 406, 1330, 395, 476, 408, 1336, 388, 1352, 392, 1358, 409, 1332, 391, 479, 391, 1354, 387, 1357, 407, 1337, 390), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val CH_UP = IRSignal(36, intArrayOf(3424, 1804, 379, 489, 387, 1358, 386, 490, 382, 490, 387, 487, 378, 496, 386, 488, 386, 488, 386, 489, 386, 490, 386, 492, 381, 491, 383, 494, 380, 1362, 379, 491, 384, 487, 385, 483, 382, 483, 387, 482, 385, 487, 381, 482, 380, 491, 384, 485, 385, 1362, 379, 484, 384, 485, 378, 493, 382, 483, 385, 484, 377, 493, 383, 482, 390, 480, 379, 491, 383, 483, 379, 1364, 388, 482, 388, 1359, 381, 1363, 377, 490, 378, 492, 385, 484, 377, 491, 386, 1357, 383, 482, 381, 1366, 384, 1358, 377, 498, 377, 1370, 379), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_2 = IRSignal(37, intArrayOf(3430, 1799, 385, 483, 384, 1356, 389, 478, 389, 481, 380, 490, 384, 484, 385, 482, 388, 480, 387, 483, 386, 484, 383, 485, 385, 482, 385, 482, 387, 1358, 385, 482, 391, 479, 386, 481, 389, 480, 385, 483, 387, 485, 375, 487, 390, 481, 386, 482, 408, 1338, 385, 1361, 389, 483, 384, 478, 388, 1356, 388, 481, 380, 490, 385, 490, 372, 489, 386, 1356, 386, 483, 408, 461, 379, 491, 385, 481, 386, 1358, 415, 1332, 381, 488, 386, 484, 405, 460, 410, 461, 387, 1354, 389, 483, 385, 1356, 390, 1356, 375, 1370, 386), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 37..37
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

    val NUM_11 = IRSignal(37, intArrayOf(3433, 1795, 389, 482, 385, 1353, 394, 477, 388, 483, 388, 478, 388, 479, 389, 480, 389, 483, 387, 476, 391, 479, 392, 477, 389, 484, 387, 475, 390, 1353, 392, 478, 388, 478, 394, 477, 388, 482, 387, 481, 389, 477, 391, 478, 391, 479, 387, 484, 386, 1352, 391, 1357, 391, 478, 407, 463, 387, 1352, 409, 461, 409, 461, 408, 461, 407, 461, 389, 479, 408, 1335, 387, 480, 391, 1352, 389, 488, 387, 1359, 387, 1356, 387, 482, 386, 1358, 385, 1355, 390, 488, 387, 487, 385, 491, 383, 1363, 379, 1360, 383, 1363, 388), "us")
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 26..26
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 27..27
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 28..28
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 29..29
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 30..30
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 31..31
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 32..32
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 33..33
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 34..34
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 35..35
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 36..36
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 38..38
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 39..39
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 40..40
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 41..41
app/src/main/java/com/mizo0203/natureremoapisample/panasonic/tv/RemoteControlButtonType.kt on lines 42..42

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

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

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

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

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

Refactorings

Further Reading

There are no issues that match your filters.

Category
Status