Repository Analysis

meshtastic/Meshtastic-Android

Android application for Meshtastic

2.9 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of meshtastic/Meshtastic-Android, a Kotlin project with 1,728 GitHub stars. SynthScan v2.0 examined 479,403 lines of code across 3569 source files, recording 343 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 2.9 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.9
Adjusted Score
2.9
Raw Score
100%
Time Factor
2026-07-14
Last Push
1.7K
Stars
Kotlin
Language
479.4K
Lines of Code
3.6K
Files
343
Pattern Hits
2026-07-14
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 58HIGH 0MEDIUM 170LOW 115

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 343 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators58 hits · 712 pts
SeverityFileLineSnippetContext
CRITICAL…in/org/meshtastic/core/ui/component/NodeItemCompact.kt523 val nowSeconds = org.meshtastic.core.common.util.nowSeconds.toInt()CODE
CRITICAL…lin/org/meshtastic/core/ui/component/ContactSharing.kt51 org.meshtastic.core.ui.share.SharedContactDialog(sharedContact = sharedContact, onDismiss = onDismiss)CODE
CRITICAL…in/kotlin/org/meshtastic/core/ui/util/PlatformUtils.kt129 androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult(),CODE
CRITICAL…in/kotlin/org/meshtastic/core/ui/util/PlatformUtils.kt203 androidx.activity.result.contract.ActivityResultContracts.StartActivityForResult(),CODE
CRITICAL…in/org/meshtastic/core/takserver/TAKMeshIntegration.kt316 val protoBytes = org.meshtastic.proto.TAKPacketV2.ADAPTER.encode(takPacketV2)CODE
CRITICAL…rg/meshtastic/core/network/radio/MockRadioTransport.kt225 latitude_i = org.meshtastic.core.model.Position.degI(32.776665),CODE
CRITICAL…rg/meshtastic/core/network/radio/MockRadioTransport.kt226 longitude_i = org.meshtastic.core.model.Position.degI(-96.796989),CODE
CRITICAL…rg/meshtastic/core/network/radio/MockRadioTransport.kt343 latitude_i = org.meshtastic.core.model.Position.degI(lat),CODE
CRITICAL…rg/meshtastic/core/network/radio/MockRadioTransport.kt344 longitude_i = org.meshtastic.core.model.Position.degI(lon),CODE
CRITICAL…eshtastic/core/data/repository/PacketRepositoryImpl.kt549 private fun org.meshtastic.core.database.dao.PacketDao.getAllWaypointsFlow(): Flow<List<RoomPacket>> =CODE
CRITICAL…eshtastic/core/data/repository/PacketRepositoryImpl.kt604 time = org.meshtastic.core.model.util.getShortDateTime(packet.data.time),CODE
CRITICAL…tic/core/data/manager/MeshConfigFlowManagerImplTest.kt336 val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100)CODE
CRITICAL…tic/core/data/manager/MeshConfigFlowManagerImplTest.kt369 val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100)CODE
CRITICAL…tic/core/data/manager/MeshConfigFlowManagerImplTest.kt503 val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100)CODE
CRITICAL…tic/core/data/manager/MeshConfigFlowManagerImplTest.kt699 val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100)CODE
CRITICAL…tic/core/data/manager/MeshConfigFlowManagerImplTest.kt727 val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100)CODE
CRITICAL…tic/core/data/manager/MeshConfigFlowManagerImplTest.kt756 val testNode = org.meshtastic.core.testing.TestDataFactory.createTestNode(num = 100)CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt134 org.meshtastic.core.di.di.CoreDiModule().coreDiModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt135 org.meshtastic.core.common.di.CoreCommonModule().coreCommonModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt136 org.meshtastic.core.datastore.di.CoreDatastoreModule().coreDatastoreModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt137 org.meshtastic.core.prefs.di.CorePrefsModule().corePrefsModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt138 org.meshtastic.core.database.di.CoreDatabaseModule().coreDatabaseModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt139 org.meshtastic.core.data.di.CoreDataModule().coreDataModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt140 org.meshtastic.core.domain.di.CoreDomainModule().coreDomainModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt141 org.meshtastic.core.repository.di.CoreRepositoryModule().coreRepositoryModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt142 org.meshtastic.core.network.di.CoreNetworkModule().coreNetworkModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt143 org.meshtastic.core.ble.di.CoreBleModule().coreBleModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt144 org.meshtastic.core.ui.di.CoreUiModule().coreUiModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt145 org.meshtastic.core.service.di.CoreServiceModule().coreServiceModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt146 org.meshtastic.core.takserver.di.CoreTakServerModule().coreTakServerModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt147 org.meshtastic.feature.settings.di.FeatureSettingsModule().featureSettingsModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt148 org.meshtastic.feature.node.di.FeatureNodeModule().featureNodeModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt149 org.meshtastic.feature.messaging.di.FeatureMessagingModule().featureMessagingModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt150 org.meshtastic.feature.connections.di.FeatureConnectionsModule().featureConnectionsModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt151 org.meshtastic.feature.map.di.FeatureMapModule().featureMapModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt152 org.meshtastic.feature.discovery.di.FeatureDiscoveryModule().featureDiscoveryModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt153 org.meshtastic.feature.firmware.di.FeatureFirmwareModule().featureFirmwareModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt154 org.meshtastic.feature.docs.di.FeatureDocsModule().featureDocsModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt155 org.meshtastic.feature.intro.di.FeatureIntroModule().featureIntroModule(),CODE
CRITICAL…/kotlin/org/meshtastic/desktop/di/DesktopKoinModule.kt156 org.meshtastic.feature.wifiprovision.di.FeatureWifiProvisionModule().featureWifiProvisionModule(),CODE
CRITICAL…ture/settings/radio/component/NetworkConfigItemList.kt294 Config.NetworkConfig.ProtocolFlags.UDP_BROADCAST.value.inv()CODE
CRITICAL…tic/feature/settings/radio/RadioConfigViewModelTest.kt987 RadioResponseResult.Error(org.meshtastic.core.resources.UiText.DynamicString("Fail"))CODE
CRITICAL…astic/feature/settings/debugging/DebugViewModelTest.kt144 nodeRepository.setMyNodeInfo(org.meshtastic.core.testing.TestDataFactory.createMyNodeInfo(myNodeNum = 12345678))CODE
CRITICAL…astic/feature/settings/debugging/DebugViewModelTest.kt150 val before = org.meshtastic.core.common.util.nowInstant.toEpochMilliseconds()CODE
CRITICAL…astic/feature/settings/debugging/DebugViewModelTest.kt152 val after = org.meshtastic.core.common.util.nowInstant.toEpochMilliseconds()CODE
CRITICAL…astic/feature/settings/debugging/DebugViewModelTest.kt156 org.meshtastic.core.common.util.DateFormatter.formatShortDate(before),CODE
CRITICAL…astic/feature/settings/debugging/DebugViewModelTest.kt157 org.meshtastic.core.common.util.DateFormatter.formatShortDate(after),CODE
CRITICAL…astic/feature/settings/debugging/DebugViewModelTest.kt175 org.meshtastic.core.testing.TestDataFactory.createTestPacket(CODE
CRITICAL…stic/feature/firmware/FirmwareUpdateIntegrationTest.kt163 FirmwareUpdateState.Error(org.meshtastic.core.resources.UiText.DynamicString("Transfer failed")),CODE
CRITICAL…/kotlin/org/meshtastic/feature/docs/ui/DocsPreviews.kt279 org.meshtastic.feature.docs.model.DocPageContent(CODE
CRITICAL…rg/meshtastic/feature/node/detail/NodeDetailScreens.kt161 val locationPermission = org.meshtastic.core.ui.util.rememberLocationPermissionState()CODE
CRITICAL…rg/meshtastic/feature/node/detail/NodeDetailScreens.kt162 val openLocationSettings = org.meshtastic.core.ui.util.rememberOpenLocationSettings()CODE
CRITICAL…lin/org/meshtastic/feature/node/list/NodeListScreen.kt105 val showToast = org.meshtastic.core.ui.util.rememberShowToastResource()CODE
CRITICAL…ain/kotlin/org/meshtastic/feature/messaging/Message.kt503 org.meshtastic.feature.messaging.component.handleQuickChatAction(CODE
CRITICAL…App/src/main/kotlin/org/meshtastic/app/MainActivity.kt228 org.meshtastic.app.map.node.NodeTrackMap(CODE
CRITICAL…App/src/main/kotlin/org/meshtastic/app/MainActivity.kt239 org.meshtastic.app.map.traceroute.TracerouteMap(CODE
CRITICAL…App/src/main/kotlin/org/meshtastic/app/MainActivity.kt248 org.meshtastic.app.map.discovery.DiscoveryMap(userLat, userLon, nodes, modifier)CODE
CRITICAL…App/src/main/kotlin/org/meshtastic/app/MainActivity.kt254 org.meshtastic.app.map.node.NodeMapScreen(vm, onNavigateUp = onNavigateUp)CODE
Decorative Section Separators154 hits · 476 pts
SeverityFileLineSnippetContext
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt90// ── Constants ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt104// ── Public API ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt212// ── Main Content ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt257// ── Search Bar ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt300// ── Category Tabs ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt332// ── Emoji Grid ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt451// ── Grid Item Model ────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt527// ── Cell Components ────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt609// ── Skin Tone Popup ────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt637// ── Frequency Tracking ─────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/ui/emoji/EmojiPickerDialog.kt677// ── Previews ───────────────────────────────────────────────────────────────────COMMENT
MEDIUM…kotlin/org/meshtastic/core/ui/emoji/EmojiRepository.kt58// ── JSON models (compact wire format) ──────────────────────────────────────────COMMENT
MEDIUM…kotlin/org/meshtastic/core/ui/emoji/EmojiRepository.kt71// ── Repository ─────────────────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/repository/AdminController.kt38 // ── Local configuration ─────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/repository/AdminController.kt51 // ── Remote configuration ────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/repository/AdminController.kt95 // ── Remote queries ──────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/repository/AdminController.kt118 // ── Device lifecycle ────────────────────────────────────────────────────COMMENT
MEDIUM…tlin/org/meshtastic/core/repository/AdminController.kt138 // ── Batch edit ──────────────────────────────────────────────────────────COMMENT
MEDIUM…in/org/meshtastic/core/takserver/TAKMeshIntegration.kt159 // ── Send: TAK client → mesh ─────────────────────────────────────────────COMMENT
MEDIUM…in/org/meshtastic/core/takserver/TAKMeshIntegration.kt323 // ── Receive: mesh → TAK client ──────────────────────────────────────────COMMENT
MEDIUM…t/kotlin/org/meshtastic/core/takserver/XmlUtilsTest.kt24 // ── xmlEscaped ────────────────────────────────────────────────────────────COMMENT
MEDIUM…t/kotlin/org/meshtastic/core/takserver/XmlUtilsTest.kt62 // ── geoChatSenderUid ──────────────────────────────────────────────────────COMMENT
MEDIUM…t/kotlin/org/meshtastic/core/takserver/XmlUtilsTest.kt80 // ── geoChatMessageId ──────────────────────────────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt76 // ── Fakes ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt332 // ── Helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt351 // ── Lifecycle tests ──────────────────────────────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt393 // ── TAK-Talk strip preservation (regression) ────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt426 // ── Inbound mesh → TAK client (V1) ──────────────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt455 // ── Firmware gating ──────────────────────────────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt496 // ── GeoChat callsign enrichment ──────────────────────────────────────────COMMENT
MEDIUM…rg/meshtastic/core/takserver/TAKMeshIntegrationTest.kt522 // ── Helpers ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt28 // ── toTakTeamName ──────────────────────────────────────────────────────────COMMENT
MEDIUM…otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt56 // ── toTakRoleName ─────────────────────────────────────────────────────────COMMENT
MEDIUM…otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt89 // ── toTakCallsign ─────────────────────────────────────────────────────────COMMENT
MEDIUM…otlin/org/meshtastic/core/takserver/TAKDefaultsTest.kt109 // ── keepalive / idle timeout constants ─────────────────────────────────────COMMENT
MEDIUM…est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt27 // ── PLI round-trip ────────────────────────────────────────────────────────COMMENT
MEDIUM…est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt64 // ── Chat round-trip ───────────────────────────────────────────────────────COMMENT
MEDIUM…est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt88 // ── XML escaping ─────────────────────────────────────────────────────────COMMENT
MEDIUM…est/kotlin/org/meshtastic/core/takserver/CoTXmlTest.kt108 // ── Structure ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…/org/meshtastic/core/takserver/TAKServerManagerTest.kt169 // ── T076: Port conflict / start failure ─────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt99 // ─── close() triggers disconnect ─────────────────────────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt138 // ─── disconnect called on connection failure ──────────────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt179 // ─── transient onDisconnect after failure threshold ──────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt226 // ─── CancellationException is not silently swallowed ─────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt275 // ─── Reconnect after a stable connection drops ───────────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt337 // ─── Session-failure recovery ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt559 // ─── Liveness restart semantics ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt623 // ─── Profile setup failure returns Failed outcome and retries ──────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt716 // ─── Read-path session-failure recovery (fromRadio fatal) ──────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt838 // ─── FROMNUM subscription readiness setup failures ───────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt949 // ─── Connected-gate timeout cleanup ──────────────────────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt1042 // ─── Bonded fresh-advertisement discovery ─────────────────────────────────────────────────────COMMENT
MEDIUM…e/network/radio/BleRadioTransportReconnectCrashTest.kt1177// ─── Test doubles ────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/org/meshtastic/core/service/AdminControllerImpl.kt60 // ── Owner ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/org/meshtastic/core/service/AdminControllerImpl.kt92 // ── Configuration ─────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/org/meshtastic/core/service/AdminControllerImpl.kt130 // ── Channels ────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/org/meshtastic/core/service/AdminControllerImpl.kt150 // ── Ringtone & Canned Messages ─────────────────────────────────────────COMMENT
MEDIUM…lin/org/meshtastic/core/service/AdminControllerImpl.kt176 // ── Position ────────────────────────────────────────────────────────────COMMENT
MEDIUM…lin/org/meshtastic/core/service/AdminControllerImpl.kt182 // ── Device Status & Lifecycle ───────────────────────────────────────────COMMENT
MEDIUM…lin/org/meshtastic/core/service/AdminControllerImpl.kt219 // ── Edit Settings (transactional) ───────────────────────────────────────COMMENT
94 more matches not shown…
Structural Annotation Overuse29 hits · 55 pts
SeverityFileLineSnippetContext
LOWspecs/006-kmp-project-structure/quickstart.md13### Step 1: Harden convention plugin defaultsCOMMENT
LOWspecs/006-kmp-project-structure/quickstart.md35### Step 2: Migrate Tier 1 modules (minimal — 6 modules)COMMENT
LOWspecs/006-kmp-project-structure/quickstart.md65### Step 3: Migrate Tier 2 modules (withHostTest — 18 modules)COMMENT
LOWspecs/006-kmp-project-structure/quickstart.md104### Step 4: Migrate Tier 3 modules (special — 3 modules)COMMENT
LOWspecs/006-kmp-project-structure/quickstart.md143### Step 5: Full verificationCOMMENT
LOWspecs/006-kmp-project-structure/quickstart.md166### Step 6: Validate success criteriaCOMMENT
LOWspecs/20260520-153412-nav-tab-labels/quickstart.md12### Step 1: Add String ResourcesCOMMENT
LOWspecs/20260520-153412-nav-tab-labels/quickstart.md22### Step 2: Rename Enum EntriesCOMMENT
LOWspecs/20260520-153412-nav-tab-labels/quickstart.md30### Step 3: Update All ReferencesCOMMENT
LOWspecs/20260520-153412-nav-tab-labels/quickstart.md42### Step 4: VerifyCOMMENT
LOW…260511-211823-compose-screenshot-testing/quickstart.md12## Step 1: Create a Preview ComposableCOMMENT
LOW…260511-211823-compose-screenshot-testing/quickstart.md38## Step 2: Add a Screenshot Test WrapperCOMMENT
LOW…260511-211823-compose-screenshot-testing/quickstart.md58## Step 3: Generate Reference ImagesCOMMENT
LOW…260511-211823-compose-screenshot-testing/quickstart.md66## Step 4: ValidateCOMMENT
LOW…260511-211823-compose-screenshot-testing/quickstart.md74## Step 5: Commit Reference ImagesCOMMENT
LOWspecs/20260520-153504-udp-label-rename/quickstart.md15### Step 1: Edit the string resourceCOMMENT
LOWspecs/20260520-153504-udp-label-rename/quickstart.md30### Step 2: Run the string sort scriptCOMMENT
LOWspecs/20260520-153504-udp-label-rename/quickstart.md38### Step 3: Verify the buildCOMMENT
LOWspecs/20260520-153504-udp-label-rename/quickstart.md44### Step 4: Confirm CI (after push)COMMENT
LOW…60520-153428-remove-admin-channel-toggle/quickstart.md15### Step 1: Remove unused import (Line 49)COMMENT
LOW…60520-153428-remove-admin-channel-toggle/quickstart.md24### Step 2: Remove toggle block (Lines 207–214)COMMENT
LOW…60520-153428-remove-admin-channel-toggle/quickstart.md40### Step 3: VerifyCOMMENT
LOW.specify/extensions/verify/README.md100# Step 1: Create specificationCOMMENT
LOW.specify/extensions/verify/README.md103# Step 2: Plan and generate tasksCOMMENT
LOW.specify/extensions/verify/README.md107# Step 3: ImplementCOMMENT
LOW.specify/extensions/verify/README.md110# Step 4: Verify implementationCOMMENT
LOW…shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt271 // Step 1: Get firmware fileCOMMENT
LOW…shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt274 // Step 2: Read firmware once and calculate hashCOMMENT
LOW…shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt294 // Step 3: Preflight — wait for the firmware to confirm OTA entry BEFORE tearing down the meshCOMMENT
Over-Commented Block43 hits · 43 pts
SeverityFileLineSnippetContext
LOW…kotlin/org/meshtastic/core/database/DatabaseManager.kt181 // Also mark the previous DB as used "just now" so LRU has an accurate, recent timestampCOMMENT
LOW…kotlin/org/meshtastic/core/database/DatabaseManager.kt341COMMENT
LOW…in/org/meshtastic/core/takserver/TAKMeshIntegration.kt181 * v2 send path (firmware >= 2.8.0): SDK parser + zstd dictionary compression, full typed payload supportCOMMENT
LOW…org/meshtastic/core/network/radio/BleRadioTransport.kt201 @Volatile private var isFullyConnected = falseCOMMENT
LOW…org/meshtastic/core/network/radio/BleRadioTransport.kt601 // Guard: if handleFailure fired during setup (e.g., fromRadio/logRadio fatalCOMMENT
LOW…org/meshtastic/core/service/MeshServiceOrchestrator.kt121 }COMMENT
LOW…org/meshtastic/core/service/MeshServiceOrchestrator.kt141 // handshake doesn't see a stale/empty node set. Previously this ran synchronously inCOMMENT
LOW…meshtastic/core/service/SharedRadioInterfaceService.kt241 * flaky GATT connection. Serial and TCP typically flush well under this window.COMMENT
LOW…meshtastic/core/service/SharedRadioInterfaceService.kt401 // restart paths CAS synchronously, one wins, one loses immediately. Performing theCOMMENT
LOW…meshtastic/core/service/SharedRadioInterfaceService.kt441 // Connected -> DeviceSleep transition before the stop/start cycle soCOMMENT
LOW…meshtastic/core/service/SharedRadioInterfaceService.kt641 // did not report a disconnect. Uses the same processLifecycle scope and transportMutexCOMMENT
LOW…ore/service/SharedRadioInterfaceServiceLivenessTest.kt81 // JVM tests must install a Main dispatcher or get IllegalStateException.COMMENT
LOW…ore/service/SharedRadioInterfaceServiceLivenessTest.kt841 //COMMENT
LOW…ore/service/SharedRadioInterfaceServiceLivenessTest.kt1121COMMENT
LOW…ore/service/SharedRadioInterfaceServiceLivenessTest.kt1281 // The USB-serial recovery observer (see observeUsbRecoveryTriggers) watches the selected SERIAL device'sCOMMENT
LOW…htastic/core/data/manager/MeshConnectionManagerImpl.kt381 // Surface the forced-recovery progress to the UI before the app-level DisconnectedCOMMENT
LOW…htastic/core/data/manager/MeshConnectionManagerImpl.kt541 * See [MeshConnectionManager.onHandshakeComplete] for the full rationale.COMMENT
LOW…tic/core/data/manager/MeshConnectionManagerImplTest.kt521 // After the stall fires and the sibling completes, we MANUALLY replay theCOMMENT
LOW…tic/core/data/manager/MeshConnectionManagerImplTest.kt1161 // (e.g. NODE_INFO_NONCE arrived). It cancels the armed stall guard and resets the counter.COMMENT
LOWconfig/detekt/detekt.yml1config:COMMENT
LOW.claude/hooks/pre-bash-guard.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/hooks/post-edit.sh1#!/usr/bin/env bashCOMMENT
LOW.claude/hooks/subagent-audit.sh1#!/usr/bin/env bashCOMMENT
LOWgradle/libs.versions.toml41COMMENT
LOWscripts/build-appimage.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/sync-android-docs.js1#!/usr/bin/env nodeCOMMENT
LOWscripts/ai-guardrail.sh1#!/bin/bashCOMMENT
LOWscripts/verify-flatpak/verify.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/verify-flatpak/desktop-offline.yaml1# Local offline verification of org.meshtastic.MeshtasticDesktop.COMMENT
LOW.github/homebrew/meshtastic-desktop.rb1# Homebrew Cask template for Meshtastic Desktop.COMMENT
LOW.github/workflows/msstore-publish.yml1name: Publish to Microsoft StoreCOMMENT
LOW.github/workflows/msstore-publish.yml61 # Prerequisites (all manual, one-time):COMMENT
LOW.github/workflows/release.yml321 # splitting the token and feeding `.release=true` to Gradle as a task name.COMMENT
LOW.github/workflows/winget-publish.yml1name: Publish to wingetCOMMENT
LOW.github/workflows/reusable-check.yml181 env:COMMENT
LOW.specify/extensions/verify/scripts/bash/load-config.sh1#!/usr/bin/env bashCOMMENT
LOW.specify/extensions/review/config-template.yml1# Review Extension ConfigurationCOMMENT
LOW…extensions/review/scripts/bash/detect-changed-files.sh1#!/usr/bin/env bashCOMMENT
LOW…extensions/review/scripts/bash/detect-changed-files.sh21# Text mode:COMMENT
LOW.specify/scripts/bash/check-prerequisites.sh1#!/usr/bin/env bashCOMMENT
LOW…shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt281 try {COMMENT
LOW…eshtastic/feature/firmware/ota/dfu/SecureDfuHandler.kt501 // (BLE_GAP_ADV_FP_FILTER_BOTH) keyed to the bonded peer. Removing the bond strips the phone'sCOMMENT
LOW…tic/feature/firmware/ota/dfu/SecureDfuTransportTest.kt581 // On SELECT, initialize the device's offset to the responder's selectOffset.COMMENT
Redundant / Tautological Comments17 hits · 26 pts
SeverityFileLineSnippetContext
LOW.specify/extensions/git/scripts/bash/git-common.sh6# Check if we have git available at the repo rootCOMMENT
LOW.specify/extensions/git/scripts/bash/auto-commit.sh34# Check if git is availableCOMMENT
LOW.specify/extensions/git/scripts/bash/auto-commit.sh106 # Check if event section existed at allCOMMENT
LOW.specify/extensions/git/scripts/bash/auto-commit.sh120# Check if there are changes to commitCOMMENT
LOW.specify/extensions/git/scripts/bash/initialize-repo.sh37# Check if git is availableCOMMENT
LOW.specify/extensions/git/scripts/bash/initialize-repo.sh43# Check if already a git repoCOMMENT
LOW…cify/extensions/git/scripts/bash/create-new-feature.sh249# Check if git is available at this repo rootCOMMENT
LOW.specify/scripts/bash/common.sh104# Check if we have git available at the spec-kit root levelCOMMENT
LOW.specify/scripts/bash/common.sh111 # Check if .git exists (directory or file for worktrees/submodules)COMMENT
LOW.specify/scripts/bash/common.sh305# Check if jq is available for safe JSON constructionCOMMENT
LOW.specify/scripts/bash/common.sh576 # Check if any layer uses a non-replace strategyCOMMENT
LOW.specify/scripts/bash/setup-plan.sh54# Output resultsCOMMENT
LOW.specify/scripts/bash/setup-tasks.sh65# Output resultsCOMMENT
LOW.specify/scripts/bash/check-prerequisites.sh154# Output resultsCOMMENT
LOW.specify/scripts/bash/create-new-feature.sh32 # Check if the next argument is another option (starts with --)COMMENT
LOW.specify/scripts/bash/create-new-feature.sh197# Check if git is available at this repo root (not a parent)COMMENT
LOW.specify/scripts/bash/create-new-feature.sh333 # Check if branch already existsCOMMENT
Modern AI Meta-Vocabulary7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM.coderabbit.yaml38 # Spec Kit scaffolding — vendored tooling, not hand-maintained here.COMMENT
MEDIUM…in/org/meshtastic/core/ui/component/AdaptiveTwoPane.kt68 // column and the two-pane scaffold (e.g. on resize / fold), and so neither slot is emitted directly from twoCOMMENT
MEDIUMspecs/20260507-161858-app-docs-markdown/plan.md344### Safety/UX guardrailsCOMMENT
MEDIUM.claude/skills/proto-bump/SKILL.md82## PR + guardrailsCOMMENT
MEDIUMscripts/build-appimage.sh7# AppImage bundle format. This script builds the AppDir scaffolding (AppRun,COMMENT
MEDIUM.specify/extensions/optimize/config-template.yml22 # Flag if total governance tokens exceed this % of context windowCOMMENT
MEDIUM.specify/extensions/optimize/config-template.yml32# Target AI context window size (tokens) for budget calculationsCOMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUM.specify/extensions/review/tests/bats/test_helper.bash15# Create a temporary working directory for each testCOMMENT
MEDIUM.specify/extensions/review/tests/bats/test_helper.bash45 # Create a bare repo to act as origin (explicitly use main)COMMENT
MEDIUM.specify/extensions/review/tests/bats/test_helper.bash50 # Create the working repoCOMMENT
MEDIUM.specify/scripts/bash/setup-plan.sh50 # Create a basic plan file if template doesn't existCOMMENT
Fake / Example Data8 hits · 10 pts
SeverityFileLineSnippetContext
LOW…in/kotlin/org/meshtastic/core/ui/component/NodeChip.kt83 val user = User(short_name = "JD", long_name = "John Doe")CODE
LOW…org/meshtastic/core/ui/component/DropDownPreference.kt223 summary = "Lorem ipsum dolor sit amet",CODE
LOW…org/meshtastic/core/ui/component/DropDownPreference.kt223 summary = "Lorem ipsum dolor sit amet",CODE
LOW…g/meshtastic/core/ui/component/preview/PreviewUtils.kt32private val user = User(short_name = "\uD83E\uDEE0", long_name = "John Doe")CODE
LOW…re/connections/ui/components/CurrentlyConnectedInfo.kt129 user = User(short_name = "\uD83E\uDEE0", long_name = "John Doe"),CODE
LOW.skills/project-overview/SKILL.md51 MAPS_API_KEY=dummy_keyCODE
LOW.skills/project-overview/SKILL.md52 datadogApplicationId=dummy_idCODE
LOW.skills/project-overview/SKILL.md53 datadogClientToken=dummy_tokenCODE
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…tic/core/data/manager/MeshConnectionManagerImplTest.kt501 // test stays robust against small timeout tweaks.COMMENT
MEDIUM.claude/hooks/pre-bash-guard.sh17# robust, unlike a settings.json prefix pattern. Asks, never hard-denies.COMMENT
MEDIUM…App/src/main/kotlin/org/meshtastic/app/MainActivity.kt130 // Ensure the navigation bar remains seamless on modern Android versionsCOMMENT
Hyper-Verbose Identifiers7 hits · 8 pts
SeverityFileLineSnippetContext
LOW…s/agent-governance/scripts/refresh_agent_governance.py141def repository_evidence_summary(root: Path, state: dict[str, Any], init_options: dict[str, Any]) -> str:CODE
LOW…s/agent-governance/scripts/refresh_agent_governance.py147def repository_evidence_lines(root: Path, state: dict[str, Any], init_options: dict[str, Any]) -> list[str]:CODE
LOW…s/agent-governance/scripts/refresh_agent_governance.py232def development_command_lines(root: Path) -> list[str]:CODE
LOW…s/agent-governance/scripts/refresh_agent_governance.py477def repository_evidence_default() -> list[str]:CODE
LOW…s/agent-governance/scripts/refresh_agent_governance.py485def directory_governance_default() -> list[str]:CODE
LOW…s/agent-governance/scripts/refresh_agent_governance.py495def development_commands_default() -> list[str]:CODE
LOW…s/agent-governance/scripts/refresh_agent_governance.py518def extract_section_from_text(text: str, heading: str) -> list[str]:CODE
Excessive Try-Catch Wrapping5 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMscripts/sort-strings.py98 print(f"Error: {xml_file} not found.")CODE
MEDIUM…s/agent-governance/scripts/refresh_agent_governance.py58 print("Error: .specify/ not found. Run from a Spec Kit project root.", file=sys.stderr)CODE
LOW.specify/scripts/bash/common.sh373except Exception:CODE
LOW.specify/scripts/bash/common.sh461except Exception:CODE
LOW.specify/scripts/bash/common.sh492except Exception:CODE
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW…shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt271 // Step 1: Get firmware fileCOMMENT
LOW…shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt274 // Step 2: Read firmware once and calculate hashCOMMENT
LOW…shtastic/feature/firmware/ota/Esp32OtaUpdateHandler.kt294 // Step 3: Preflight — wait for the firmware to confirm OTA entry BEFORE tearing down the meshCOMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/sort-strings.py9CODE
LOWscripts/sort-strings.py58CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWscripts/check-metadata-length.py17CODE
LOW…s/agent-governance/scripts/refresh_agent_governance.py4CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/verify-flatpak/verify.sh15# Usage:COMMENT