jarvisteach/appJar

View on GitHub

Showing 519 of 3,395 total issues

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

            exec( "def get" + v +
                "Bg(self, name, val=None): return self.getWidgetProperty(" +
                str(k) + ", name, val, 'bg')")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556

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

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

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

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

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

Refactorings

Further Reading

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

        if var.uc_id is not None:
            var.uc_id = var.trace('w', self.MAKE_FUNC(self._upperEntry, name))
Severity: Major
Found in appJar/appjar.py and 2 other locations - About 45 mins to fix
appJar/appjar.py on lines 10279..10280
appJar/appjar.py on lines 10283..10284

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

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

            exec( "def set" + v +
                "DisabledFg(self, name, val): self.configureWidgets(" +
                str(k) + ", name, 'disabledforeground', val)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def set" + v +
                "InPadding(self, name, x, y=None): self.configureWidgets(" +
                str(k) + ", name, 'ipadding', [x, y])")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def set" + v +
                "Style(self, name, val): self.configureWidget(" +
                str(k) + ", name, 'style', val)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def hide" + v +
                "(self, name, collapse=False): self.hideWidgetType(" +
                str(k) + ", name, collapse)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def set" + v +
                "InactiveBg(self, name, val): self.configureWidgets(" +
                str(k) + ", name, 'inactivebackground', val)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def set" + v +
                "Width(self, name, val): self.configureWidgets(" +
                str(k) + ", name, 'width', val)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def set" + v +
                "Padding(self, name, x, y=None): self.configureWidgets(" +
                str(k) + ", name, 'padding', [x, y])")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def register" + v +
                "Draggable(self, name, function=None): self.configureWidgets(" +
                str(k) + ", name, 'internalDrag', function)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def set" + v +
                "Fg(self, name, val): self.configureWidgets(" +
                str(k) + ", name, 'foreground', val)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def setAll" + v +
                "Heights(self, val): self.configureAllWidgets(" +
                str(k) + ", 'height', val)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

    def setTabbedFrameTabExpand(self, title, expand=True):
        nb = self.widgetManager.get(WIDGET_NAMES.TabbedFrame, title)
        nb.expandTabs(expand)
Severity: Major
Found in appJar/appjar.py and 7 other locations - About 45 mins to fix
appJar/appjar.py on lines 4868..4870
appJar/appjar.py on lines 5442..5444
appJar/appjar.py on lines 5463..5465
appJar/appjar.py on lines 5467..5469
appJar/appjar.py on lines 6957..6959
appJar/appjar.py on lines 6966..6968
appJar/appjar.py on lines 9567..9569

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

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

    def clearProperties(self, title, callFunction=True):
        props = self.widgetManager.get(WIDGET_NAMES.Properties, title)
        props.clearProperties(callFunction)
Severity: Major
Found in appJar/appjar.py and 7 other locations - About 45 mins to fix
appJar/appjar.py on lines 4853..4855
appJar/appjar.py on lines 4868..4870
appJar/appjar.py on lines 5442..5444
appJar/appjar.py on lines 5463..5465
appJar/appjar.py on lines 5467..5469
appJar/appjar.py on lines 6966..6968
appJar/appjar.py on lines 9567..9569

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

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

    def setMessage(self, title, text):
        mess = self.widgetManager.get(WIDGET_NAMES.Message, title)
        mess.config(text=text)
Severity: Major
Found in appJar/appjar.py and 7 other locations - About 45 mins to fix
appJar/appjar.py on lines 5379..5381
appJar/appjar.py on lines 5412..5414
appJar/appjar.py on lines 6013..6015
appJar/appjar.py on lines 6953..6955
appJar/appjar.py on lines 8095..8097
appJar/appjar.py on lines 9141..9143
appJar/appjar.py on lines 10426..10428

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

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

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

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

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

Refactorings

Further Reading

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

            if self.blocking and self.killLab is not None:
                self.killLab.destroy()
                self.killLab = None
Severity: Minor
Found in appJar/appjar.py and 1 other location - About 45 mins to fix
appJar/appjar.py on lines 14096..14098

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

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

            exec( "def set" + v +
                "Relief(self, name, val): self.configureWidget(" +
                str(k) + ", name, 'relief', val)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def enable" + v +
                "Tooltip(self, name): self.configureWidget(" +
                str(k) + ", name, 'enableTooltip', None)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3496..3498
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

            exec( "def set" + v +
                "RightClick(self, name, menu): self.configureWidget(" +
                str(k) + ", name, 'rightClick', menu)")
Severity: Major
Found in appJar/appjar.py and 45 other locations - About 45 mins to fix
appJar/appjar.py on lines 3343..3345
appJar/appjar.py on lines 3347..3349
appJar/appjar.py on lines 3352..3354
appJar/appjar.py on lines 3356..3358
appJar/appjar.py on lines 3361..3363
appJar/appjar.py on lines 3365..3367
appJar/appjar.py on lines 3370..3372
appJar/appjar.py on lines 3374..3376
appJar/appjar.py on lines 3379..3381
appJar/appjar.py on lines 3383..3385
appJar/appjar.py on lines 3387..3389
appJar/appjar.py on lines 3391..3393
appJar/appjar.py on lines 3396..3398
appJar/appjar.py on lines 3401..3403
appJar/appjar.py on lines 3407..3409
appJar/appjar.py on lines 3412..3414
appJar/appjar.py on lines 3417..3419
appJar/appjar.py on lines 3422..3424
appJar/appjar.py on lines 3427..3429
appJar/appjar.py on lines 3433..3435
appJar/appjar.py on lines 3437..3439
appJar/appjar.py on lines 3441..3443
appJar/appjar.py on lines 3446..3448
appJar/appjar.py on lines 3451..3453
appJar/appjar.py on lines 3456..3458
appJar/appjar.py on lines 3462..3464
appJar/appjar.py on lines 3466..3468
appJar/appjar.py on lines 3470..3472
appJar/appjar.py on lines 3474..3476
appJar/appjar.py on lines 3480..3482
appJar/appjar.py on lines 3484..3486
appJar/appjar.py on lines 3490..3492
appJar/appjar.py on lines 3502..3504
appJar/appjar.py on lines 3506..3508
appJar/appjar.py on lines 3510..3512
appJar/appjar.py on lines 3514..3516
appJar/appjar.py on lines 3519..3521
appJar/appjar.py on lines 3526..3528
appJar/appjar.py on lines 3530..3532
appJar/appjar.py on lines 3536..3538
appJar/appjar.py on lines 3540..3542
appJar/appjar.py on lines 3545..3547
appJar/appjar.py on lines 3549..3551
appJar/appjar.py on lines 3554..3556
appJar/appjar.py on lines 3559..3561

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

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

    def setCheckBoxSelectColour(self, title, newCol):
        cb = self.widgetManager.get(WIDGET_NAMES.CheckBox, title)
        cb.config(selectcolor=newCol)
Severity: Major
Found in appJar/appjar.py and 7 other locations - About 45 mins to fix
appJar/appjar.py on lines 5379..5381
appJar/appjar.py on lines 5412..5414
appJar/appjar.py on lines 6953..6955
appJar/appjar.py on lines 8095..8097
appJar/appjar.py on lines 9141..9143
appJar/appjar.py on lines 9697..9699
appJar/appjar.py on lines 10426..10428

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

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