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

            return Ux.Jooq.on(XAppDao.class)
                /*
                 * Init first step: UPSERT ( Insert / Update )
                 */
                .upsertAsync(this.whereUnique(appJson), app)
vertx-pin/zero-ambient/src/main/jib/io/horizon/spi/extension/SourceInit.java on lines 31..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 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_TICKET_IDXM_W_TICKET_SIGMA_TYPE_STATUS = Internal.createIndex(DSL.name("IDXM_W_TICKET_SIGMA_TYPE_STATUS"), WTicket.W_TICKET, new OrderField[] { WTicket.W_TICKET.SIGMA, WTicket.W_TICKET.PHASE, WTicket.W_TICKET.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 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 I_JOB_IDXM_I_JOB_GROUP_TYPE_SIGMA = Internal.createIndex(DSL.name("IDXM_I_JOB_GROUP_TYPE_SIGMA"), IJob.I_JOB, new OrderField[] { IJob.I_JOB.SIGMA, IJob.I_JOB.GROUP, IJob.I_JOB.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-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 30..30
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 32..32
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 34..34
vertx-pin/zero-rbac/src/main/java/cn/vertxup/rbac/domain/Indexes.java on lines 35..35
vertx-pin/zero-ui/src/main/java/cn/vertxup/ui/domain/Indexes.java on lines 30..30
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/domain/Indexes.java on lines 28..28
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/domain/Indexes.java on lines 30..30

Duplicated Code

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

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

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

Tuning

This issue has a mass of 44.

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

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

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

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

Refactorings

Further Reading

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

    public static final Index X_CATEGORY_IDXM_X_CATEGORY_APP_ID_TYPE_ACTIVE = Internal.createIndex(DSL.name("IDXM_X_CATEGORY_APP_ID_TYPE_ACTIVE"), XCategory.X_CATEGORY, new OrderField[] { XCategory.X_CATEGORY.APP_ID, 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 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 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 90..96
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.envelopBuilder_ == null) {
                this.envelop_ = null;
            } else {
                this.envelop_ = null;
                this.envelopBuilder_ = 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/IpcRequest.java on lines 692..697

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 (input instanceof JsonObject) {
            final JsonObject inputJ = (JsonObject) input;
            final JsonObject processedJ = (JsonObject) processed;
            return build(inputJ, processedJ)
                .compose(json -> Future.succeededFuture((T) json));
vertx-gaia/vertx-ams/src/main/jib/io/horizon/uca/aop/AspectData.java on lines 21..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 44.

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

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

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

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

Refactorings

Further Reading

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

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

Duplicated Code

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

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

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

Tuning

This issue has a mass of 44.

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

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

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

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

Refactorings

Further Reading

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

    protected JsonObject condSigma(final String sigma, final JsonArray types, final String code) {
        final JsonObject criteria = Ux.whereAnd();
        criteria.put(KName.SIGMA, sigma);
        this.condition(criteria, types, code);
        return criteria;
vertx-pin/zero-ambient/src/main/modulat/io/vertx/mod/ambient/uca/digital/AbstractAide.java on lines 30..35

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

    @Override
    public <T> Future<JsonArray> updateAsync(final Set<String> keys, final JsonArray params, final MetaInstance metadata) {
        // Batch Update
        return this.identifierA((identifier, dataArray) ->
            Ux.channel(Atom.class, JsonArray::new,
vertx-pin/zero-wf/src/main/modulat/io/vertx/mod/workflow/uca/modeling/ActionDynamic.java on lines 29..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 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 2 locations. Consider refactoring.
Open

                if (Objects.isNull(clazz)) {
                    try {
                        clazz = ClassLoader.getSystemClassLoader().loadClass(name);
                    } catch (final Throwable ex) {
                        LOGGER.error("[T] (System) Error occurs in reflection, details: {}",
vertx-gaia/vertx-ams/src/main/java/io/horizon/util/HInstance.java on lines 126..133

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

    public <T> T upsert(final JsonObject criteria, final T updated, final String pojo) {
        criteria.put(VString.EMPTY, Boolean.TRUE);                                                  // Unique Forced
        return this.writer.upsert(JqFlow.create(this.analyzer, pojo).inputQrJ(criteria), updated);
    }
vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/UxJooq.java on lines 901..904

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

    protected CMessage messageListField(final ProceedingJoinPoint point) {
        final String field = this.argument(point, 0);
        final Object value = this.argument(point, 1);
        return this.messageList(field, value, point);
    }
vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/cache/AbstractAside.java on lines 48..52

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

    interface Flow {
        // Fetch Workflow by code
        String BY_CODE = KeIpc.Workflow.EVENT + "W-FLOW/BY/CODE";
        // Fetch Todo + Task based on todo Id
        String BY_TODO = KeIpc.Workflow.EVENT + "W-FLOW/BY/KEY";
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/cv/HighWay.java on lines 70..74

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

    @Override
    public <T> Future<JsonObject> updateAsync(final String key, final JsonObject params, final MetaInstance metadata) {
        return this.identifierJ((identifier, data) ->
            // Single Update
            Ux.channel(Atom.class, JsonObject::new,
vertx-pin/zero-wf/src/main/modulat/io/vertx/mod/workflow/uca/modeling/ActionDynamic.java on lines 55..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 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 2 locations. Consider refactoring.
Open

    public <T> JsonObject updateJ(final JsonObject criteria, final JsonObject data, final String pojo) {
        final JqFlow flow = JqFlow.create(this.analyzer, pojo);
        return flow.output(this.update(criteria, (T) flow.input(data), pojo));
    }
vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/UxJooq.java on lines 1078..1081

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

    public static List<ProfileRole> eager(final List<ProfileRole> roles) {
        final Integer groupPriority = findGroupPriority(roles, true);
        return roles.stream()
            .filter(role -> groupPriority.equals(role.getGroup().getPriority()))
            .collect(Collectors.toList());
vertx-pin/zero-rbac/src/main/modulat/io/vertx/mod/rbac/authorization/Amalgam.java on lines 74..79

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

        public Builder setNameBytes(
            final com.google.protobuf.ByteString value) {
            if (value == null) {
                throw new NullPointerException();
            }
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/IpcEnvelop.java on lines 777..787
vertx-semper/aeon-eternal/aeon-inlet/src/main/java/io/vertx/mod/ipc/eon/IpcStatus.java on lines 627..637

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

    public <T> T update(final JsonObject criteria, final T updated, final String pojo) {
        criteria.put(VString.EMPTY, Boolean.TRUE);                                                  // Unique Forced
        return this.writer.update(JqFlow.create(this.analyzer, pojo).inputQrJ(criteria), updated);
    }
vertx-gaia/vertx-up/src/main/jib/io/vertx/up/uca/jooq/UxJooq.java on lines 1065..1068

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

    interface Report {
        String TICKET_LIST = KeIpc.Workflow.EVENT + "REPORT/LIST";
        String TICKET_ACTIVITY = KeIpc.Workflow.EVENT + "REPORT/ACTIVITY";
        String ASSETS_LIST = KeIpc.Workflow.EVENT + "REPORT/ASSETS/LIST";
    }
vertx-pin/zero-wf/src/main/java/cn/vertxup/workflow/cv/HighWay.java on lines 56..63

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