7 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
+ Solved 1
- Added 7
Complexity increasing per file
==============================
- src/main/kotlin/graphics/scenery/SceneryBase.kt 7
- src/main/kotlin/graphics/scenery/controls/InputHandler.kt 1
- build.gradle.kts 8
- src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderer.kt 4
- src/main/kotlin/graphics/scenery/backends/vulkan/VulkanTexture.kt 2
- src/main/kotlin/graphics/scenery/utils/Image.kt 2
Clones added
============
- src/main/kotlin/graphics/scenery/SceneryBase.kt 2
Clones removed
==============
+ src/main/kotlin/graphics/scenery/utils/Image.kt -2
See the complete overview on Codacy
Annotations
Check warning on line 480 in build.gradle.kts
codacy-production / Codacy Static Code Analysis
build.gradle.kts#L480
In most cases using a spread operator causes a full copy of the array to be created before calling a method. This may result in a performance penalty.
Check warning on line 619 in src/main/kotlin/graphics/scenery/SceneryBase.kt
codacy-production / Codacy Static Code Analysis
src/main/kotlin/graphics/scenery/SceneryBase.kt#L619
The function main is missing documentation.
Check warning on line 71 in src/main/kotlin/graphics/scenery/backends/RenderConfigReader.kt
codacy-production / Codacy Static Code Analysis
src/main/kotlin/graphics/scenery/backends/RenderConfigReader.kt#L71
RenderConfig is missing required documentation.
Check warning on line 497 in src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderer.kt
codacy-production / Codacy Static Code Analysis
src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderer.kt#L497
This condition is too complex (4). Defined complexity threshold for conditions is set to '4'
Check warning on line 2455 in src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderer.kt
codacy-production / Codacy Static Code Analysis
src/main/kotlin/graphics/scenery/backends/vulkan/VulkanRenderer.kt#L2455
Function setRenderingQuality is nested too deeply.
Check warning on line 657 in src/main/kotlin/graphics/scenery/backends/vulkan/VulkanTexture.kt
codacy-production / Codacy Static Code Analysis
src/main/kotlin/graphics/scenery/backends/vulkan/VulkanTexture.kt#L657
The function fromEmpty is missing documentation.
Check warning on line 254 in src/main/kotlin/graphics/scenery/utils/Image.kt
codacy-production / Codacy Static Code Analysis
src/main/kotlin/graphics/scenery/utils/Image.kt#L254
Using the forEach method on ranges has a heavy performance cost. Prefer using simple for loops.