Skip to content

WIP EndDeviceRegistrationHandler

8675eee
Select commit
Loading
Failed to load commit list.
Open

[Work in Progress 🚧] Add Gateway support at Server Side #1750

WIP EndDeviceRegistrationHandler
8675eee
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 6, 2026 in 1m 17s

Quality Gate failed

Annotations

Check warning on line 85 in leshan-lwm2m-server/src/main/java/org/eclipse/leshan/server/registration/EndDeviceRegistrationHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=eclipse-leshan_leshan&issues=AZ3-Rdz7U26C77mOPDy3&open=AZ3-Rdz7U26C77mOPDy3&pullRequest=1750

Check failure on line 534 in leshan-lwm2m-server/src/main/java/org/eclipse/leshan/server/registration/InMemoryRegistrationStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=eclipse-leshan_leshan&issues=AZ3-Rd0QU26C77mOPDy6&open=AZ3-Rd0QU26C77mOPDy6&pullRequest=1750

Check warning on line 534 in leshan-lwm2m-server/src/main/java/org/eclipse/leshan/server/registration/InMemoryRegistrationStore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

A "Brain Method" was detected. Refactor it to reduce at least one of the following metrics: LOC from 94 to 64, Complexity from 19 to 14, Nesting Level from 5 to 2, Number of Variables from 19 to 6.

See more on https://sonarcloud.io/project/issues?id=eclipse-leshan_leshan&issues=AZ3-Rd0QU26C77mOPDy7&open=AZ3-Rd0QU26C77mOPDy7&pullRequest=1750

Check warning on line 22 in leshan-lwm2m-core/src/main/java/org/eclipse/leshan/core/link/LinkUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a private constructor to hide the implicit public one.

See more on https://sonarcloud.io/project/issues?id=eclipse-leshan_leshan&issues=AZ3-RdwBU26C77mOPDy1&open=AZ3-RdwBU26C77mOPDy1&pullRequest=1750

Check warning on line 151 in leshan-lwm2m-server/src/main/java/org/eclipse/leshan/server/registration/EndDeviceRegistrationHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=eclipse-leshan_leshan&issues=AZ3-Rdz7U26C77mOPDy5&open=AZ3-Rdz7U26C77mOPDy5&pullRequest=1750

Check failure on line 70 in leshan-lwm2m-server/src/main/java/org/eclipse/leshan/server/registration/EndDeviceRegistrationHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=eclipse-leshan_leshan&issues=AZ3-Rdz7U26C77mOPDy2&open=AZ3-Rdz7U26C77mOPDy2&pullRequest=1750

Check warning on line 147 in leshan-lwm2m-server/src/main/java/org/eclipse/leshan/server/registration/EndDeviceRegistrationHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=eclipse-leshan_leshan&issues=AZ3-Rdz7U26C77mOPDy4&open=AZ3-Rdz7U26C77mOPDy4&pullRequest=1750