Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt geo position of nodes to meet electrical line length #9

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Fix last compiling issues

97063ba
Select commit
Loading
Failed to load commit list.
Draft

Adapt geo position of nodes to meet electrical line length #9

Fix last compiling issues
97063ba
Select commit
Loading
Failed to load commit list.
SonarQubeGithubPRChecks / NetPad++ Sonarqube Results failed Oct 17, 2024 in 14s

Quality Gate failed

Failed

  • 12.31% Duplicated Lines (%) on New Code (is greater than 5.00%)

Analysis Details

21 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 21 Code Smells

Coverage and Duplications

  • Coverage No coverage information (26.80% Estimated after merge)
  • Duplications 12.31% Duplicated Code (2.70% Estimated after merge)

Project ID: edu.ie3:NetPadPlusPlus

View in SonarQube

Annotations

Check warning on line 419 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L419

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Check warning on line 511 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L511

Replace this lambda with method reference 'LineInput.class::cast'.

Check notice on line 329 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L329

Do not forget to remove this deprecated code someday.

Check warning on line 259 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L259

Remove this use of "setGeographicalToElectricalLineLength"; it is deprecated.

Check warning on line 256 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L256

Remove this use of "setElectricalToGeographicalLineLength"; it is deprecated.

Check warning on line 379 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L379

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Check warning on line 459 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L459

Replace this lambda with method reference 'ConnectorInput.class::cast'.

Check notice on line 280 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L280

Do not forget to remove this deprecated code someday.

Check notice on line 420 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L420

Do not forget to remove this deprecated code someday.

Check notice on line 380 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L380

Do not forget to remove this deprecated code someday.

Check warning on line 497 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L497

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Check notice on line 498 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L498

Do not forget to remove this deprecated code someday.

Check warning on line 279 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L279

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Check notice on line 352 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L352

Do not forget to remove this deprecated code someday.

Check warning on line 756 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L756

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Check warning on line 351 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L351

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Check notice on line 757 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L757

Do not forget to remove this deprecated code someday.

Check notice on line 382 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L382

Complete the task associated to this TODO comment.

Check warning on line 710 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L710

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.

Check notice on line 711 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L711

Do not forget to remove this deprecated code someday.

Check warning on line 328 in src/main/java/edu/ie3/netpad/grid/controller/GridController.java

See this annotation in the file changed.

@sonarqubegithubprchecks sonarqubegithubprchecks / NetPad++ Sonarqube Results

src/main/java/edu/ie3/netpad/grid/controller/GridController.java#L328

Add 'since' and/or 'forRemoval' arguments to the @Deprecated annotation.