Skip to content

KMP migration - #5067

Open
MilosKozak wants to merge 153 commits into
devfrom
kmp
Open

KMP migration#5067
MilosKozak wants to merge 153 commits into
devfrom
kmp

PasswordCheck moved to commonMain

248d4ed
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 19, 2026 in 4m 21s

Annotations

Check warning on line 59 in app/src/main/kotlin/app/aaps/di/CalibrationPluginsModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this abstract class with an interface, or add function implementations or state properties to the class.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAZeskoFA5YEteE7taP&open=AaAZeskoFA5YEteE7taP&pullRequest=5067

Check warning on line 80 in ui/src/main/kotlin/app/aaps/ui/compose/main/MainScreen.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 57 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ_7vynZAf8sxgMxFiFc&open=AZ_7vynZAf8sxgMxFiFc&pullRequest=5067

Check warning on line 62 in app/src/main/kotlin/app/aaps/di/SmoothingPluginsModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this abstract class with an interface, or add function implementations or state properties to the class.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAZVMAbePsaw6UR-UJW&open=AaAZVMAbePsaw6UR-UJW&pullRequest=5067

Check failure on line 126 in plugins/aps/src/main/kotlin/app/aaps/plugins/aps/openAPSAMA/OpenAPSAMAPlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 28 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAQuBBGyIQ7jMg0enBS&open=AaAQuBBGyIQ7jMg0enBS&pullRequest=5067

Check warning on line 46 in app/src/main/kotlin/app/aaps/di/VirtualPumpModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 14 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAWqD5sxOhvm0Uj2Ix5&open=AaAWqD5sxOhvm0Uj2Ix5&pullRequest=5067

Check failure on line 142 in ui/src/main/kotlin/app/aaps/ui/compose/quickLaunch/QuickLaunchResolver.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAQuBelyIQ7jMg0enBW&open=AaAQuBelyIQ7jMg0enBW&pullRequest=5067

Check failure on line 487 in plugins/automation/src/main/kotlin/app/aaps/plugins/automation/AutomationRuntime.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAPdn1qcVhBrbGm8c5t&open=AaAPdn1qcVhBrbGm8c5t&pullRequest=5067

Check failure on line 110 in ui/src/main/kotlin/app/aaps/ui/compose/tempBasalDialog/TempBasalDialogViewModel.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ_qVbcpqGtd_ZosPW9d&open=AZ_qVbcpqGtd_ZosPW9d&pullRequest=5067

Check failure on line 242 in plugins/aps/src/main/kotlin/app/aaps/plugins/aps/openAPSAutoISF/OpenAPSAutoISFPlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 48 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAQuAyeyIQ7jMg0enBQ&open=AaAQuAyeyIQ7jMg0enBQ&pullRequest=5067

Check failure on line 917 in pump/combov2/src/main/kotlin/info/nightscout/pump/combov2/ComboV2Plugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ_yjfjGbzuOmnNilC9w&open=AZ_yjfjGbzuOmnNilC9w&pullRequest=5067

Check failure on line 550 in plugins/automation/src/main/kotlin/app/aaps/plugins/automation/AutomationRuntime.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAPdn1qcVhBrbGm8c5u&open=AaAPdn1qcVhBrbGm8c5u&pullRequest=5067

Check failure on line 291 in plugins/aps/src/main/kotlin/app/aaps/plugins/aps/openAPSSMB/OpenAPSSMBPlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 53 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAQuBCJyIQ7jMg0enBT&open=AaAQuBCJyIQ7jMg0enBT&pullRequest=5067

Check failure on line 294 in implementation/src/main/kotlin/app/aaps/implementation/profile/ProfileRepositoryImpl.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ_7vyvjAf8sxgMxFiFd&open=AZ_7vyvjAf8sxgMxFiFd&pullRequest=5067

Check failure on line 105 in plugins/sync/src/main/kotlin/app/aaps/plugins/sync/wear/WearPlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAFIDOXC7EViaDX-Gua&open=AaAFIDOXC7EViaDX-Gua&pullRequest=5067

Check failure on line 1339 in pump/omnipod/dash/src/main/kotlin/app/aaps/pump/omnipod/dash/OmnipodDashPumpPlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 41 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAOO8LTp3kRdUaam7tZ&open=AaAOO8LTp3kRdUaam7tZ&pullRequest=5067

Check failure on line 959 in ui/src/main/kotlin/app/aaps/ui/compose/overview/OverviewDataCacheImpl.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 37 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAAxFrhfNhaSAC2Ihu_&open=AaAAxFrhfNhaSAC2Ihu_&pullRequest=5067

Check failure on line 87 in ui/src/main/kotlin/app/aaps/ui/compose/profileHelper/ProfileHelperScreen.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 33 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAQuBX_yIQ7jMg0enBU&open=AaAQuBX_yIQ7jMg0enBU&pullRequest=5067

Check warning on line 50 in ui/src/main/kotlin/app/aaps/ui/compose/overview/OverviewScreen.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 46 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ_7vyh0Af8sxgMxFiFb&open=AZ_7vyh0Af8sxgMxFiFb&pullRequest=5067

Check warning on line 131 in app/src/main/kotlin/app/aaps/compose/navigation/AppNavGraph.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 36 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAOO9R_p3kRdUaam7ta&open=AaAOO9R_p3kRdUaam7ta&pullRequest=5067

Check warning on line 74 in app/src/main/kotlin/app/aaps/di/CoreObjectsModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 10 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaARSP-foTplWqZG5pRw&open=AaARSP-foTplWqZG5pRw&pullRequest=5067

Check failure on line 356 in pump/omnipod/dash/src/main/kotlin/app/aaps/pump/omnipod/dash/OmnipodDashPumpPlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAOO8LTp3kRdUaam7tY&open=AaAOO8LTp3kRdUaam7tY&pullRequest=5067

Check failure on line 295 in ui/src/main/kotlin/app/aaps/ui/compose/carbsDialog/CarbsDialogViewModel.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAQuBdhyIQ7jMg0enBV&open=AaAQuBdhyIQ7jMg0enBV&pullRequest=5067

Check warning on line 82 in app/src/main/kotlin/app/aaps/di/VirtualPumpModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this abstract class with an interface, or add function implementations or state properties to the class.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaAWqD5sxOhvm0Uj2Ix6&open=AaAWqD5sxOhvm0Uj2Ix6&pullRequest=5067

Check warning on line 92 in app/src/main/kotlin/app/aaps/di/CoreObjectsModule.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 20 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AaARSP-foTplWqZG5pRx&open=AaARSP-foTplWqZG5pRx&pullRequest=5067

Check failure on line 88 in implementation/src/main/kotlin/app/aaps/implementation/protection/PasswordCheckImpl.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ_qVbnVqGtd_ZosPW-a&open=AZ_qVbnVqGtd_ZosPW-a&pullRequest=5067