The main repository of Telegram X — official alternative Telegram client for Android.
This report summarizes scanner evidence for TGX-Android/Telegram-X, a Java project with 6,144 GitHub stars. SynthScan examined 548,817 lines of code across 1940 source files, recording 33 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.3 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 17 finding(s).
Are imports declared and package/API names verified? 16 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 33 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 33 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …/org/thunderdog/challegram/ui/MapGoogleController.java | 650 | bearingCallback = new com.google.android.gms.location.LocationCallback() { | CODE |
| CRITICAL | app/src/main/java/org/thunderdog/challegram/Log.java | 457 | androidx.media3.common.util.Log.setLogger(new androidx.media3.common.util.Log.Logger() { | CODE |
| CRITICAL | app/src/main/java/org/thunderdog/challegram/Log.java | 794 | // io.fabric.sdk.android.Fabric.with(this, new com.crashlytics.android.Crashlytics()); | COMMENT |
| CRITICAL | app/src/main/java/org/thunderdog/challegram/U.java | 704 | final int extensionMode = preferExtensions || org.thunderdog.challegram.unsorted.Settings.instance().getNewSetting(o | CODE |
| CRITICAL | app/src/main/java/org/thunderdog/challegram/U.java | 2364 | AppBuildInfo buildInfo = org.thunderdog.challegram.unsorted.Settings.instance().getCurrentBuildInformation(); | CODE |
| CRITICAL | …java/org/thunderdog/challegram/ui/IntroController.java | 937 | textureView.setListener(new org.thunderdog.challegram.texture.CustomTextureView.Listener() { | CODE |
| CRITICAL | …n/java/org/thunderdog/challegram/widget/ViewPager.java | 45 | mFirstLayoutField = androidx.viewpager.widget.ViewPager.class.getDeclaredField("mFirstLayout"); | CODE |
| CRITICAL | …a/org/thunderdog/challegram/util/LanguageDetector.java | 26 | com.google.mlkit.common.sdkinternal.MlKitContext.zza(context); | CODE |
| CRITICAL | …a/org/thunderdog/challegram/util/LanguageDetector.java | 28 | com.google.mlkit.nl.languageid.LanguageIdentification.getClient() | CODE |
| CRITICAL | …c/main/java/org/thunderdog/challegram/emoji/Emoji.java | 722 | return new org.thunderdog.challegram.emoji.Emoji.CountLimiter() { | CODE |
| CRITICAL | …/java/org/thunderdog/challegram/unsorted/AppContext.kt | 25 | org.thunderdog.challegram.tool.UI.prepareTestLab() | CODE |
| CRITICAL | …p/src/main/java/org/thunderdog/challegram/data/TD.java | 1907 | CharSequence emojified = org.thunderdog.challegram.emoji.Emoji.instance().replaceEmoji(in, 0, in.length(), org.thund | CODE |
| CRITICAL | …p/src/main/java/org/thunderdog/challegram/data/TD.java | 3302 | return Lang.getCharSequence(R.string.format_statusAndDate, org.thunderdog.challegram.emoji.Emoji.instance().replac | CODE |
| CRITICAL | …a/org/thunderdog/challegram/helper/LocationHelper.java | 348 | final com.google.android.gms.location.LocationCallback callback = new com.google.android.gms.location.LocationCallba | CODE |
| CRITICAL | …/main/java/org/thunderdog/challegram/tool/Intents.java | 747 | if (Config.IN_APP_BROWSER_AVAILABLE && (ignoreSetting || org.thunderdog.challegram.unsorted.Settings.instance().us | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/jni/log.cpp | 21 | #include <math.h> | COMMENT |
| LOW | app/jni/voice.c | 21 | #include <string.h> | COMMENT |
| LOW | app/jni/log.h | 21 | COMMENT | |
| LOW | app/jni/log.h | 41 | #define TAG_GIF_LOADER (1 << 9) | COMMENT |
| LOW | app/jni/log.h | 61 | // TODO __attribute__((format(printf, format_pos, arg_pos))) | COMMENT |
| LOW | app/jni/log.h | 81 | #endif | COMMENT |
| LOW | app/jni/log.h | 101 | #if LOG_LEVEL >= LOG_LEVEL_VERBOSE | COMMENT |
| LOW | app/jni/gif.cpp | 21 | #include <utility> | COMMENT |
| LOW | app/jni/tgvoip/tgvoip.cpp | 21 | #include <sdk/android/native_api/video/wrapper.h> | COMMENT |
| LOW | app/jni/tgvoip/stub/crc32c/crc32c_config.h | 1 | // Copyright 2017 The CRC32C Authors. All rights reserved. | COMMENT |
| LOW | app/jni/tgvoip/stub/crc32c/crc32c_config.h | 21 | // intrinsics. | COMMENT |
| LOW | scripts/check-test-tools.sh | 1 | #!/bin/bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | app/src/main/res/values/strings.xml | 3805 | <string name="LaunchAppGuideTdlibIssue">Telegram X has previously failed to launch because of TDLib fatal error.\n\nPr | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/src/main/java/org/thunderdog/challegram/Log.java | 360 | // Don't forget to duplicate new values in log.h | COMMENT |
| MEDIUM | …erdog/challegram/component/chat/CustomTouchHelper.java | 1313 | * {@link #makeMovementFlags(int, int)} to easily construct it. Alternatively, you can use | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/org/thunderdog/challegram/ui/ChatLinksController.java | 630 | // Makes pendingJoinRequestCount - 1. For seamless UI updates. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | app/src/main/other/themes/colors-and-properties.xml | 62 | <item name="placeholder" /> <!-- solid color for space where image will be loaded, usually very transparent #fff or | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …g/thunderdog/challegram/telegram/TdlibDataManager.java | 36 | public abstract class TdlibDataManager<Key, Value extends TdApi.Object, Result extends TdlibDataManager.AbstractEntry<Ke | CODE |