Skip to content

Sync Eversense plugin to latest from AndroidAPSEversenseCoexist

50a3823
Select commit
Loading
Failed to load commit list.
Open

wip: Eversense E3 integration with AndroidAPS #4474

Sync Eversense plugin to latest from AndroidAPSEversenseCoexist
50a3823
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 11, 2026 in 3m 9s

Quality Gate failed

Failed conditions
2 Security Hotspots
C Reliability 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 477 in plugins/source/src/main/kotlin/app/aaps/plugins/source/EversensePlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless "if" statement.

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

Check warning on line 225 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/util/EversenseHttp365Util.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression ^`?[_a-z][a-zA-Z0-9]*`?$

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

Check warning on line 27 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/packets/e3/util/EversenseE3Parser.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace function call with indexed accessor.

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

Check warning on line 99 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/util/EversenseHttp365Util.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

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

Check warning on line 25 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/packets/e3/util/EversenseE3Writer.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace function call with indexed accessor.

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

Check failure on line 176 in plugins/source/src/main/kotlin/app/aaps/plugins/source/EversensePlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 35 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/packets/e3/util/EversenseE3Writer.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace function call with indexed accessor.

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

Check warning on line 542 in plugins/source/src/main/kotlin/app/aaps/plugins/source/EversensePlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge chained "if" statements into a single "when" statement.

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

Check warning on line 47 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/packets/e3/util/EversenseE3Parser.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace function call with indexed accessor.

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

Check failure on line 507 in plugins/source/src/main/kotlin/app/aaps/plugins/source/EversensePlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 217 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/util/EversenseHttp365Util.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression ^`?[_a-z][a-zA-Z0-9]*`?$

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

Check warning on line 5 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/callbacks/EversenseScanCallback.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make this interface functional or replace it with a function type.

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

Check warning on line 26 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/packets/e3/util/EversenseE3Parser.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace function call with indexed accessor.

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

Check warning on line 227 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/util/EversenseHttp365Util.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression ^`?[_a-z][a-zA-Z0-9]*`?$

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

Check failure on line 12 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/callbacks/EversenseWatcher.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 45 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/util/EversenseHttp365Util.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

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

Check warning on line 236 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/util/EversenseHttp365Util.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this parameter to match the regular expression ^`?[_a-z][a-zA-Z0-9]*`?$

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

Check warning on line 177 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/util/EversenseHttp365Util.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

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

Check warning on line 23 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/packets/e3/util/EversenseE3Parser.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace function call with indexed accessor.

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

Check warning on line 72 in plugins/source/src/main/kotlin/app/aaps/plugins/source/EversensePlugin.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Deprecated code should not be used.

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

Check warning on line 43 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/packets/e3/util/EversenseE3Parser.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace function call with indexed accessor.

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

Check failure on line 112 in plugins/source/src/main/kotlin/app/aaps/plugins/source/activities/EversenseCalibrationActivity.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

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

Check warning on line 313 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/EversenseGattCallback.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not forget to remove this deprecated code someday.

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

Check warning on line 33 in plugins/source/src/main/kotlin/app/aaps/plugins/source/activities/EversensePlacementActivity.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace explicit functional interface implementation with lambda expression.

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

Check warning on line 23 in plugins/eversense/src/main/kotlin/com/nightscout/eversense/enums/EversenseAlarm.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the number of when branches from 40 to at most 30.

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