silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

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

    interface Type {
        // INIT Server数据类型
        // 整数==================================
        /** 0.TINYINT **/
        //String TINYINT = "TINYINT";
vertx-gaia/vertx-ams/src/main/java/io/horizon/util/__ZERO.java on lines 31..41
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 33..70
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 75..114
vertx-pin/zero-vie/src/main/environment/io/mature/extension/cv/OxCv.java on lines 106..134
vertx-pin/zero-vista/infix-mysql/src/main/java/io/mature/extension/infix/mysql5/cv/MySqlWord.java on lines 76..92

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

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

    interface Field {

        /**
         * <value>lifecycle</value>,「CMDB」生命周期专用字段名。
         */
vertx-gaia/vertx-ams/src/main/java/io/horizon/util/__ZERO.java on lines 31..41
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 33..70
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 75..114
vertx-pin/zero-vista/infix-mysql/src/main/java/io/mature/extension/infix/mysql5/cv/MySqlWord.java on lines 76..92
vertx-pin/zero-vista/infix-oracle/src/main/java/io/mature/extension/infix/oracle12/cv/OracleWord.java on lines 18..119

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

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

    interface Object { // 对象关键字
        /**
         * 0.数据库关键字
         **/
        String DATABASE = "DATABSE";
vertx-gaia/vertx-ams/src/main/java/io/horizon/util/__ZERO.java on lines 31..41
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 75..114
vertx-pin/zero-vie/src/main/environment/io/mature/extension/cv/OxCv.java on lines 106..134
vertx-pin/zero-vista/infix-mysql/src/main/java/io/mature/extension/infix/mysql5/cv/MySqlWord.java on lines 76..92
vertx-pin/zero-vista/infix-oracle/src/main/java/io/mature/extension/infix/oracle12/cv/OracleWord.java on lines 18..119

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

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

    public static final UniqueKey<SViewRecord> KEY_S_VIEW_OWNER_TYPE = Internal.createUniqueKey(SView.S_VIEW, DSL.name("KEY_S_VIEW_OWNER_TYPE"), new TableField[] { SView.S_VIEW.OWNER_TYPE, SView.S_VIEW.OWNER, SView.S_VIEW.RESOURCE_ID, SView.S_VIEW.NAME, SView.S_VIEW.POSITION }, true);
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 26..26
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 29..29
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 36..36
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 46..46

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

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

    public EAssetRecord(String key, String name, String code, String type, String status, String modelNumber, String unit, Long num, Long numDeprecating, Long numDeprecated, Long numUsing, Long numUsed, String wayChange, String wayDeprecate, String wayAccording, LocalDateTime usedAt, String usedBy, String usedStatus, BigDecimal vOriginal, BigDecimal vTax, BigDecimal vDeReady, BigDecimal vNetJunk, BigDecimal vNet, BigDecimal vNetAmount, BigDecimal vDeprecatedM, BigDecimal vDeprecatedA, String kFixed, String kDeprecated, String kAssignment, String kTax, String kDevalue, String kChange, String customerId, LocalDateTime expiredAt, String expiredComment, String userId, String storeId, String deptId, String companyId, String parentId, String comment, String sigma, String language, Boolean active, String metadata, LocalDateTime enterAt, String enterBy, LocalDateTime accountAt, String accountBy, LocalDateTime scrapAt, String scrapBy, LocalDateTime createdAt, String createdBy, LocalDateTime updatedAt, String updatedBy) {
        super(EAsset.E_ASSET);

        setKey(key);
        setName(name);
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/tables/pojos/EAsset.java on lines 136..248

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

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 (Envelop.class == tCls) {
            final Future<Envelop> result = Ut.invoke(proxy, method.getName(), envelop);

            // Null Pointer return value checking
            Fn.out(Objects.isNull(result), _500ReturnNullException.class, getClass(), method);
vertx-gaia/vertx-up/src/main/web/io/vertx/up/backbone/invoker/AsyncInvoker.java on lines 47..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 56.

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 (TodoStatus.REDO == todoStatus) {
            // 驳回
            generated.setStatus(TodoStatus.PENDING.name());
            // 临时版本
            if (Objects.isNull(generated.getToUser())) {
vertx-pin/zero-wf/src/main/modulat/io/vertx/mod/workflow/uca/conformity/GVm.java on lines 37..46

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

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

    public static final UniqueKey<UiVisitorRecord> KEY_UI_VISITOR_PRIMARY = Internal.createUniqueKey(UiVisitor.UI_VISITOR, DSL.name("KEY_UI_VISITOR_PRIMARY"), new TableField[] { UiVisitor.UI_VISITOR.IDENTIFIER, UiVisitor.UI_VISITOR.PAGE, UiVisitor.UI_VISITOR.PATH, UiVisitor.UI_VISITOR.TYPE, UiVisitor.UI_VISITOR.SIGMA }, true);
Severity: Major
Found in vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java and 4 other locations - About 45 mins to fix
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 54..54
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 26..26
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 29..29
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 36..36

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

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

    interface Metadata {
        /* 数据库名 */
        String DATABASE = "TABLE_CATALOG";
        /* 表名 */
        String TABLE = "TABLE_NAME";
vertx-gaia/vertx-ams/src/main/java/io/horizon/util/__ZERO.java on lines 31..41
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 33..70
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 75..114
vertx-pin/zero-vie/src/main/environment/io/mature/extension/cv/OxCv.java on lines 106..134
vertx-pin/zero-vista/infix-oracle/src/main/java/io/mature/extension/infix/oracle12/cv/OracleWord.java on lines 18..119

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

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 tree.stream().filter(Objects::nonNull).map(each -> (JsonObject) each)
            .filter(each -> Objects.nonNull(each.getString(idField)))
            .filter(each -> each.getString(idField).equals(item.getString(parentField)))
vertx-gaia/vertx-co/src/main/java/io/vertx/up/util/Collection.java on lines 101..103

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

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

    public static final UniqueKey<MyTplRecord> KEY_MY_TPL_TYPE = Internal.createUniqueKey(MyTpl.MY_TPL, DSL.name("KEY_MY_TPL_TYPE"), new TableField[] { MyTpl.MY_TPL.TYPE, MyTpl.MY_TPL.TPL_TYPE, MyTpl.MY_TPL.TPL_ID, MyTpl.MY_TPL.OWNER, MyTpl.MY_TPL.OWNER_TYPE }, true);
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Keys.java on lines 54..54
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 26..26
vertx-pin/zero-tpl/src/main/java/cn/vertxup/tpl/domain/Keys.java on lines 29..29
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Keys.java on lines 46..46

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

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

    public EAsset(
        String key,
        String name,
        String code,
        String type,
vertx-pin/zero-erp/src/main/java/cn/vertxup/erp/domain/tables/records/EAssetRecord.java on lines 1074..1132

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

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

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
vertx-gaia/vertx-up/src/main/macro/io/aeon/experiment/shape/AbstractHAtom.java on lines 163..173
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ProfileGroup.java on lines 110..120

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

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 List<JsonObject> children = tree.stream().filter(Objects::nonNull).map(each -> (JsonObject) each)
            .filter(each -> Objects.nonNull(each.getString(parentField)))
            .filter(each -> each.getString(parentField).equals(item.getString(idField)))
vertx-gaia/vertx-co/src/main/java/io/vertx/up/util/Collection.java on lines 112..114

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

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 Supplier<FieldReport> supplier = () -> {
            final FieldReport report = new FieldReport();
            report.setType(ControlType.FORM);
            report.setIdentifier(atom.identifier());
            report.setControl(form.getString(KName.CODE));
vertx-pin/zero-vie/src/main/java/io/mature/extension/refine/OxCompareUi.java on lines 72..78

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

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

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/modeling/element/DataRow.java on lines 215..225
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ProfileGroup.java on lines 110..120

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

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

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
vertx-gaia/vertx-up/src/main/macro/io/aeon/experiment/shape/AbstractHAtom.java on lines 163..173
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/modeling/element/DataRow.java on lines 215..225

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

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

    interface IoStream {
        String INF_PATH = "「I/O」The system class Stream try to data from {0}, got stream: {1}.";
        String INF_CUR = "「I/O」Current path is scanned by the system, up.god.file existing ? {0}.";
        String __FILE_ROOT = "「DevOps」root = {0}, file = {1}";
        String __FILE_INPUT_STREAM = "「DevOps」\t\t{0} 1. new FileInputStream(File)";
Severity: Major
Found in vertx-gaia/vertx-ams/src/main/java/io/horizon/util/__ZERO.java and 5 other locations - About 45 mins to fix
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 33..70
vertx-pin/zero-atom/src/main/modulat/io/vertx/mod/atom/cv/sql/SqlWord.java on lines 75..114
vertx-pin/zero-vie/src/main/environment/io/mature/extension/cv/OxCv.java on lines 106..134
vertx-pin/zero-vista/infix-mysql/src/main/java/io/mature/extension/infix/mysql5/cv/MySqlWord.java on lines 76..92
vertx-pin/zero-vista/infix-oracle/src/main/java/io/mature/extension/infix/oracle12/cv/OracleWord.java on lines 18..119

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

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 (Envelop.class == tCls) {
            // Input type is Envelop, input directly
            final Future<Envelop> result = Ut.invoke(proxy, method.getName(), envelop);

            // Null Pointer return value checking
vertx-gaia/vertx-up/src/main/web/io/vertx/up/backbone/invoker/FutureInvoker.java on lines 54..61

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

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

                            rules.ruleStrong().forEach(rule -> rule.getFields().forEach(field -> {
                                /*
                                 * 以旧数据中的强连接字段为主
                                 */
                                final Object oldV = oldRef.getValue(field);
vertx-gaia/vertx-ams/src/main/java/io/horizon/util/CMap.java on lines 20..26

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

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