Skip to content

feat: Eversense E3/365 CGM integration with AndroidAPS#4869

Open
CAPTCG wants to merge 25 commits into
nightscout:devfrom
CAPTCG:pr/eversense-clean
Open

feat: Eversense E3/365 CGM integration with AndroidAPS#4869
CAPTCG wants to merge 25 commits into
nightscout:devfrom
CAPTCG:pr/eversense-clean

feat: add enterPositioningMode/exitPositioningMode to EversenseCGMPlugin

e3e7c45
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 16, 2026 in 4m 6s

Quality Gate failed

Failed conditions
C Security 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 496 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTN&open=AZ6AgGUfzuZUUrKYYsTN&pullRequest=4869

Check warning on line 476 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTF&open=AZ6AgGUfzuZUUrKYYsTF&pullRequest=4869

Check warning on line 499 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTQ&open=AZ6AgGUfzuZUUrKYYsTQ&pullRequest=4869

Check warning on line 113 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTZ&open=AZ6AgGUfzuZUUrKYYsTZ&pullRequest=4869

Check warning on line 500 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTR&open=AZ6AgGUfzuZUUrKYYsTR&pullRequest=4869

Check warning on line 9 in plugins/eversense/src/main/AndroidManifest.xml

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure backup of application data is safe here.

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

Check warning on line 283 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTX&open=AZ6AgGUfzuZUUrKYYsTX&pullRequest=4869

Check warning on line 421 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/EversenseGattCallback.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=AZ6AgGU9zuZUUrKYYsTp&open=AZ6AgGU9zuZUUrKYYsTp&pullRequest=4869

Check warning on line 68 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/util/EversenseHttpE3Util.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=AZ6AgGUozuZUUrKYYsTh&open=AZ6AgGUozuZUUrKYYsTh&pullRequest=4869

Check warning on line 278 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/util/EversenseHttpE3Util.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=AZ6AgGUozuZUUrKYYsTb&open=AZ6AgGUozuZUUrKYYsTb&pullRequest=4869

Check warning on line 274 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 unused "urgentHours" local variable.

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

Check warning on line 279 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/util/EversenseHttpE3Util.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=AZ6AgGUozuZUUrKYYsTc&open=AZ6AgGUozuZUUrKYYsTc&pullRequest=4869

Check warning on line 502 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTT&open=AZ6AgGUfzuZUUrKYYsTT&pullRequest=4869

Check warning on line 105 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/packets/EversenseBasePacket.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=AZ6AgGT0zuZUUrKYYsS7&open=AZ6AgGT0zuZUUrKYYsS7&pullRequest=4869

Check warning on line 478 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTH&open=AZ6AgGUfzuZUUrKYYsTH&pullRequest=4869

Check warning on line 486 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTI&open=AZ6AgGUfzuZUUrKYYsTI&pullRequest=4869

Check failure on line 255 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=AZ6AgGSjzuZUUrKYYsS4&open=AZ6AgGSjzuZUUrKYYsS4&pullRequest=4869

Check warning on line 48 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/packets/EversenseBasePacket.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move "return" statements from all branches before "when" statement.

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

Check failure on line 136 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/packets/EversenseE3Communicator.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=nightscout_AndroidAPS&issues=AZ6KoSHl_hgf2-2nuYar&open=AZ6KoSHl_hgf2-2nuYar&pullRequest=4869

Check warning on line 477 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTG&open=AZ6AgGUfzuZUUrKYYsTG&pullRequest=4869

Check warning on line 280 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/util/EversenseHttpE3Util.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=AZ6AgGUozuZUUrKYYsTd&open=AZ6AgGUozuZUUrKYYsTd&pullRequest=4869

Check failure on line 420 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 67 to the 15 allowed.

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

Check warning on line 495 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTM&open=AZ6AgGUfzuZUUrKYYsTM&pullRequest=4869

Check warning on line 125 in plugins/eversense/src/main/kotlin/app/aaps/plugins/eversense/util/EversenseHttpE3Util.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=AZ6AgGUozuZUUrKYYsTg&open=AZ6AgGUozuZUUrKYYsTg&pullRequest=4869

Check warning on line 497 in plugins/eversense/src/main/kotlin/app/aaps/plugins/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=AZ6AgGUfzuZUUrKYYsTO&open=AZ6AgGUfzuZUUrKYYsTO&pullRequest=4869