Skip to content

Feat/app update - #14

Merged
CodingWithTashi merged 35 commits into
mainfrom
feat/app-update
Jun 18, 2026
Merged

Feat/app update#14
CodingWithTashi merged 35 commits into
mainfrom
feat/app-update

feat: inapp update added

d866df2
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 18, 2026 in 37s

Quality Gate failed

Failed conditions
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 failure on line 79 in botok/src/main/java/com/kharagedition/botok/textunits/SylComponents.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMoqiPmoWKtRub9u&open=AZ7bXMoqiPmoWKtRub9u&pullRequest=14

Check warning on line 116 in botok/src/main/java/com/kharagedition/botok/tries/BasicTrie.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this if expression with require(!(word.isEmpty())) { "\"word\" must be non-null string" }.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMrPiPmoWKtRub-h&open=AZ7bXMrPiPmoWKtRub-h&pullRequest=14

Check warning on line 237 in botok/src/main/java/com/kharagedition/botok/tokenizers/WordTokenizer.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Convert this getter to a "get()" on the property "partLemmas".

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMpiiPmoWKtRub9-&open=AZ7bXMpiiPmoWKtRub9-&pullRequest=14

Check warning on line 64 in botok/src/main/java/com/kharagedition/botok/modifytokens/SplittingMatcher.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused function parameter "mode".

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMqUiPmoWKtRub-U&open=AZ7bXMqUiPmoWKtRub-U&pullRequest=14

Check warning on line 206 in botok/src/main/java/com/kharagedition/botok/tokenizers/WordTokenizer.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this throw expression with error("This should never happen.").

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMpiiPmoWKtRub96&open=AZ7bXMpiiPmoWKtRub96&pullRequest=14

Check warning on line 210 in botok/src/main/java/com/kharagedition/botok/tokenizers/SentenceTokenizer.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this variable, which is assigned but never accessed.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMp_iPmoWKtRub-M&open=AZ7bXMp_iPmoWKtRub-M&pullRequest=14

Check failure on line 76 in app/src/main/java/com/kharagedition/tibetankeyboard/ui/settings/SettingsScreen.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=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMvSiPmoWKtRub-3&open=AZ7bXMvSiPmoWKtRub-3&pullRequest=14

Check warning on line 86 in botok/src/main/java/com/kharagedition/botok/text/PipelineBase.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless cast.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMrqiPmoWKtRub-o&open=AZ7bXMrqiPmoWKtRub-o&pullRequest=14

Check warning on line 95 in botok/src/main/java/com/kharagedition/botok/text/PipelineBase.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless cast.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMrqiPmoWKtRub-p&open=AZ7bXMrqiPmoWKtRub-p&pullRequest=14

Check failure on line 176 in botok/src/main/java/com/kharagedition/botok/tokenizers/WordTokenizer.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=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMpiiPmoWKtRub98&open=AZ7bXMpiiPmoWKtRub98&pullRequest=14

Check failure on line 116 in botok/src/main/java/com/kharagedition/botok/tokenizers/WordTokenizer.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=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMpiiPmoWKtRub97&open=AZ7bXMpiiPmoWKtRub97&pullRequest=14

Check failure on line 18 in botok/src/main/java/com/kharagedition/botok/modifytokens/MergeDagdra.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMqriPmoWKtRub-W&open=AZ7bXMqriPmoWKtRub-W&pullRequest=14

Check warning on line 64 in botok/src/main/java/com/kharagedition/botok/third_party/fsa/Nfa.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "matchFunction" local variable.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMoYiPmoWKtRub9s&open=AZ7bXMoYiPmoWKtRub9s&pullRequest=14

Check warning on line 136 in app/src/main/java/com/kharagedition/tibetankeyboard/ui/home/HomeScreen.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this commented out code.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMuxiPmoWKtRub-0&open=AZ7bXMuxiPmoWKtRub-0&pullRequest=14

Check warning on line 44 in botok/src/main/java/com/kharagedition/botok/third_party/cql/TokenExpression.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMoAiPmoWKtRub9q&open=AZ7bXMoAiPmoWKtRub9q&pullRequest=14

Check failure on line 42 in botok/src/main/java/com/kharagedition/botok/third_party/fsa/Nfa.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMoYiPmoWKtRub9t&open=AZ7bXMoYiPmoWKtRub9t&pullRequest=14

Check failure on line 223 in app/src/main/java/com/kharagedition/tibetankeyboard/ui/chat/ChatScreen.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=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMsniPmoWKtRub-s&open=AZ7bXMsniPmoWKtRub-s&pullRequest=14

Check failure on line 51 in botok/src/main/java/com/kharagedition/botok/text/PipelineBase.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMrqiPmoWKtRub-q&open=AZ7bXMrqiPmoWKtRub-q&pullRequest=14

Check warning on line 158 in botok/src/main/java/com/kharagedition/botok/textunits/SylComponents.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Merge this "if" statement with the nested one.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMoqiPmoWKtRub9v&open=AZ7bXMoqiPmoWKtRub9v&pullRequest=14

Check warning on line 89 in botok/src/main/java/com/kharagedition/botok/tokenizers/SentenceTokenizer.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "sentenceEndIndex" local variable.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMp_iPmoWKtRub-O&open=AZ7bXMp_iPmoWKtRub-O&pullRequest=14

Check warning on line 200 in botok/src/main/java/com/kharagedition/botok/tokenizers/Tokenize.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMpyiPmoWKtRub-B&open=AZ7bXMpyiPmoWKtRub-B&pullRequest=14

Check warning on line 201 in botok/src/main/java/com/kharagedition/botok/chunks/ChunkFramework.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMnqiPmoWKtRub9n&open=AZ7bXMnqiPmoWKtRub9n&pullRequest=14

Check warning on line 255 in botok/src/main/java/com/kharagedition/botok/tokenizers/WordTokenizer.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this useless non-null assertion !!, it always succeeds.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMpiiPmoWKtRub94&open=AZ7bXMpiiPmoWKtRub94&pullRequest=14

Check warning on line 168 in botok/src/main/java/com/kharagedition/botok/text/PipelineBase.kt

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Map values should be accessed safely. Using the non-null assertion operator here can throw a NullPointerException.

See more on https://sonarcloud.io/project/issues?id=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMrqiPmoWKtRub-m&open=AZ7bXMrqiPmoWKtRub-m&pullRequest=14

Check failure on line 72 in app/src/main/java/com/kharagedition/tibetankeyboard/app/TibetanKeyboardApp.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=CodingWithTashi_Tibetan-Keyboard&issues=AZ7bXMxCiPmoWKtRub-6&open=AZ7bXMxCiPmoWKtRub-6&pullRequest=14