Skip to content

test(integration): check for empty file id.

e6e5383
Select commit
Loading
Failed to load commit list.
Open

test(integration): check for empty file id. #9738

test(integration): check for empty file id.
e6e5383
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 13, 2026 in 18m 12s

Quality Gate failed

Failed conditions
13 New Code Smells (required ≤ 0)
E Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 19 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "parent" of type "class QObject *" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVB&open=AZ2C3ZsMO-njQfcvHUVB&pullRequest=9738

Check warning on line 369 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "statusCode" of type "int" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVL&open=AZ2C3ZsMO-njQfcvHUVL&pullRequest=9738

Check warning on line 78 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "accountState" of type "class OCC::AccountState *" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVD&open=AZ2C3ZsMO-njQfcvHUVD&pullRequest=9738

Check warning on line 4 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Edit this comment to use the C++ format, i.e. "//".

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUU_&open=AZ2C3ZsMO-njQfcvHUU_&pullRequest=9738

Check warning on line 355 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "job" of type "class OCC::JsonApiJob *" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVI&open=AZ2C3ZsMO-njQfcvHUVI&pullRequest=9738

Check warning on line 56 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

implicit conversion loses integer precision: 'qsizetype' (aka 'long long') to 'int'

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVA&open=AZ2C3ZsMO-njQfcvHUVA&pullRequest=9738

Check warning on line 300 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "end" of type "class QMap<class QString, class QVariant>::const_iterator" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVG&open=AZ2C3ZsMO-njQfcvHUVG&pullRequest=9738

Check warning on line 440 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declaration shadows a local variable "row" in the outer scope.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVK&open=AZ2C3ZsMO-njQfcvHUVK&pullRequest=9738

Check warning on line 301 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Avoid this unnecessary copy by using a "const" reference.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVH&open=AZ2C3ZsMO-njQfcvHUVH&pullRequest=9738

Check failure on line 353 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVJ&open=AZ2C3ZsMO-njQfcvHUVJ&pullRequest=9738

Check warning on line 24 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "role" of type "int" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVC&open=AZ2C3ZsMO-njQfcvHUVC&pullRequest=9738

Check warning on line 200 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Unmodified variable "mimeDb" of type "class QMimeDatabase" should be const-qualified.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVF&open=AZ2C3ZsMO-njQfcvHUVF&pullRequest=9738

Check warning on line 179 in src/gui/integration/fileactionsmodel.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use the init-statement to declare "folderForPath" inside the if statement.

See more on https://sonarcloud.io/project/issues?id=nextcloud_desktop&issues=AZ2C3ZsMO-njQfcvHUVE&open=AZ2C3ZsMO-njQfcvHUVE&pullRequest=9738