559Labs/django-dtg-store-manager

View on GitHub
src/business/urls.py

Summary

Maintainability
F
2 wks
Test Coverage

File urls.py has 439 lines of code (exceeds 250 allowed). Consider refactoring.
Open

from django.conf.urls import url, include
from rest_framework import routers
from business import api
from business.views import *
from business.wizards.bzProductCreate import *
Severity: Minor
Found in src/business/urls.py - About 6 hrs to fix

    TODO found
    Open

        # TODO Implement appDAMSPFCreate View
    Severity: Minor
    Found in src/business/urls.py by fixme

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

    urlpatterns += (
        # urls for bzCreativeDesign
        url(r'^bzcreativedesign/$', bzCreativeDesignListView.as_view(),
            name='business_bzcreativedesign_list'),
        url(r'^bzcreativedesign/create/$', bzCreativeDesignCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooShippingClass
        url(r'^wooshippingclass/$', wooShippingClassListView.as_view(),
            name='business_wooshippingclass_list'),
        url(r'^wooshippingclass/create/$', wooShippingClassCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCountry
        url(r'^pfcountry/$', pfCountryListView.as_view(),
            name='business_pfcountry_list'),
        url(r'^pfcountry/create/$', pfCountryCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfSyncProduct
        url(r'^pfsyncproduct/$', pfSyncProductListView.as_view(),
            name='business_pfsyncproduct_list'),
        url(r'^pfsyncproduct/create/$', pfSyncProductCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCatalogFileType
        url(r'^pfcatalogfiletype/$', pfCatalogFileTypeListView.as_view(),
            name='business_pfcatalogfiletype_list'),
        url(r'^pfcatalogfiletype/create/$', pfCatalogFileTypeCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooVariant
        url(r'^woovariant/$', wooVariantListView.as_view(),
            name='business_woovariant_list'),
        url(r'^woovariant/create/$', wooVariantCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        url(r'^dams/$', appDAMSHome.as_view(), name='app_dams_home'),
        url(r'^dams/printful/$', appDAMSPFList.as_view(), name='app_dams_pf_list'),
        url(r'^dams/printful/pull/$', appDAMSPFApiPull.as_view(),
            name='app_dams_pf_apipull'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfSyncItemOption
        url(r'^pfsyncitemoption/$', pfSyncItemOptionListView.as_view(),
            name='business_pfsyncitemoption_list'),
        url(r'^pfsyncitemoption/create/$', pfSyncItemOptionCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfStore
        url(r'^pfstore/$', pfStoreListView.as_view(), name='business_pfstore_list'),
        url(r'^pfstore/create/$', pfStoreCreateView.as_view(),
            name='business_pfstore_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wpMediaSize
        url(r'^wpmediasize/$', wpMediaSizeListView.as_view(),
            name='business_wpmediasize_list'),
        url(r'^wpmediasize/create/$', wpMediaSizeCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCatalogProduct
        url(r'^pfcatalogproduct/$', pfCatalogProductListView.as_view(),
            name='business_pfcatalogproduct_list'),
        url(r'^pfcatalogproduct/create/$', pfCatalogProductCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for bzCreativeRendering
        url(r'^bzcreativerendering/$', bzCreativeRenderingListView.as_view(),
            name='business_bzcreativerendering_list'),
        url(r'^bzcreativerendering/create/$',
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for bzProduct
        url(r'^bzproduct/$', bzProductListView.as_view(),
            name='business_bzproduct_list'),
        url(r'^bzproduct/create/$', bzProductCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooStore
        url(r'^woostore/$', wooStoreListView.as_view(), name='business_woostore_list'),
        url(r'^woostore/create/$', wooStoreCreateView.as_view(),
            name='business_woostore_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for bzBrand
        url(r'^bzbrand/$', bzBrandListView.as_view(), name='business_bzbrand_list'),
        url(r'^bzbrand/create/$', bzBrandCreateView.as_view(),
            name='business_bzbrand_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooTerm
        url(r'^wooterm/$', wooTermListView.as_view(), name='business_wooterm_list'),
        url(r'^wooterm/create/$', wooTermCreateView.as_view(),
            name='business_wooterm_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfState
        url(r'^pfstate/$', pfStateListView.as_view(), name='business_pfstate_list'),
        url(r'^pfstate/create/$', pfStateCreateView.as_view(),
            name='business_pfstate_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCatalogSize
        url(r'^pfcatalogsize/$', pfCatalogSizeListView.as_view(),
            name='business_pfcatalogsize_list'),
        url(r'^pfcatalogsize/create/$', pfCatalogSizeCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooCategory
        url(r'^woocategory/$', wooCategoryListView.as_view(),
            name='business_woocategory_list'),
        url(r'^woocategory/create/$', wooCategoryCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooTag
        url(r'^wootag/$', wooTagListView.as_view(), name='business_wootag_list'),
        url(r'^wootag/create/$', wooTagCreateView.as_view(),
            name='business_wootag_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCatalogVariant
        url(r'^pfcatalogvariant/$', pfCatalogVariantListView.as_view(),
            name='business_pfcatalogvariant_list'),
        url(r'^pfcatalogvariant/create/$', pfCatalogVariantCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for bzCreativeLayout
        url(r'^bzcreativelayout/$', bzCreativeLayoutListView.as_view(),
            name='business_bzcreativelayout_list'),
        url(r'^bzcreativelayout/create/$', bzCreativeLayoutCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooAttribute
        url(r'^wooattribute/$', wooAttributeListView.as_view(),
            name='business_wooattribute_list'),
        url(r'^wooattribute/create/$', wooAttributeCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for bzProductVariant
        url(r'^bzproductvariant/$', bzProductVariantListView.as_view(),
            name='business_bzproductvariant_list'),
        url(r'^bzproductvariant/create/$', bzProductVariantCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooProduct
        url(r'^wooproduct/$', wooProductListView.as_view(),
            name='business_wooproduct_list'),
        url(r'^wooproduct/create/$', wooProductCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCatalogColor
        url(r'^pfcatalogcolor/$', pfCatalogColorListView.as_view(),
            name='business_pfcatalogcolor_list'),
        url(r'^pfcatalogcolor/create/$', pfCatalogColorCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wpMedia
        url(r'^wpmedia/$', wpMediaListView.as_view(), name='business_wpmedia_list'),
        url(r'^wpmedia/create/$', wpMediaCreateView.as_view(),
            name='business_wpmedia_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfPrintFile
        url(r'^pfprintfile/$', pfPrintFileListView.as_view(),
            name='business_pfprintfile_list'),
        url(r'^pfprintfile/create/$', pfPrintFileCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for bzCreativeCollection
        url(r'^bzcreativecollection/$', bzCreativeCollectionListView.as_view(),
            name='business_bzcreativecollection_list'),
        url(r'^bzcreativecollection/create/$',
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for wooImage
        url(r'^wooimage/$', wooImageListView.as_view(), name='business_wooimage_list'),
        url(r'^wooimage/create/$', wooImageCreateView.as_view(),
            name='business_wooimage_create'),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfSyncVariant
        url(r'^pfsyncvariant/$', pfSyncVariantListView.as_view(),
            name='business_pfsyncvariant_list'),
        url(r'^pfsyncvariant/create/$', pfSyncVariantCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        url(r'^product/$', appProductHome.as_view(), name='app_product_home'),
        url(r'^product/create/$',
            bzProductFormWizard.as_view(), name="app_product_create"),
        url(r'^product/view/(?P<product>\S+)/$',
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCatalogFileSpec
        url(r'^pfcatalogfilespec/$', pfCatalogFileSpecListView.as_view(),
            name='business_pfcatalogfilespec_list'),
        url(r'^pfcatalogfilespec/create/$', pfCatalogFileSpecCreateView.as_view(),
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 521..530
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

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

    urlpatterns += (
        # urls for pfCatalogOptionType
        url(r'^pfcatalogoptiontype/$', pfCatalogOptionTypeListView.as_view(),
            name='business_pfcatalogoptiontype_list'),
        url(r'^pfcatalogoptiontype/create/$',
    Severity: Major
    Found in src/business/urls.py and 33 other locations - About 3 hrs to fix
    src/business/urls.py on lines 83..90
    src/business/urls.py on lines 118..124
    src/business/urls.py on lines 204..212
    src/business/urls.py on lines 215..224
    src/business/urls.py on lines 227..236
    src/business/urls.py on lines 239..248
    src/business/urls.py on lines 251..260
    src/business/urls.py on lines 263..272
    src/business/urls.py on lines 275..284
    src/business/urls.py on lines 287..296
    src/business/urls.py on lines 299..308
    src/business/urls.py on lines 311..319
    src/business/urls.py on lines 322..331
    src/business/urls.py on lines 334..343
    src/business/urls.py on lines 346..354
    src/business/urls.py on lines 357..365
    src/business/urls.py on lines 368..376
    src/business/urls.py on lines 379..388
    src/business/urls.py on lines 391..399
    src/business/urls.py on lines 402..411
    src/business/urls.py on lines 414..423
    src/business/urls.py on lines 426..434
    src/business/urls.py on lines 437..446
    src/business/urls.py on lines 449..458
    src/business/urls.py on lines 461..470
    src/business/urls.py on lines 473..482
    src/business/urls.py on lines 485..494
    src/business/urls.py on lines 497..506
    src/business/urls.py on lines 509..518
    src/business/urls.py on lines 533..542
    src/business/urls.py on lines 545..554
    src/business/urls.py on lines 557..565
    src/business/urls.py on lines 568..577

    Duplicated Code

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

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

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

    Tuning

    This issue has a mass of 64.

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

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

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

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

    Refactorings

    Further Reading

    There are no issues that match your filters.

    Category
    Status