silentbalanceyh/vertx-zero

View on GitHub

Showing 9,050 of 9,050 total issues

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

package io.horizon.spi.dict;

import cn.vertxup.erp.domain.tables.daos.ECompanyDao;
import io.horizon.spi.component.DictionaryPlugin;
import io.vertx.core.Future;
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/DepartmentDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/TeamDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/FloorDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/TentDict.java on lines 1..30
vertx-pin/zero-psi/src/main/jib/io/horizon/spi/dict/WhDict.java on lines 1..25
vertx-pin/zero-rbac/src/main/jib/io/horizon/spi/dict/GroupDict.java on lines 1..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 66.

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

package io.horizon.spi.dict;

import cn.vertxup.lbs.domain.tables.daos.LFloorDao;
import io.horizon.spi.component.DictionaryPlugin;
import io.vertx.core.Future;
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/CompanyDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/DepartmentDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/TeamDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/TentDict.java on lines 1..30
vertx-pin/zero-psi/src/main/jib/io/horizon/spi/dict/WhDict.java on lines 1..25
vertx-pin/zero-rbac/src/main/jib/io/horizon/spi/dict/GroupDict.java on lines 1..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 66.

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

package io.horizon.spi.dict;

import cn.vertxup.lbs.domain.tables.daos.LTentDao;
import io.horizon.spi.component.DictionaryPlugin;
import io.vertx.core.Future;
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/CompanyDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/DepartmentDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/TeamDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/FloorDict.java on lines 1..30
vertx-pin/zero-psi/src/main/jib/io/horizon/spi/dict/WhDict.java on lines 1..25
vertx-pin/zero-rbac/src/main/jib/io/horizon/spi/dict/GroupDict.java on lines 1..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 66.

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

    private static final ConcurrentMap<EmTraffic.Channel, Class<?>> EXPECTED_MAP =
        new ConcurrentHashMap<EmTraffic.Channel, Class<?>>() {
            {
                this.put(EmTraffic.Channel.ADAPTOR, AdaptorChannel.class);
                this.put(EmTraffic.Channel.CONNECTOR, ConnectorChannel.class);
vertx-pin/zero-jet/src/main/modulat/io/vertx/mod/jet/refine/ZERO.java on lines 14..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 66.

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

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

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

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

Refactorings

Further Reading

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

    void onEnHeader(final Cell cell) {
        final DyeCell dyeCell = Cc.pool(this.stylePool, "HEADER",
            () -> DyeCell.create(this.workbook)
                .color("000000", "FFEC8B")
                .align(HorizontalAlignment.CENTER)
vertx-ifx/zero-ifx-excel/src/main/java/io/vertx/up/plugin/excel/tpl/BlueDye.java on lines 44..52
vertx-ifx/zero-ifx-excel/src/main/java/io/vertx/up/plugin/excel/tpl/BlueDye.java on lines 54..62

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

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

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
vertx-gaia/vertx-ams/src/main/modeler/io/modello/atom/normalize/RDao.java on lines 47..57
vertx-gaia/vertx-up/src/main/java/io/vertx/up/atom/worker/Receipt.java on lines 65..75
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ScRole.java on lines 147..157

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

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

package io.horizon.spi.dict;

import cn.vertxup.psi.domain.tables.daos.PWhDao;
import io.horizon.spi.component.DictionaryPlugin;
import io.vertx.core.Future;
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/CompanyDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/DepartmentDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/TeamDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/FloorDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/TentDict.java on lines 1..30
vertx-pin/zero-rbac/src/main/jib/io/horizon/spi/dict/GroupDict.java on lines 1..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 66.

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

package io.horizon.spi.dict;

import cn.vertxup.erp.domain.tables.daos.EDeptDao;
import io.horizon.spi.component.DictionaryPlugin;
import io.vertx.core.Future;
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/CompanyDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/TeamDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/FloorDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/TentDict.java on lines 1..30
vertx-pin/zero-psi/src/main/jib/io/horizon/spi/dict/WhDict.java on lines 1..25
vertx-pin/zero-rbac/src/main/jib/io/horizon/spi/dict/GroupDict.java on lines 1..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 66.

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

package io.horizon.spi.dict;

import cn.vertxup.rbac.domain.tables.daos.SGroupDao;
import io.horizon.spi.component.DictionaryPlugin;
import io.vertx.core.Future;
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/CompanyDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/DepartmentDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/TeamDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/FloorDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/TentDict.java on lines 1..30
vertx-pin/zero-psi/src/main/jib/io/horizon/spi/dict/WhDict.java on lines 1..25

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

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

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
vertx-gaia/vertx-up/src/main/java/io/vertx/up/atom/worker/Receipt.java on lines 65..75
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ProfileRole.java on lines 75..85
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ScRole.java on lines 147..157

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

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

package io.horizon.spi.dict;

import cn.vertxup.erp.domain.tables.daos.ETeamDao;
import io.horizon.spi.component.DictionaryPlugin;
import io.vertx.core.Future;
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/CompanyDict.java on lines 1..30
vertx-pin/zero-erp/src/main/jib/io/horizon/spi/dict/DepartmentDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/FloorDict.java on lines 1..30
vertx-pin/zero-lbs/src/main/jib/io/horizon/spi/dict/TentDict.java on lines 1..30
vertx-pin/zero-psi/src/main/jib/io/horizon/spi/dict/WhDict.java on lines 1..25
vertx-pin/zero-rbac/src/main/jib/io/horizon/spi/dict/GroupDict.java on lines 1..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 66.

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

            if (!other.backoffMs_.isEmpty()) {
                if (backoffMs_.isEmpty()) {
                    backoffMs_ = other.backoffMs_;
                    bitField0_ = (bitField0_ & ~0x00000002);
                } else {
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/StreamServerRequest.java on lines 616..625

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

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

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

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

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

Refactorings

Further Reading

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

    void onModel(final Cell cell) {
        final DyeCell dyeCell = Cc.pool(this.stylePool, "MODEL",
            () -> DyeCell.create(this.workbook)
                .color("FFFFFF", "696969")
                .align(HorizontalAlignment.CENTER)
vertx-ifx/zero-ifx-excel/src/main/java/io/vertx/up/plugin/excel/tpl/BlueDye.java on lines 44..52
vertx-ifx/zero-ifx-excel/src/main/java/io/vertx/up/plugin/excel/tpl/BlueDye.java on lines 76..84

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

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

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
vertx-gaia/vertx-ams/src/main/modeler/io/modello/atom/normalize/RDao.java on lines 47..57
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ProfileRole.java on lines 75..85
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ScRole.java on lines 147..157

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

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

    @Override
    public boolean equals(final Object o) {
        if (this == o) {
            return true;
        }
vertx-gaia/vertx-ams/src/main/modeler/io/modello/atom/normalize/RDao.java on lines 47..57
vertx-gaia/vertx-up/src/main/java/io/vertx/up/atom/worker/Receipt.java on lines 65..75
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/logged/ProfileRole.java on lines 75..85

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

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

    ConcurrentMap<EmTraffic.Channel, Class<?>> CHANNELS = new ConcurrentHashMap<>() {
        {
            this.put(EmTraffic.Channel.ACTOR, ActorChannel.class);
            this.put(EmTraffic.Channel.DIRECTOR, DirectorChannel.class);
            this.put(EmTraffic.Channel.ADAPTOR, AdaptorChannel.class);
vertx-pin/zero-jet/src/main/modulat/io/vertx/mod/jet/uca/micro/JtPandora.java on lines 32..40

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

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

    static Future<JsonObject> handle(final JsonObject response) {
        LOGGER.info(Info.FEIGN_RESPONSE, response);
        Fn.outWeb(!QiyCodes.SUCCESS.equals(response.getString(CODE)), LOGGER,
            _401QiyAuthorizedException.class, QiyRepdor.class,
            response.getString(CODE),
vertx-ifx/zero-ifx-iqiy/src/main/java/io/vertx/up/plugin/qiy/QiyRepdor.java on lines 25..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 66.

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

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

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

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

Refactorings

Further Reading

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

    void onTable(final Cell cell) {
        final DyeCell dyeCell = Cc.pool(this.stylePool, "TABLE",
            () -> DyeCell.create(this.workbook)
                .color("FFFFFF", "3EB7FF")
                .align(HorizontalAlignment.CENTER)
vertx-ifx/zero-ifx-excel/src/main/java/io/vertx/up/plugin/excel/tpl/BlueDye.java on lines 54..62
vertx-ifx/zero-ifx-excel/src/main/java/io/vertx/up/plugin/excel/tpl/BlueDye.java on lines 76..84

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

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

                if (!other.responseParams_.isEmpty()) {
                    if (responseParams_.isEmpty()) {
                        responseParams_ = other.responseParams_;
                        bitField0_ = (bitField0_ & ~0x00000002);
                    } else {
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/RetryInfo.java on lines 463..472

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

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

    static Future<JsonObject> complete(final JsonObject response) {
        LOGGER.info(Info.FEIGN_RESPONSE, response);
        Fn.outWeb(!QiyCodes.SUCCESS.equals(response.getString(CODE)), LOGGER,
            _401QiyExecuteException.class, QiyRepdor.class,
            response.getString(CODE),
vertx-ifx/zero-ifx-iqiy/src/main/java/io/vertx/up/plugin/qiy/QiyRepdor.java on lines 16..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 66.

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