Skip to content

Skip stale destroyed volumes in local storage checks

a429813
Select commit
Loading
Failed to load commit list.
Draft

Skip stale destroyed volumes in local storage checks #13125

Skip stale destroyed volumes in local storage checks
a429813
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 7, 2026 in 4m 54s

Annotations

Check warning on line 2933 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 130 to 64, Complexity from 50 to 14, Nesting Level from 5 to 2, Number of Variables from 35 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCR&open=AZ4DWmx1_sdxmytL1HCR&pullRequest=13125

Check warning on line 2075 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 116 to 64, Complexity from 25 to 14, Nesting Level from 5 to 2, Number of Variables from 35 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCS&open=AZ4DWmx1_sdxmytL1HCS&pullRequest=13125

Check warning on line 4866 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 115 to 64, Complexity from 30 to 14, Nesting Level from 3 to 2, Number of Variables from 56 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCX&open=AZ4DWmx1_sdxmytL1HCX&pullRequest=13125

Check warning on line 7662 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCQ&open=AZ4DWmx1_sdxmytL1HCQ&pullRequest=13125

Check warning on line 1800 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 93 to 64, Complexity from 22 to 14, Nesting Level from 5 to 2, Number of Variables from 18 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCU&open=AZ4DWmx1_sdxmytL1HCU&pullRequest=13125

Check warning on line 1314 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWm6H_sdxmytL1HCa&open=AZ4DWm6H_sdxmytL1HCa&pullRequest=13125

Check warning on line 9295 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 65 to 64, Complexity from 17 to 14, Nesting Level from 6 to 2, Number of Variables from 15 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCY&open=AZ4DWmx1_sdxmytL1HCY&pullRequest=13125

Check warning on line 7493 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 84 to 64, Complexity from 28 to 14, Nesting Level from 5 to 2, Number of Variables from 23 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCV&open=AZ4DWmx1_sdxmytL1HCV&pullRequest=13125

Check warning on line 9710 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 132 to 64, Complexity from 31 to 14, Nesting Level from 3 to 2, Number of Variables from 33 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCW&open=AZ4DWmx1_sdxmytL1HCW&pullRequest=13125

Check warning on line 1296 in server/src/test/java/com/cloud/vm/UserVmManagerImplTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWm6H_sdxmytL1HCZ&open=AZ4DWm6H_sdxmytL1HCZ&pullRequest=13125

Check warning on line 5557 in server/src/main/java/com/cloud/vm/UserVmManagerImpl.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 99 to 64, Complexity from 25 to 14, Nesting Level from 5 to 2, Number of Variables from 32 to 6.

See more on https://sonarcloud.io/project/issues?id=apache_cloudstack&issues=AZ4DWmx1_sdxmytL1HCT&open=AZ4DWmx1_sdxmytL1HCT&pullRequest=13125