Skip to content

Cleaning floatImageViewer

f21b7f8
Select commit
Loading
Failed to load commit list.
Draft

Cleaning, adding documentation, removing warnings and remove bugs #97

Cleaning floatImageViewer
f21b7f8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 21, 2026 in 31s

Annotations

Check warning on line 120 in src/qtAliceVision/FloatTexture.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "reinterpret_cast" with a safer operation.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gQrvn5gzXa5KIDy&open=AZ2u9gQrvn5gzXa5KIDy&pullRequest=97

Check failure on line 37 in src/qtAliceVision/FloatImageViewerMaterial.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=alicevision_QtAliceVision&issues=AZ2u9gTIvn5gzXa5KID1&open=AZ2u9gTIvn5gzXa5KID1&pullRequest=97

Check failure on line 156 in src/qtAliceVision/ImageCache.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the "explicit" keyword to this constructor.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gS0vn5gzXa5KID0&open=AZ2u9gS0vn5gzXa5KID0&pullRequest=97

Check failure on line 70 in src/qtAliceVision/ImageCache.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gNEvn5gzXa5KIDr&open=AZ2u9gNEvn5gzXa5KIDr&pullRequest=97

Check warning on line 46 in src/qtAliceVision/FloatImageViewerMaterial.hpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Declare this variable in a separate statement.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gRCvn5gzXa5KIDz&open=AZ2u9gRCvn5gzXa5KIDz&pullRequest=97

Check warning on line 120 in src/qtAliceVision/FloatTexture.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::byte" for byte-oriented memory access.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gQrvn5gzXa5KIDx&open=AZ2u9gQrvn5gzXa5KIDx&pullRequest=97

Check failure on line 227 in src/qtAliceVision/FloatImageViewer.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gTbvn5gzXa5KID2&open=AZ2u9gTbvn5gzXa5KID2&pullRequest=97

Check failure on line 19 in src/qtAliceVision/FloatTexture.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gQrvn5gzXa5KIDw&open=AZ2u9gQrvn5gzXa5KIDw&pullRequest=97

Check warning on line 26 in src/qtAliceVision/FloatImageViewerMaterialShader.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::array" or "std::vector" instead of a C-style array.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gQbvn5gzXa5KIDu&open=AZ2u9gQbvn5gzXa5KIDu&pullRequest=97

Check warning on line 161 in src/qtAliceVision/AsyncFetcher.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove these redundant parentheses.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gT1vn5gzXa5KID4&open=AZ2u9gT1vn5gzXa5KID4&pullRequest=97

Check failure on line 13 in src/qtAliceVision/FloatImageViewerNode.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=alicevision_QtAliceVision&issues=AZ2u9gTjvn5gzXa5KID3&open=AZ2u9gTjvn5gzXa5KID3&pullRequest=97

Check warning on line 64 in src/qtAliceVision/ImageCache.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the redundant type with "auto".

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gNEvn5gzXa5KIDs&open=AZ2u9gNEvn5gzXa5KIDs&pullRequest=97

Check warning on line 165 in src/qtAliceVision/AsyncFetcher.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove these redundant parentheses.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gT1vn5gzXa5KID5&open=AZ2u9gT1vn5gzXa5KID5&pullRequest=97

Check warning on line 28 in src/qtAliceVision/FloatImageViewerMaterialShader.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::array" or "std::vector" instead of a C-style array.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gQbvn5gzXa5KIDv&open=AZ2u9gQbvn5gzXa5KIDv&pullRequest=97

Check warning on line 78 in src/qtAliceVision/ImageCache.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "empty()" to check whether the container is empty or not.

See more on https://sonarcloud.io/project/issues?id=alicevision_QtAliceVision&issues=AZ2u9gNEvn5gzXa5KIDt&open=AZ2u9gNEvn5gzXa5KIDt&pullRequest=97