silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

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

    public static final UniqueKey<FBillRecord> KEY_F_BILL_CODE = Internal.createUniqueKey(FBill.F_BILL, DSL.name("KEY_F_BILL_CODE"), new TableField[] { FBill.F_BILL.CODE, FBill.F_BILL.ORDER_ID, FBill.F_BILL.SIGMA }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    public static final UniqueKey<FBillItemRecord> KEY_F_BILL_ITEM_CODE = Internal.createUniqueKey(FBillItem.F_BILL_ITEM, DSL.name("KEY_F_BILL_ITEM_CODE"), new TableField[] { FBillItem.F_BILL_ITEM.CODE, FBillItem.F_BILL_ITEM.BILL_ID, FBillItem.F_BILL_ITEM.SIGMA }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    public static final UniqueKey<FBookRecord> KEY_F_BOOK_SERIAL = Internal.createUniqueKey(FBook.F_BOOK, DSL.name("KEY_F_BOOK_SERIAL"), new TableField[] { FBook.F_BOOK.SERIAL, FBook.F_BOOK.ORDER_ID, FBook.F_BOOK.SIGMA }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    public static final UniqueKey<FPreAuthorizeRecord> KEY_F_PRE_AUTHORIZE_SERIAL = Internal.createUniqueKey(FPreAuthorize.F_PRE_AUTHORIZE, DSL.name("KEY_F_PRE_AUTHORIZE_SERIAL"), new TableField[] { FPreAuthorize.F_PRE_AUTHORIZE.SERIAL, FPreAuthorize.F_PRE_AUTHORIZE.BILL_ID, FPreAuthorize.F_PRE_AUTHORIZE.SIGMA }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    static Pre apeak(final boolean isMy) {
        if (isMy) {
            return Pooled.CC_PRE.pick(ApeakMyPre::new, ApeakMyPre.class.getName());
        } else {
            return Pooled.CC_PRE.pick(ApeakPre::new, ApeakPre.class.getName());
vertx-gaia/vertx-ams/src/main/jib/io/horizon/uca/crypto/ED.java on lines 22..30
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 38..44
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 63..69
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 93..99
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/op/Agonic.java on lines 50..56
vertx-pin/zero-wf/src/main/modulat/io/vertx/mod/workflow/uca/camunda/Io.java on lines 67..73

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

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

    public static final UniqueKey<ETeamRecord> KEY_E_TEAM_NAME = Internal.createUniqueKey(ETeam.E_TEAM, DSL.name("KEY_E_TEAM_NAME"), new TableField[] { ETeam.E_TEAM.NAME, ETeam.E_TEAM.DEPT_ID, ETeam.E_TEAM.TEAM_ID }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    public static final UniqueKey<XCategoryRecord> KEY_X_CATEGORY_APP_ID = Internal.createUniqueKey(XCategory.X_CATEGORY, DSL.name("KEY_X_CATEGORY_APP_ID"), new TableField[] { XCategory.X_CATEGORY.APP_ID, XCategory.X_CATEGORY.TYPE, XCategory.X_CATEGORY.CODE }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    static Io<Task> ioTask(final boolean active) {
        if (active) {
            return WfPool.CC_IO.pick(IoTask::new, IoTask.class.getName());
        } else {
            return WfPool.CC_IO.pick(IoTaskKo::new, IoTaskKo.class.getName());
vertx-gaia/vertx-ams/src/main/jib/io/horizon/uca/crypto/ED.java on lines 22..30
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 38..44
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 63..69
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 84..90
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 93..99
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/op/Agonic.java on lines 50..56

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

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

    static Pre key(final boolean isNew) {
        if (isNew) {
            return Pooled.CC_PRE.pick(UuidPre::new, UuidPre.class.getName());
        } else {
            return Pooled.CC_PRE.pick(KeyPre::new, KeyPre.class.getName());
vertx-gaia/vertx-ams/src/main/jib/io/horizon/uca/crypto/ED.java on lines 22..30
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 63..69
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 84..90
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/input/Pre.java on lines 93..99
vertx-pin/zero-crud/src/main/modulat/io/vertx/mod/crud/uca/op/Agonic.java on lines 50..56
vertx-pin/zero-wf/src/main/modulat/io/vertx/mod/workflow/uca/camunda/Io.java on lines 67..73

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

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

    public static final UniqueKey<SPacketRecord> KEY_S_PACKET_CODE = Internal.createUniqueKey(SPacket.S_PACKET, DSL.name("KEY_S_PACKET_CODE"), new TableField[] { SPacket.S_PACKET.CODE, SPacket.S_PACKET.RESOURCE, SPacket.S_PACKET.SIGMA }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    public static final Index X_TABULAR_IDXM_X_TABULAR_SIGMA_TYPE_ACTIVE = Internal.createIndex(DSL.name("IDXM_X_TABULAR_SIGMA_TYPE_ACTIVE"), XTabular.X_TABULAR, new OrderField[] { XTabular.X_TABULAR.SIGMA, XTabular.X_TABULAR.TYPE, XTabular.X_TABULAR.ACTIVE }, false);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 36..36
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 37..37
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 39..39
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 42..42
vertx-pin/zero-atom/src/main/java/cn/vertxup/atom/domain/Indexes.java on lines 29..29
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Indexes.java on lines 27..27
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 30..30
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 32..32
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 34..34
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 35..35
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Indexes.java on lines 30..30
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/domain/Indexes.java on lines 28..28
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/domain/Indexes.java on lines 30..30

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

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

    public static final Index M_RELATION_UPSTREAM = Internal.createIndex(DSL.name("UPSTREAM"), MRelation.M_RELATION, new OrderField[] { MRelation.M_RELATION.UPSTREAM, MRelation.M_RELATION.DOWNSTREAM, MRelation.M_RELATION.SIGMA }, false);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 36..36
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 37..37
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 39..39
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 42..42
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 43..43
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Indexes.java on lines 27..27
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 30..30
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 32..32
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 34..34
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 35..35
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Indexes.java on lines 30..30
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/domain/Indexes.java on lines 28..28
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/domain/Indexes.java on lines 30..30

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

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

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

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

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

Refactorings

Further Reading

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

            return Ux.Jooq.on(XSourceDao.class)
                /*
                 * Init second step: appId as condition, save X_APP
                 */
                .upsertAsync(this.whereUnique(appJson), source)
vertx-pin/zero-ambient/src/main/jib/io/horizon/spi/extension/AppInit.java on lines 30..39

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

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

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

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

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

Refactorings

Further Reading

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

        if (Ut.isNil(key)) {


            // Seeking by category second ( dim2 field )
            keyField = config.getString(OxCv.Field.DIM_2, OxCv.Field.CATEGORY_SECOND);
vertx-pin/zero-vie/src/main/jib/io/mature/extension/uca/plugin/indent/KeyIndent.java on lines 133..139

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

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

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

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

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

Refactorings

Further Reading

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

        if (hasEnvelop()) {
            hash = (37 * hash) + ENVELOP_FIELD_NUMBER;
            hash = (53 * hash) + getEnvelop().hashCode();
        }
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/IpcResponse.java on lines 297..300
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/StreamServerRequest.java on lines 351..354
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/StreamServerRequest.java on lines 357..360

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

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

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

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

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

Refactorings

Further Reading

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

        final Future<Envelop> returnValue = Fn.failOr(
            () -> ReturnTransit.build(() -> this.method.invoke(proxy, envelop),
                this.getClass(), this.method),
            this.method
        );
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/up/uca/micro/ipc/tower/FinalTransit.java on lines 28..32

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

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

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

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

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

Refactorings

Further Reading

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

        public Builder setEnvelop(
            io.vertx.mod.ipc.eon.IpcEnvelop.Builder builderForValue) {
            if (envelopBuilder_ == null) {
                envelop_ = builderForValue.build();
                onChanged();
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/IpcResponse.java on lines 621..631
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/StreamClientRequest.java on lines 457..467
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/StreamServerRequest.java on lines 1204..1214

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

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

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

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

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

Refactorings

Further Reading

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

        final Future<Envelop> returnValue = Fn.failOr(
            () -> ReturnTransit.build(() -> this.method.invoke(proxy, data),
                this.getClass(), this.method),
            this.method
        );
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/up/uca/micro/ipc/tower/NodeTransit.java on lines 30..34

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

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

    public static final UniqueKey<FBillRecord> KEY_F_BILL_SERIAL = Internal.createUniqueKey(FBill.F_BILL, DSL.name("KEY_F_BILL_SERIAL"), new TableField[] { FBill.F_BILL.SERIAL, FBill.F_BILL.ORDER_ID, FBill.F_BILL.SIGMA }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 67..67
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

    public static final UniqueKey<FSettlementItemRecord> KEY_F_SETTLEMENT_ITEM_SERIAL = Internal.createUniqueKey(FSettlementItem.F_SETTLEMENT_ITEM, DSL.name("KEY_F_SETTLEMENT_ITEM_SERIAL"), new TableField[] { FSettlementItem.F_SETTLEMENT_ITEM.SERIAL, FSettlementItem.F_SETTLEMENT_ITEM.SETTLEMENT_ID, FSettlementItem.F_SETTLEMENT_ITEM.SIGMA }, true);
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 38..38
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 40..40
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 52..52
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 56..56
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Keys.java on lines 58..58
vertx-pin/zero-battery/src/main/java/cn/vertxup/battery/domain/Keys.java on lines 32..32
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 41..41
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 46..46
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 50..50
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/Keys.java on lines 52..52
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 30..30
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 32..32
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 33..33
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 35..35
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 36..36
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 38..38
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 59..59
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 61..61
vertx-pin/zero-fm/src/main/java/cn/vertxup/fm/domain/Keys.java on lines 65..65
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 33..33
vertx-pin/zero-is/src/main/java/cn/vertxup/integration/domain/Keys.java on lines 36..36
vertx-pin/zero-jet/src/main/java/cn/vertxup/jet/domain/Keys.java on lines 31..31
vertx-pin/zero-psi/src/main/java/cn/vertxup/psi/domain/Keys.java on lines 46..46
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 37..37
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 40..40
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 44..44
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 57..57
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 27..27
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 38..38
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 39..39
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 44..44

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

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

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

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

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

Refactorings

Further Reading

Severity
Category
Status
Source
Language