silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

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

                if (synonym.containsKey(field)) {
                    // Renaming
                    final String targetField = synonym.getString(field);
                    typedResult.put(targetField, type);
                } else {
vertx-gaia/vertx-up/src/main/macro/io/aeon/experiment/mixture/fn/HOneHybrid.java on lines 50..57

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<SActionRecord> KEY_S_ACTION_URI = Internal.createUniqueKey(SAction.S_ACTION, DSL.name("KEY_S_ACTION_URI"), new TableField[] { SAction.S_ACTION.URI, SAction.S_ACTION.METHOD, SAction.S_ACTION.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 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<PPosRecord> KEY_P_POS_CODE = Internal.createUniqueKey(PPos.P_POS, DSL.name("KEY_P_POS_CODE"), new TableField[] { PPos.P_POS.CODE, PPos.P_POS.SIGMA, PPos.P_POS.WH_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 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-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 15 locations. Consider refactoring.
Open

    public static final Index X_CATEGORY_IDXM_X_CATEGORY_SIGMA_TYPE_ACTIVE = Internal.createIndex(DSL.name("IDXM_X_CATEGORY_SIGMA_TYPE_ACTIVE"), XCategory.X_CATEGORY, new OrderField[] { XCategory.X_CATEGORY.SIGMA, XCategory.X_CATEGORY.TYPE, XCategory.X_CATEGORY.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 42..42
vertx-pin/zero-ambient/src/main/java/cn/vertxup/ambient/domain/Indexes.java on lines 43..43
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

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

        return new ConcurrentHashMap<ChangeFlag, JsonArray>() {
            {
                this.put(ChangeFlag.ADD, queueA);
                this.put(ChangeFlag.DELETE, queueD);
                this.put(ChangeFlag.UPDATE, queueU);
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/refine/AoCompare.java on lines 415..421
vertx-pin/zero-is/src/main/modulat/io/vertx/mod/is/refine/IsDir.java on lines 193..199

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

            if (this.responseStatusBuilder_ == null) {
                this.responseStatus_ = null;
            } else {
                this.responseStatus_ = null;
                this.responseStatusBuilder_ = null;
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/IpcRequest.java on lines 680..685
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/StreamServerResponse.java on lines 359..364

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 ( dim1 field )
            keyField = config.getString(OxCv.Field.DIM_1, OxCv.Field.CATEGORY_FIRST);
vertx-pin/zero-vie/src/main/jib/io/mature/extension/uca/plugin/indent/KeyIndent.java on lines 125..131

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 (hasResponseStatus()) {
            hash = (37 * hash) + RESPONSE_STATUS_FIELD_NUMBER;
            hash = (53 * hash) + getResponseStatus().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/StreamClientRequest.java on lines 167..170
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/StreamServerRequest.java on lines 351..354

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<XTabularRecord> KEY_X_TABULAR_SIGMA = Internal.createUniqueKey(XTabular.X_TABULAR, DSL.name("KEY_X_TABULAR_SIGMA"), new TableField[] { XTabular.X_TABULAR.SIGMA, XTabular.X_TABULAR.TYPE, XTabular.X_TABULAR.CODE }, 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-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 32 locations. Consider refactoring.
Open

    public static final UniqueKey<FPreAuthorizeRecord> KEY_F_PRE_AUTHORIZE_CODE = Internal.createUniqueKey(FPreAuthorize.F_PRE_AUTHORIZE, DSL.name("KEY_F_PRE_AUTHORIZE_CODE"), new TableField[] { FPreAuthorize.F_PRE_AUTHORIZE.CODE, 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 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 ED rsa(final boolean p2v) {
        if (p2v) {
            // Public -> Private
            return CACHE.CCT_ED.pick(EDPVRsa::new, EDPVRsa.class.getName());
        } else {
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
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<SPermSetRecord> KEY_S_PERM_SET_NAME = Internal.createUniqueKey(SPermSet.S_PERM_SET, DSL.name("KEY_S_PERM_SET_NAME"), new TableField[] { SPermSet.S_PERM_SET.NAME, SPermSet.S_PERM_SET.CODE, SPermSet.S_PERM_SET.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 40..40
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_ACTIVITY_RULE_IDXM_X_ACTIVITY_RULE_DEFINITION_TASK_KEY = Internal.createIndex(DSL.name("IDXM_X_ACTIVITY_RULE_DEFINITION_TASK_KEY"), XActivityRule.X_ACTIVITY_RULE, new OrderField[] { XActivityRule.X_ACTIVITY_RULE.DEFINITION_KEY, XActivityRule.X_ACTIVITY_RULE.TASK_KEY, XActivityRule.X_ACTIVITY_RULE.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 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-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

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

        } else if (input instanceof JsonArray) {
            final JsonArray inputA = (JsonArray) input;
            final JsonArray processedA = (JsonArray) processed;
            return build(inputA, processedA)
                .compose(json -> Future.succeededFuture((T) json));
vertx-gaia/vertx-ams/src/main/jib/io/horizon/uca/aop/AspectData.java on lines 16..21

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

    @Override
    public Behaviour bind(final MetaInstance metadata) {
        Objects.requireNonNull(metadata);
        this.todoKit = new UTicket(metadata);
        this.linkageKit = new ULinkage(metadata);
vertx-pin/zero-wf/src/main/modulat/io/vertx/mod/workflow/uca/central/AbstractMovement.java on lines 24..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

    @Override
    public Behaviour bind(final MetaInstance metadata) {
        Objects.requireNonNull(metadata);
        this.todoKit = new UTicket(metadata);
        this.linkageKit = new ULinkage(metadata);
vertx-pin/zero-wf/src/main/modulat/io/vertx/mod/workflow/uca/central/AbstractMoveOn.java on lines 17..23

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<XNumberRecord> KEY_X_NUMBER_APP_ID = Internal.createUniqueKey(XNumber.X_NUMBER, DSL.name("KEY_X_NUMBER_APP_ID"), new TableField[] { XNumber.X_NUMBER.APP_ID, XNumber.X_NUMBER.IDENTIFIER, XNumber.X_NUMBER.CODE }, 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 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 32 locations. Consider refactoring.
Open

    public static final UniqueKey<IIntegrationRecord> KEY_I_INTEGRATION_ENDPOINT = Internal.createUniqueKey(IIntegration.I_INTEGRATION, DSL.name("KEY_I_INTEGRATION_ENDPOINT"), new TableField[] { IIntegration.I_INTEGRATION.ENDPOINT, IIntegration.I_INTEGRATION.PATH, IIntegration.I_INTEGRATION.APP_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 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-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 15 locations. Consider refactoring.
Open

    public static final Index UI_FIELD_IDXM_UI_FIELD_CONTROL_ID_X_Y = Internal.createIndex(DSL.name("IDXM_UI_FIELD_CONTROL_ID_X_Y"), UiField.UI_FIELD, new OrderField[] { UiField.UI_FIELD.CONTROL_ID, UiField.UI_FIELD.X_POINT, UiField.UI_FIELD.Y_POINT }, 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-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-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 W_TODO_IDXM_W_TODO_SIGMA_TYPE_STATUS = Internal.createIndex(DSL.name("IDXM_W_TODO_SIGMA_TYPE_STATUS"), WTodo.W_TODO, new OrderField[] { WTodo.W_TODO.SIGMA, WTodo.W_TODO.STATUS, WTodo.W_TODO.TYPE }, 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-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

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