Online browser-based RTS game
This report summarizes scanner evidence for openfrontio/OpenFrontIO, a TypeScript project with 2,858 GitHub stars. SynthScan examined 639,424 lines of code across 1957 source files, recording 503 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 399 finding(s).
Are imports declared and package/API names verified? 14 finding(s).
Are wrappers, guards, and repeated structures necessary? 194 finding(s).
Which changes need focused human review? 503 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 503 distinct pattern matches across 9 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 |
|---|---|---|---|---|
| MEDIUM | tests/ImpassableTerrain.test.ts | 25 | // ─── Terrain byte constants (must match GameMapImpl) ──────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 136 | // ── Terrain classification ────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 156 | // ── Ownership ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 167 | // ── Map edge / enclosure ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 227 | // ── Rail pathfinding ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 237 | // ── Attacks ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 267 | // ── Nukes: targeting ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 292 | // ── Nukes: blast radius ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 317 | // ── Nukes: trajectory ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 359 | // ── Water conversion guard ──────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 369 | // ── Rendering ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 400 | // ── Nation AI: nearby() next to impassable terrain ─────────────────── | COMMENT |
| MEDIUM | tests/ImpassableTerrain.test.ts | 422 | // ── Nukes: silo selection ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 17 | // ── Fixed trade-gold values matching DefaultConfig ────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 28 | // ── Factory helpers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 98 | // ── startRound ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 113 | // ── buildReachableStations ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 282 | // ── tryBuildDefensePost — early-exit guards ────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 315 | // ── Medium 50% gate ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 403 | // ── Defense posts (real simulation) ───────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 609 | // ── defensePostNeeded ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 680 | // ── findDefensePostTile ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 760 | // ── getAttackFrontTiles ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 908 | // ── countDefensePostsNearFront ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/NationStructureBehavior.test.ts | 958 | // ── doHandleStructures — crowded-map first-structure exception ────────────── | COMMENT |
| MEDIUM | tests/AiAttackBehaviorNukedTerritory.test.ts | 17 | // ─── Helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/AiAttackBehaviorNukedTerritory.test.ts | 184 | // ─── Tests ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/MapConsistency.test.ts | 11 | // ── Helpers ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/MapConsistency.test.ts | 98 | // ── Tests ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/MapConsistency.test.ts | 430 | // ── Compare nations ────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/MapConsistency.test.ts | 545 | // ── Layer validation ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/WaterNukeRebuildPerf.ts | 202 | // ── Scenarios ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/WaterNukeRebuildPerf.ts | 249 | // ── Report ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 62 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 64 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 438 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 440 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 516 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 518 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 622 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 624 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 748 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 750 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 888 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 890 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1010 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1012 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1093 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1095 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1320 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1322 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1405 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1407 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1467 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/perf/client/ClientRenderPipelinePerf.test.ts | 1469 | // ─────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/client/SteamLinkModal.test.ts | 4 | // ─── Mocks ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/client/SteamLinkModal.test.ts | 518 | // ─── Code-entry path (Task 17) ────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/client/SteamLinkModal.test.ts | 803 | // ─── The discard confirmation ────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/client/AccountModal.rendering.test.ts | 4 | // ─── Mocks (mirrors tests/client/clan/ClanModalTestUtils.ts factories) ────── | COMMENT |
| MEDIUM | tests/client/clan/ClanModalTestUtils.ts | 6 | // ─── Mock factories ───────────────────────────────────────────────────────── | COMMENT |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | update.sh | 101 | # Ask the API who this container is (infra docs/cluster-registry.md, | COMMENT |
| LOW | update.sh | 281 | -H "X-API-Key: $API_KEY" \ | COMMENT |
| LOW | update.sh | 301 | # until the static Worker exists, so this is additive and harmless today — | COMMENT |
| LOW | update.sh | 441 | # for the long-lived slots, with restart=always keeping it up. The two | COMMENT |
| LOW | update.sh | 461 | # non-main dev container at 25h, so without `always` a single missed nightly | COMMENT |
| LOW | update.sh | 501 | # have bookmarked; once the Worker owns it that clause simply never matches. | COMMENT |
| LOW | update.sh | 541 | COMMENT | |
| LOW | update.sh | 561 | # health wait in this script; this retry loop is the closest thing to one, and | COMMENT |
| LOW | deploy.sh | 101 | # | COMMENT |
| LOW | deploy.sh | 141 | # is the API registry's answer, fetched on the box by update.sh's "register" | COMMENT |
| LOW | generate-nginx-upstream.sh | 1 | #!/bin/sh | COMMENT |
| LOW | vite.config.ts | 101 | if (mime) res.setHeader("Content-Type", mime); | COMMENT |
| LOW | vite.config.ts | 121 | function steamLinkAliasRedirect(): Plugin { | COMMENT |
| LOW | vite.config.ts | 341 | setupFiles: "./tests/setup.ts", | COMMENT |
| LOW | .oxfmtrc.json | 1 | { | COMMENT |
| LOW | map-generator/codegen.go | 41 | // the display name differs from the canonical (wire-format) name. | COMMENT |
| LOW | map-generator/map_generator.go | 81 | } | COMMENT |
| LOW | map-generator/map_generator.go | 621 | terrain[coord.X][coord.Y].Type = replacement | COMMENT |
| LOW | map-generator/map_generator.go | 721 | type RGBA struct { | COMMENT |
| LOW | resources/public/ads.txt | 841 | # @ @@ @ | COMMENT |
| LOW | tests/TranslationSystem.test.ts | 41 | /^graphics_setting\.preset_(default|night|evans_pick|colorblind)(_desc)?$/, | COMMENT |
| LOW | tests/TranslationSystem.test.ts | 681 | // 60s, raised from the 30s added in #3861 (May 2026). This is starvation | COMMENT |
| LOW | tests/RenderDesktopDescriptor.test.ts | 21 | // built image where that directory is the build output. To exercise the real | COMMENT |
| LOW | tests/MenuChrome.test.ts | 101 | it("tolerates the promos element being absent entirely", () => { | COMMENT |
| LOW | tests/setup.ts | 1 | // Add global mocks or configuration here if needed | COMMENT |
| LOW | tests/AiAttackBehaviorNukedTerritory.test.ts | 181 | return player.outgoingAttacks().slice(before); | COMMENT |
| LOW | tests/GameUpdateUtils.test.ts | 501 | COMMENT | |
| LOW | tests/DoomsdayClockExecution.test.ts | 21 | import { vi } from "vitest"; | COMMENT |
| LOW | tests/DoomsdayClockExecution.test.ts | 1381 | // Gone with their ground, not merely swept up by death cleanup. | COMMENT |
| LOW | tests/core/pathfinding/PathFinding.WaterNukes.test.ts | 481 | // 31 and 32 (cluster size 32). First carve a lake strictly in the | COMMENT |
| LOW | tests/util/Wire.ts | 21 | encodeLobbyMessage, | COMMENT |
| LOW | tests/client/TribeNameDebtEndToEnd.test.ts | 1 | import { afterEach, beforeEach, describe, expect, it, vi } from "vitest"; | COMMENT |
| LOW | tests/client/SteamLink.test.ts | 261 | it("consumes the stash and still returns true when the modal element isn't present", () => { | COMMENT |
| LOW | tests/client/LangSelectorDefaultLocale.test.ts | 61 | expect(defaultLocale()).toBe("et-EE"); | COMMENT |
| LOW | tests/client/AccountModal.rendering.test.ts | 441 | ); | COMMENT |
| LOW | tests/client/Auth.steam.test.ts | 121 | // Replaces "falls through to the guest/refresh flow when no Steam ticket is | COMMENT |
| LOW | tests/client/Auth.steam.test.ts | 501 | expect(getDesktopSessionState()).toEqual({ | COMMENT |
| LOW | tests/client/GameServerApiCallers.test.ts | 81 | // No server runs this build any more (the rollover moved on without this | COMMENT |
| LOW | tests/zbin/fuzz.test.ts | 1 | // Property-based and adversarial testing. | COMMENT |
| LOW | tests/zbin/golden.test.ts | 1 | // Golden wire vectors. | COMMENT |
| LOW | .claude/skills/release/scripts/commits.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .claude/skills/run-openfront/setup.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/buildAssetHashes.ts | 1 | import { createHash } from "crypto"; | COMMENT |
| LOW | packages/engine-lib/src/Util.ts | 261 | COMMENT | |
| LOW | packages/engine-lib/src/configuration/Config.ts | 41 | drainRampSeconds: 90, // ramps LINEARLY to the max over this long | COMMENT |
| LOW | packages/engine-lib/src/configuration/Config.ts | 61 | rotSpecklePercent: 15, | COMMENT |
| LOW | packages/engine-lib/src/game/DoomsdayClock.ts | 41 | COMMENT | |
| LOW | packages/engine-api/src/Schemas.ts | 101 | // and share previews (GamePreviewBuilder). Widen freely; never narrow. | COMMENT |
| LOW | packages/engine-api/src/Schemas.ts | 121 | // 2. The atlas has no glyphs up there anyway. Of the 128 Latin Extended-A | COMMENT |
| LOW | packages/engine-api/src/Schemas.ts | 221 | // required to win drops steadily from the 80% base at a fixed rate (see | COMMENT |
| LOW | packages/engine-api/src/Schemas.ts | 301 | // per-client traffic. See LiveStatsController / GameServer.handleLiveStats. | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 101 | COMMENT | |
| LOW | packages/shared/src/ApiSchemas.ts | 401 | // The revision of the API's XP formula (computeXp). The client carries a | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 581 | // release drops it. Nothing reads it. | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 641 | // /users/@me parse, which would make the player look signed out. | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 681 | .optional(), | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 701 | // behaviour here: on an old server a grant is | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 721 | .nullable(), | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 841 | // `claimed` — premium, got the bare name ("Ninja"). | COMMENT |
| LOW | packages/shared/src/ApiSchemas.ts | 861 | base: z.string(), | COMMENT |
| 197 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/TranslationSystem.test.ts | 282 | function extractTranslationKeyLikeAttrs(content: string): Set<string> { | CODE |
| LOW | tests/TranslationSystem.test.ts | 293 | function isPotentialTranslationKey( | CODE |
| LOW | tests/TranslationSystem.test.ts | 321 | function isKeyNamedPropertyAssignment(node: ObjectProperty): boolean { | CODE |
| LOW | tests/DesktopUpdateStateSeeding.test.ts | 100 | function publishBeforeAnyConsumerMounts(state: DesktopUpdateState): void { | CODE |
| LOW | tests/AiAttackBehavior.test.ts | 86 | function assignAlternatingLandTiles( | CODE |
| LOW | tests/AttackStats.test.ts | 122 | function expectWarGoldStatIsIncreasedAfterKill( | CODE |
| LOW | tests/NationRelation.test.ts | 100 | function lowestRelationWhileEmbargoed(isTemporary: boolean): Relation { | CODE |
| LOW | tests/NameBoxCalculator.test.ts | 15 | function legacyLargestRectangleInHistogram(widths: number[]): Rectangle { | CODE |
| LOW | tests/NameBoxCalculator.test.ts | 44 | function legacyFindLargestInscribedRectangle(grid: boolean[][]): Rectangle { | CODE |
| LOW | tests/economy/ConstructionCost.test.ts | 46 | function buildFirstCityUnderConstruction() { | CODE |
| LOW | tests/core/pathfinding/PathFinding.WaterNukes.test.ts | 122 | function expectMagnitudesMatchOracle(map: GameMap, passableCoastOnly: boolean) { | CODE |
| LOW | tests/pathfinding/playground/public/client.js | 365 | function scheduleSpatialQueryRecalc() { | CODE |
| LOW | tests/pathfinding/playground/api/pathfinding.ts | 43 | function getOrCreateAdapter( | CODE |
| LOW | tests/server/PublicAssetManifest.test.ts | 33 | function getExpectedRelativeEmittedPath( | CODE |
| LOW | tests/perf/NukeTrajectoryPerf.ts | 96 | function startNukeTrajectoryRender(): { | CODE |
| LOW | tests/perf/BuildPreviewControllerPerf.ts | 143 | function createControllerDependencies( | CODE |
| LOW | tests/perf/BuildPreviewControllerPerf.ts | 291 | function unDiffedUpdateNukeTrajectoryPreview( | CODE |
| LOW | tests/perf/NameBoxCalculatorPerf.ts | 17 | function legacyLargestRectangleInHistogram(widths: number[]): Rectangle { | CODE |
| LOW | tests/perf/NameBoxCalculatorPerf.ts | 42 | function legacyFindLargestInscribedRectangle(grid: boolean[][]): Rectangle { | CODE |
| LOW | tests/perf/fullgame/GcProfiler.ts | 233 | export function summarizeAllocationProfile( | CODE |
| LOW | tests/client/UserSettingModalValues.test.ts | 10 | async function mountGameplayWithEasterEggs(): Promise<TestModal> { | CODE |
| LOW | tests/client/BoostTribeNameBadRequest.test.ts | 28 | function expectNoConsoleCallContains(needle: string) { | CODE |
| LOW | tests/client/PurchaseCosmeticPack.test.ts | 30 | function expectNoConsoleCallContains(needle: string) { | CODE |
| LOW | tests/client/DisableSafariPinchZoom.test.ts | 9 | function dispatchCancelableGestureEvent( | CODE |
| LOW | tests/client/PaymentsCheckout.test.ts | 36 | function expectNoConsoleCallContains(needle: string) { | CODE |
| LOW | tests/client/CosmeticLockerIntegration.test.ts | 110 | function expectNoNestedInteractiveControls(root: ParentNode): void { | CODE |
| LOW | tests/client/PlayerProfilePage.test.ts | 285 | function expectUrlNotToReopenProfile() { | CODE |
| LOW | tests/client/MainInitialize.test.ts | 271 | async function joinPublicLobbyDuringBootAuth(): Promise<void> { | CODE |
| LOW | tests/client/render/gl/PointLightPassSmoothing.test.ts | 14 | function makePointLightSmoothingHarness( | CODE |
| LOW | scripts/issue-lifecycle/rules/assignment-invariant.ts | 4 | export function enforceAssignmentInvariant(issue: Issue): Action[] { | CODE |
| LOW | scripts/split-packages/lib.ts | 24 | export function assertCompilerApiAvailable(): void { | CODE |
| LOW | packages/engine-lib/src/Util.ts | 201 | export function calculateBoundingBoxCenter( | CODE |
| LOW | packages/engine-lib/src/game/DoomsdayClock.ts | 139 | export function doomsdayClockRequiredTiles( | CODE |
| LOW | packages/shared/src/ZbinWire.ts | 87 | export function decodeClientMessageUnvalidated( | CODE |
| LOW | packages/engine/src/GameRunner.ts | 122 | export async function createGameRunnerFromSnapshot( | CODE |
| LOW | packages/engine/src/game/GameUpdateUtils.ts | 198 | function attackArrayMembershipEqual( | CODE |
| LOW | packages/engine/src/game/NameBoxCalculator.ts | 141 | function findLargestInscribedRectangleLegacy(grid: boolean[][]): Rectangle { | CODE |
| LOW | packages/engine/src/game/NameBoxCalculator.ts | 179 | export function findLargestInscribedRectangle( | CODE |
| LOW | packages/engine/src/game/NameBoxCalculator.ts | 211 | export function largestRectangleInHistogram( | CODE |
| LOW | packages/engine/src/game/TransportShipUtils.ts | 45 | export function bestShoreDeploymentSource( | CODE |
| LOW | …ages/engine/src/execution/nation/NationNukePlanning.ts | 99 | export function isTrajectoryInterceptableBySam( | CODE |
| LOW | …ages/engine/src/execution/nation/NationNukePlanning.ts | 407 | export function findEnemySamsCoveringTile( | CODE |
| LOW | src/server/PublicAssetManifest.ts | 90 | function resolveDerivedAssetReference( | CODE |
| LOW | src/server/PublicAssetManifest.ts | 98 | function getEmittedAssetRelativePath( | CODE |
| LOW | src/server/PublicAssetManifest.ts | 214 | function getDerivedPublicAssetRenderer( | CODE |
| LOW | src/server/PublicAssetManifest.ts | 279 | function listHashedPublicAssetPaths(sourceDirs: string[]): string[] { | CODE |
| LOW | src/server/PublicAssetManifest.ts | 349 | export function clearPublicAssetManifestCache(): void { | CODE |
| LOW | src/server/PublicAssetManifest.ts | 353 | export function createHashedPublicAssetFiles( | CODE |
| LOW | src/server/RenderHtml.ts | 137 | export function clearAppShellContentCache(): void { | CODE |
| LOW | src/server/DesktopRelease.ts | 73 | function shellWouldRefuseManifestValue(value: string): boolean { | CODE |
| LOW | src/server/PlayerProfileRoute.ts | 17 | export function registerPlayerProfileRoute(opts: { | CODE |
| LOW | src/server/StaticAssetCache.ts | 7 | export function getStaticAssetCacheControl( | CODE |
| LOW | src/server/StaticAssetCache.ts | 25 | export function applyStaticAssetCacheControl( | CODE |
| LOW | src/server/Worker.ts | 1083 | export function getListingEligibilityError( | CODE |
| LOW | src/client/PortalTutorial.ts | 11 | export async function shouldStartPortalTutorial(): Promise<boolean> { | CODE |
| LOW | src/client/ServerList.ts | 260 | export function backendUnreachableConfirmed(): boolean { | CODE |
| LOW | src/client/ServerList.ts | 969 | export function versionedPathForMismatchedGame( | CODE |
| LOW | src/client/GameModeSelector.ts | 122 | export function multiplayerAllowedForBackend(backendOutage: boolean): boolean { | CODE |
| LOW | src/client/GameModeSelector.ts | 141 | export function shouldBlockMultiplayerAction( | CODE |
| LOW | src/client/GameModeSelector.ts | 184 | export function shouldBlockSocketSourcedAction( | CODE |
| 44 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build-deploy.sh | 76 | # Step 1: Run build.sh | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 194 | // Step 1: Click Ban button to open confirm dialog | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 202 | // Step 2: Find the confirm-dialog and fire its confirm event with reason text | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 221 | // Step 1: Click Ban button to open confirm dialog | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 229 | // Step 2: Fire cancel event | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 243 | // Step 1: Click Ban button | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 251 | // Step 2: Confirm with empty text | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 279 | // Step 1: Click Ban button | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 287 | // Step 2: Confirm | COMMENT |
| LOW⚡ | src/client/TransformHandler.ts | 93 | // Step 1: Convert from Cell coordinates to game coordinates | COMMENT |
| LOW⚡ | src/client/TransformHandler.ts | 98 | // Step 2: Reverse the game center offset calculation | COMMENT |
| LOW⚡ | src/client/TransformHandler.ts | 104 | // Step 3: Reverse the world point calculation | COMMENT |
| LOW | src/client/render/gl/passes/FalloutLightPass.ts | 215 | // Step 1: Extract fallout light in sub-tile space | COMMENT |
| LOW | src/client/render/gl/passes/FalloutLightPass.ts | 253 | // Step 2: Composite tile-space fallout into target lightmap | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build-deploy.sh | 76 | # Step 1: Run build.sh | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 194 | // Step 1: Click Ban button to open confirm dialog | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 202 | // Step 2: Find the confirm-dialog and fire its confirm event with reason text | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 221 | // Step 1: Click Ban button to open confirm dialog | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 229 | // Step 2: Fire cancel event | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 243 | // Step 1: Click Ban button | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 251 | // Step 2: Confirm with empty text | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 279 | // Step 1: Click Ban button | COMMENT |
| LOW⚡ | tests/client/clan/ClanModal.handlers.test.ts | 287 | // Step 2: Confirm | COMMENT |
| LOW⚡ | src/client/TransformHandler.ts | 93 | // Step 1: Convert from Cell coordinates to game coordinates | COMMENT |
| LOW⚡ | src/client/TransformHandler.ts | 98 | // Step 2: Reverse the game center offset calculation | COMMENT |
| LOW⚡ | src/client/TransformHandler.ts | 104 | // Step 3: Reverse the world point calculation | COMMENT |
| LOW | src/client/render/gl/passes/FalloutLightPass.ts | 215 | // Step 1: Extract fallout light in sub-tile space | COMMENT |
| LOW | src/client/render/gl/passes/FalloutLightPass.ts | 253 | // Step 2: Composite tile-space fallout into target lightmap | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/ApiSchemas.test.ts | 67 | const result = GoogleUserSchema.safeParse({ email: "user@example.com" }); | CODE |
| LOW | tests/ApiSchemas.test.ts | 70 | expect(result.data.email).toBe("user@example.com"); | CODE |
| LOW | tests/client/HashedEmail.test.ts | 9 | // sha256("user@example.com") | COMMENT |
| LOW⚡ | tests/client/HashedEmail.test.ts | 44 | await syncHashedEmail(me({ email: "user@example.com" }), true); | CODE |
| LOW⚡ | tests/client/HashedEmail.test.ts | 52 | await syncHashedEmail(me({ google: { email: "user@example.com" } }), true); | CODE |
| LOW⚡ | tests/client/HashedEmail.test.ts | 60 | await syncHashedEmail(me({ email: "user@example.com" }), true); | CODE |
| LOW⚡ | tests/client/HashedEmail.test.ts | 88 | await syncHashedEmail(me({ email: "user@example.com" }), false); | CODE |
| LOW⚡ | tests/client/HashedEmail.test.ts | 96 | await syncHashedEmail(me({ email: "user@example.com" }), true); | CODE |
| LOW⚡ | tests/client/HashedEmail.test.ts | 104 | await syncHashedEmail(me({ email: "user@example.com" }), true); | CODE |
| LOW⚡ | tests/client/HashedEmail.test.ts | 105 | await syncHashedEmail(me({ email: "user@example.com" }), true); | CODE |
| LOW⚡ | tests/client/HashedEmail.test.ts | 112 | const signIn = syncHashedEmail(me({ email: "user@example.com" }), true); | CODE |
| LOW | tests/client/clan/ClanModalTestUtils.ts | 103 | user: { email: "test@test.com" }, | CODE |
| LOW | tests/client/clan/ClanModal.rendering.test.ts | 69 | user: { email: "test@test.com" }, | CODE |
| LOW | src/client/LangSelector.ts | 336 | applyAttributeTranslation("data-i18n-placeholder", "placeholder"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.sh | 50 | # Check if Docker is already installed | COMMENT |
| LOW | setup.sh | 71 | # Check if openfront is already in docker group | COMMENT |
| LOW | setup.sh | 97 | # Check if settings already exist in sysctl.conf | COMMENT |
| LOW | setup.sh | 286 | # Check if containers are running | COMMENT |
| LOW | update.sh | 6 | # Check if environment file is provided | COMMENT |
| LOW | update.sh | 15 | # Check if environment file exists | COMMENT |
| LOW | deploy.sh | 273 | # Check if update script exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 8614 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz", | CODE |
| MEDIUM | resources/lang/pt-BR.json | 1710 | "firefox_warning": "O OpenFront.io não performa bem com navegadores baseados em Firefox\n(https://simple.wikipedia.o | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | setup.sh | 118 | # Create the shared Docker network used by Traefik and app containers | COMMENT |