Valdi is a cross-platform UI framework that delivers native performance without sacrificing developer velocity.
This report summarizes scanner evidence for Snapchat/Valdi, a C++ project with 16,383 GitHub stars. SynthScan examined 1,062,546 lines of code across 6390 source files, recording 2546 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 3.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? 2254 finding(s).
Are imports declared and package/API names verified? 183 finding(s).
Are wrappers, guards, and repeated structures necessary? 803 finding(s).
Which changes need focused human review? 2546 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 2546 distinct pattern matches across 18 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 |
|---|---|---|---|---|
| LOW | tools/lint/.eslintrc.js | 1 | // Style rules for Valdi module code (src/valdi_modules and the sample apps under apps/). | COMMENT |
| LOW | tools/valdi_web_devtools/webpack.js | 81 | ); | COMMENT |
| LOW | tools/valdi_web_devtools/index.js | 1 | // Browser-safe entry point for valdi-web-devtools. Kept intentionally lean | COMMENT |
| LOW | tools/ci/bazel_gcs_credential_helper.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/sanitizer_tests.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/compiler_tests.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/compiler_golden_test.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/compiler_golden_test.sh | 21 | # tools/ci/compiler_golden_test.sh --no-build # skip the build (reuse outputs) | COMMENT |
| LOW | tools/ci/compiler_golden_test.sh | 61 | # --remote_download_all forces the emit outputs to be materialized on local | COMMENT |
| LOW | tools/ci/compiler_golden_test.sh | 81 | COMMENT | |
| LOW | tools/ci/compiler_golden_test.sh | 101 | # "srcjar" field name the Android output is a plain .kt, not an archive. We | COMMENT |
| LOW | tools/ci/hotreload_delivery_smoke.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/check_test_coverage_delta.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/size_ignore.txt | 1 | # Modules left out of the size report (tools/ci/size_report.sh). One entry per line: a module name | COMMENT |
| LOW | tools/ci/setup_linux_env.sh | 21 | # --------------------------------------------------------------------------- | COMMENT |
| LOW | tools/ci/setup_linux_env.sh | 141 | sudo chmod 2777 /usr/local/var/run/watchman | COMMENT |
| LOW | tools/ci/validate_swift_toolchain.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/validate_swift_toolchain.sh | 21 | FAILURES=$((FAILURES + 1)) | COMMENT |
| LOW | tools/ci/perf_notify.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/perf_ratio.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/hotreload_smoke.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/build_benchmarks.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/validate_external_config.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/run_tests.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/run_tests.sh | 21 | bzl test "${TEST_TARGETS[@]}" --keep_going --skip_incompatible_explicit_targets --test_output=errors \ | COMMENT |
| LOW | tools/ci/select_tests.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/release_test.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/lint_modules.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/test_external_build_graph.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/android_instrumentation_tests.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/android_instrumentation_tests.sh | 21 | # VALDI_START_EMULATOR 1 to create and boot a headless emulator via the Android SDK. | COMMENT |
| LOW | tools/ci/test_skiplist.txt | 1 | # Test targets that neither tools/ci/run_tests.sh nor tools/ci/test_modules.sh runs, with the | COMMENT |
| LOW | tools/ci/test_skiplist.txt | 21 | //compiler/companion:golden_test run_by:.github/workflows/bzl-changes.yml # Compiler Golden Diff job (internal: client_v | COMMENT |
| LOW | tools/ci/size_report.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | tools/ci/size_report.sh | 21 | # extracted, size-capped, and schema-validated before any of it is rendered. | COMMENT |
| LOW | tools/ci/native_impl_check/allowlist.txt | 1 | # Native element attributes that are declared in NativeTemplateElements.d.ts but are | COMMENT |
| LOW | npm_modules/cli/src/core/constants.ts | 121 | return `--android_platforms=${architectures.map(architecture => ANDROID_PLATFORMS[architecture]).join(',')}`; | COMMENT |
| LOW | …jc/valdi_core/SCNValdiCoreAssetLoadObserver+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …rated-src/objc/valdi_core/SCNValdiCoreAsset+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …di_core/SCNValdiCoreModuleFactoriesProvider+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …re/SCNValdiCoreHTTPRequestManagerCompletion+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …/objc/valdi_core/SCNValdiCoreAssetOutputType+Private.h | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …c/valdi_core/SCNValdiCoreHTTPRequestManager+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …rc/objc/valdi_core/SCNValdiCoreAnimationType+Private.h | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …rc/objc/valdi_core/SCNValdiCoreAttributeType+Private.h | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …e/SCNValdiCoreJSRuntimeNativeObjectsManager+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …d-src/objc/valdi_core/SCNValdiCoreJSRuntime+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …/valdi_core/SCNValdiCoreJavaScriptEngineType+Private.h | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …c/objc/valdi_core/SCNValdiCoreModuleFactory+Private.mm | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …ted-src/objc/valdi_core/SCNValdiCorePlatform+Private.h | 1 | // AUTOGENERATED FILE - DO NOT MODIFY! | COMMENT |
| LOW | …di_core/src/valdi_core/ios/valdi_core/SCValdiTouches.h | 1 | // | COMMENT |
| LOW | valdi_core/src/valdi_core/ios/valdi_core/SCValdiView.h | 1 | // | COMMENT |
| LOW | …i_core/src/valdi_core/ios/valdi_core/SCValdiTouches.mm | 1 | // | COMMENT |
| LOW | …re/ios/valdi_core/SCValdiFunctionWithCPPFunction+CPP.h | 1 | // | COMMENT |
| LOW | …aldi_core/ios/valdi_core/SCValdiAttributesBinderBase.h | 1 | // | COMMENT |
| LOW | …_core/src/valdi_core/ios/valdi_core/SCValdiImageView.m | 1 | // | COMMENT |
| LOW | …/src/valdi_core/ios/valdi_core/SCValdiAssetWithVideo.h | 1 | // | COMMENT |
| LOW | …core/src/valdi_core/ios/valdi_core/SCValdiEventTime.mm | 1 | // | COMMENT |
| LOW | …/valdi_core/ios/valdi_core/SCValdiScrollViewDelegate.m | 1 | // | COMMENT |
| LOW | …re/src/valdi_core/ios/valdi_core/SCValdiNativeAction.h | 1 | // | COMMENT |
| 1378 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ci/size_report_test.py | 81 | def test_rows_cover_added_and_removed(self): | CODE |
| LOW | tools/ci/size_report_test.py | 92 | def test_totals_recomputed_not_trusted(self): | CODE |
| LOW | tools/ci/size_report_test.py | 100 | def test_uncompressed_total_omitted_when_partial(self): | CODE |
| LOW | tools/ci/size_report_test.py | 114 | def test_module_needs_both_absolute_and_relative(self): | CODE |
| LOW | tools/ci/size_report_test.py | 132 | def test_native_either_absolute_or_relative(self): | CODE |
| LOW | tools/ci/size_report_test.py | 149 | def test_total_either_absolute_or_relative(self): | CODE |
| LOW | tools/ci/size_report_test.py | 162 | def test_no_baseline_is_loud_and_absolute(self): | CODE |
| LOW⚡ | tools/ci/size_report_test.py | 181 | def test_annotation_emitted_when_enabled(self): | CODE |
| LOW⚡ | tools/ci/size_report_test.py | 186 | def test_report_only_by_default(self): | CODE |
| LOW⚡ | tools/ci/size_report_test.py | 191 | def test_trailer_suppresses_annotations_keeps_table(self): | CODE |
| LOW | tools/ci/size_report_test.py | 240 | def test_injection_in_names_rejected(self): | CODE |
| LOW⚡ | tools/ci/size_report_test.py | 253 | def test_bytecode_mismatch_is_no_baseline(self): | CODE |
| LOW⚡ | tools/ci/size_report_test.py | 258 | def test_native_measure_mismatch_skips_native_only(self): | CODE |
| LOW⚡ | tools/ci/size_report_test.py | 266 | def test_native_missing_on_one_side_skips_native(self): | CODE |
| LOW⚡ | tools/ci/size_report_test.py | 273 | def test_invalid_native_measure(self): | CODE |
| LOW | tools/ci/size_report_test.py | 289 | def test_collect_ignores_and_sorts(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 33 | def test_resolves_extends_chain(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 40 | def test_own_members_and_multiline_extends(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 45 | def test_skips_slots_and_unannotated_interfaces(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 49 | def test_ignores_nested_object_type_keys(self): | CODE |
| LOW | tools/ci/native_impl_check/test_check_native_impl.py | 70 | def test_ios_ignores_commented_out_registration(self): | CODE |
| LOW | tools/ci/native_impl_check/test_check_native_impl.py | 73 | def test_ios_constant_from_another_file(self): | CODE |
| LOW | tools/ci/native_impl_check/test_check_native_impl.py | 100 | def test_android_multiline_call(self): | CODE |
| LOW | tools/ci/native_impl_check/test_check_native_impl.py | 115 | def test_shared_cpp_ignores_preprocessor_lookups(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 137 | def test_rejects_unknown_platform(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 141 | def test_rejects_runtime_combined(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 149 | def test_checked_in_allowlist_parses(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 171 | def test_shared_counts_for_both(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 176 | def test_derived_predicate_requires_base(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 181 | def test_allowlisted_platform(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 186 | def test_allowlist_for_one_platform_does_not_cover_the_other(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 193 | def test_stale_when_now_implemented(self): | CODE |
| LOW⚡ | tools/ci/native_impl_check/test_check_native_impl.py | 200 | def test_stale_when_no_longer_declared(self): | CODE |
| LOW | tools/ci/native_impl_check/test_check_native_impl.py | 239 | def test_fails_when_ios_mask_image_registration_is_deleted(self): | CODE |
| LOW | tools/ci/native_impl_check/test_check_native_impl.py | 250 | def test_fails_when_extractors_match_nothing(self): | CODE |
| LOW | npm_modules/cli/test/helpers/ProjectHelpers.ts | 126 | export async function findDefinitionForTokenInFile( | CODE |
| LOW | npm_modules/cli/debugger/debugger-model.js | 6 | function matchingTargetForCurrentSelection(targets) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-model.js | 429 | function captureDebuggerInputTarget() { | CODE |
| LOW | npm_modules/cli/debugger/debugger-model.js | 444 | function debuggerInputTargetElementKey(target, elementId) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-model.js | 448 | function isSelectedDebuggerInputTarget(target) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-model.js | 541 | function restorePageScrollPosition(position) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-model.js | 569 | function forwardPreviewWheelToPage(event) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-tree-model.js | 20 | function debuggerProjectionTruncation(reason, path) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-tree-model.js | 27 | function markDebuggerProjectionTruncated(target, reason, path) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-tree-model.js | 39 | function debuggerPrimitiveProjection(value, projectionState) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-tree-model.js | 135 | function setDebuggerProjectionEntry(frame, entry, value) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-api.js | 106 | function startDebuggerActionStream() { | CODE |
| LOW | npm_modules/cli/debugger/debugger-api.js | 126 | function applyDebuggerStatePayload(payload) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-api.js | 162 | function applyDebuggerActionPayload(payload) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 74 | function buildPerformanceTracePerfettoPayload(result) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 132 | function normalizePerformanceTraceTarget(target) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 142 | function performanceTraceTargetsMatch(left, right) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 172 | function persistPerformanceTraceState() { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 176 | function markPerformanceTraceStateUnknown(target) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 237 | async function refreshPerformanceTraceStatus(options) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 342 | async function preparePerformanceTraceTargetSwitch(nextTarget) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 373 | async function isPerformanceTraceTargetVerifiedMissing(target) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-performance.js | 395 | async function recoverPerformanceTraceState() { | CODE |
| LOW | npm_modules/cli/debugger/debugger-settings.js | 2 | function debugSettingsSnapshotFromResult(result) { | CODE |
| LOW | npm_modules/cli/debugger/debugger-settings.js | 8 | function acceptDebugSettingsResult(result, request) { | CODE |
| 634 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 640 | self.assertIn("selectByOptionalAge(age: number | null, limit: number)", queries) | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 641 | self.assertIn("updateUser(name: string, age: number | null, id: number): Promise<void>", queries) | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 738 | "author_id: number | null;", | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 739 | "name: string | null;", | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 740 | "primary: string | null;", | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 749 | "selectReserved(_await: number, _async: string, _as: number, _of: number | null)", | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 804 | "const watchEntriesByDatabaseName: { [name: string]: ClientSQLWatchEntry[] | undefined } = " | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 805 | "Object.create(null);", | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 810 | "const writeChainsByDatabaseName: { [name: string]: Promise<void> | undefined } = " | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 811 | "Object.create(null);", | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 980 | parameters: ClientSQLValue[] | undefined, | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 984 | this.store.operations.push(sql); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 988 | this.store.operations.push(`insert:${id}`); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 989 | this.store.rows.push({ id, name }); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 993 | callback(undefined, undefined); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 995 | callback(undefined, errorMessage(error)); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1001 | _parameters: ClientSQLValue[] | undefined, | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1005 | callback(queryRows(this.store, sql) as T[], undefined); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1007 | callback(undefined, errorMessage(error)); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1017 | parameters: ClientSQLValue[] | undefined, | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1021 | this.store.operations.push(sql); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1025 | this.store.operations.push(`insert:${id}`); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1026 | this.store.rows.push({ id, name }); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1030 | callback(undefined, undefined); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1032 | callback(undefined, errorMessage(error)); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1038 | _parameters: ClientSQLValue[] | undefined, | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1042 | callback(queryRows(this.store, sql) as T[], undefined); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1044 | callback(undefined, errorMessage(error)); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1053 | this.store.operations.push('transaction:start'); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1055 | if (error !== undefined && error !== null) { | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1055 | if (error !== undefined && error !== null) { | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1057 | this.store.operations.push('transaction:rollback'); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1058 | callback(undefined, error); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1061 | this.store.operations.push('transaction:commit'); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1062 | callback(undefined, undefined); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1067 | this.store.operations.push('close'); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1068 | callback(undefined, undefined); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1073 | private readonly storesByName: { [name: string]: Store | undefined } = Object.create(null); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1357 | if (rows[0].enabled !== false || rows[0].optional !== null) throw new Error('nullable false decode'); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1357 | if (rows[0].enabled !== false || rows[0].optional !== null) throw new Error('nullable false decode'); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1358 | if (rows[1].enabled !== true || rows[1].optional !== false) throw new Error('numeric decode'); | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 1359 | if (rows[2].enabled !== true || rows[2].optional !== true) throw new Error('boolean decode'); | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 541 | self.assertIn("private debugDatabase: ClientSQLDebugDatabase | undefined;", database) | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 549 | "execute(sql: string, parameters: ClientSQLValue[] | undefined, callback: ClientSQLNativeCallback<void>) | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 566 | self.assertIn("static open(name: string | undefined)", database) | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 580 | self.assertIn("insertUser(id: number, name: string, age: number | null)", queries) | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 712 | self.assertIn("ratio: number | null;", types) | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 724 | "ratio: number | null;", | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 827 | "this.localWatchEntries.push(entry);", | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 830 | self.assertIn("if (active && currentGeneration === generation) {", database) | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 858 | "transactionCallback(undefined, undefined);", | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 897 | self.assertIn("this.transactionHistory.push(entry);", recorder) | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 1132 | emissions.push(rows); | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 1344 | query<T>(_sql: string, _parameters: ClientSQLValue[] | undefined): Promise<T[]> { | CODE |
| HIGH | compiler/clientsql/test_clientsql.py | 1346 | { enabled: 0, optional: null }, | CODE |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 463 | registeredDatabases.push(database); | STRING |
| HIGH⚡ | compiler/clientsql/test_clientsql.py | 471 | export function notifyClientSQLDebugChanged(_databaseName: string | undefined): void {} | STRING |
| HIGH | compiler/clientsql/test_clientsql.py | 1593 | self.assertIn('"max id": number | null;', types) | STRING |
| HIGH⚡ | compiler/clientsql/src/clientsql/typescript.py | 59 | "export type ClientSQLValue = string | number | boolean | ArrayBuffer | null;", | CODE |
| HIGH⚡ | compiler/clientsql/src/clientsql/typescript.py | 68 | " parameters: ClientSQLValue[] | undefined,", | CODE |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/ci/setup_linux_env.sh | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/setup_linux_env.sh | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/setup_linux_env.sh | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/setup_linux_env.sh | 84 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/setup_linux_env.sh | 152 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/setup_linux_env.sh | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/setup_linux_env.sh | 174 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/setup_linux_env.sh | 180 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 74 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 76 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 154 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 156 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 260 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 262 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 335 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/size_report.py | 337 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_registry.sh | 21 | # ─── Phase 1: Structural validation ───────────────────────────────── | COMMENT |
| MEDIUM | tools/ci/validate_registry.sh | 117 | # ─── Phase 2: Consumer simulation ─────────────────────────────────── | COMMENT |
| MEDIUM | tools/ci/validate_registry.sh | 306 | # ─── Summary ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 42 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 76 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 111 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 118 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 133 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 138 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_swift_toolchain.sh | 159 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 27 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 34 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 48 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 91 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 97 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 130 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 135 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 154 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/validate_external_config.sh | 156 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/test_external_build_graph.sh | 28 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/test_external_build_graph.sh | 30 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/test_external_build_graph.sh | 54 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/test_external_build_graph.sh | 56 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 223 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 225 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 330 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 332 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 363 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/ci/native_impl_check/check_native_impl.py | 365 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | npm_modules/cli/test/hermesClient.spec.ts | 12 | // ─── Helpers ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | npm_modules/cli/test/hermesClient.spec.ts | 68 | // ─── normalizeHermesProfile ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | npm_modules/cli/test/hermesClient.spec.ts | 123 | // ─── listHermesDevices ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | npm_modules/cli/test/hermesClient.spec.ts | 206 | // ─── HermesConnection ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | npm_modules/cli/src/utils/hermesClient.ts | 25 | // ─── Ports ─────────────────────────────────────────────────────────────────── | COMMENT |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | apps/benchmark/src/valdi/benchmark/src/main.tsx | 24 | print(`Proto (indexed) imported in ${importTime} ms`); | CODE |
| HIGH⚡ | apps/benchmark/src/valdi/benchmark/src/main.tsx | 25 | print(`Proto (noindex) imported in ${importTimeNoIndex} ms`); | CODE |
| HIGH⚡ | apps/benchmark/src/valdi/benchmark/src/main.tsx | 31 | print(`Choose the test to run ('q' to exit):`); | CODE |
| HIGH⚡ | apps/benchmark/src/valdi/benchmark/src/main.tsx | 33 | print(`${i + 1}. ${t.name}`); | CODE |
| HIGH | apps/benchmark/src/valdi/benchmark/src/main.tsx | 45 | print('Invalid choice.'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 37 | print('Randomized with seed ' + options.order.seed); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 40 | print('Started'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 48 | print('------------------'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 49 | print('-- Failures start:'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 64 | print('-- Failures end.'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 65 | print('----------------'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 70 | print('Pending:'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 80 | print('Ran ' + executableSpecCount + ' of ' + specCount + plural(' spec', specCount)); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 96 | print(specCounts); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 98 | print('No specs found'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 103 | print('Finished in ' + seconds + ' ' + plural('second', seconds)); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 107 | print('Incomplete: ' + result.incompleteReason); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 112 | print('Randomized with seed ' + result.order.seed); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 113 | print(' (jasmine --random=true --seed=' + result.order.seed + ')'); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 124 | print(colored('yellow', '*')); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 130 | print(colored('green', '.')); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 138 | print(colored('red', 'F')); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 195 | print(failedSpecNumber + ') '); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 196 | print(result.fullName); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 202 | print('Suite error: ' + result.fullName); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 210 | print(indent('Message:', 2)); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 212 | print(colored('red', indent(failedExpectation.message, 4))); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 214 | print(indent('Stack:', 2)); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 216 | print(indent(stackFilter(failedExpectation.stack), 4)); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 225 | print(pendingSpecNumber + ') '); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 226 | print(result.fullName); | CODE |
| HIGH⚡ | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 232 | print(indent(colored('yellow', pendingReason), 2)); | CODE |
| HIGH | …aldi_modules/src/valdi/jasmine/src/console_reporter.js | 152 | print('\n'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | AGENTS.md | 195 | // Step 1: Define service | COMMENT |
| LOW⚡ | AGENTS.md | 200 | // Step 2: Create provider component | COMMENT |
| LOW⚡ | AGENTS.md | 203 | // Step 3: Provide value in parent | COMMENT |
| LOW | AGENTS.md | 214 | // Step 4: Consume in child - extend viewModel from ProvidersValuesViewModel | COMMENT |
| LOW | AGENTS.md | 229 | // Step 5: Wrap component with provider HOC | COMMENT |
| LOW | …piler/Sources/Processors/ImageResourcesProcessor.swift | 251 | // Step 1: Determine the set of output variants we need to emit. When an explicit | COMMENT |
| LOW⚡ | …piler/Sources/Processors/ImageResourcesProcessor.swift | 262 | // Step 2: Find variants we don't already have on disk and need to generate. | COMMENT |
| LOW⚡ | …piler/Sources/Processors/ImageResourcesProcessor.swift | 265 | // Step 3: Find the variant we can use for resizing the images | COMMENT |
| LOW⚡ | …piler/Sources/Processors/ImageResourcesProcessor.swift | 271 | // Step 4: Generate all the missing variants | COMMENT |
| LOW⚡ | …/Sources/Processors/IdentifyImageAssetsProcessor.swift | 207 | // Step 1: identify all images and find their size | COMMENT |
| LOW⚡ | …/Sources/Processors/IdentifyImageAssetsProcessor.swift | 212 | // Step 2: Group the images by their asset identifier | COMMENT |
| LOW⚡ | …/Sources/Processors/IdentifyImageAssetsProcessor.swift | 216 | // Step 3: Generate Compilation items backed by ImageAsset's | COMMENT |
| LOW | …ansformers/NativeCompilerTransformerOptimizeVarRefs.ts | 24 | // Step 1: We go over all the variable refs and see which ones are not used in closures | COMMENT |
| LOW | …ansformers/NativeCompilerTransformerOptimizeVarRefs.ts | 80 | // Step 2: We eliminate the NewVariableRef, LoadVariableRef, SetVariableRef | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/Context/ViewNode.cpp | 3033 | // Step 1: If we finished a layout pass, we update the calculated frame and the view frame | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/Context/ViewNode.cpp | 3043 | // Step 2: If we are a scroll element, we compute the RTL offset X and the children space, | COMMENT |
| LOW | valdi/src/valdi/runtime/Context/ViewNode.cpp | 3064 | // Step 3: If we are a lazyLayout, we compute the nested layout if we are visible | COMMENT |
| LOW | valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp | 86 | // Step 1: Find all styles which are not present anymore | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp | 98 | // Step 2: Apply the new styles | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp | 105 | // Step 3: Remove the styles which have been previously found | COMMENT |
| LOW | …rc/valdi/runtime/JavaScript/Modules/ProtobufModule.cpp | 998 | // Step 2: We build a description of all the registered messages and fields along with their indexes | COMMENT |
| LOW | …rc/valdi/runtime/JavaScript/Modules/ProtobufModule.cpp | 1022 | // Step 3: Send back the result | COMMENT |
| LOW | …rc/valdi/runtime/JavaScript/Modules/ProtobufModule.cpp | 1070 | // Step 1: We parse the protobuf definitions and load them inside a message factory | COMMENT |
| LOW | ai-skills/skills/valdi-mock-breakdown/skill.md | 19 | ## Step 1: Analyze the layout | COMMENT |
| LOW | ai-skills/skills/valdi-mock-breakdown/skill.md | 42 | ## Step 2: Choose Valdi elements and widgets | COMMENT |
| LOW | ai-skills/skills/valdi-mock-breakdown/skill.md | 103 | ## Step 3: Generate the .tsx file | COMMENT |
| LOW | ai-skills/skills/valdi-mock-breakdown/skill.md | 285 | ## Step 4: Wire interactive state | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 26 | ### Step 1: Find the module source | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 38 | ### Step 2: Read the API surface | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 62 | ### Step 3: Find usage examples | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 76 | ### Step 4: Summarize | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 116 | ### Step 1: Edit the preview harness | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 180 | ### Step 2: Build and hot-reload | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 207 | ### Step 3: Inspect the rendered output | COMMENT |
| LOW | ai-skills/skills/valdi-preview/skill.md | 228 | ### Step 4: Iterate | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/skill.md | 121 | ## Step 1: Breakdown | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/skill.md | 145 | ## Step 2: Generate the preview harness | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/skill.md | 266 | ## Step 3: Build, launch, and set up hot-reload | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/skill.md | 302 | ## Step 4: Capture a screenshot | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/skill.md | 316 | ## Step 5: Pixel diff | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/skill.md | 353 | ## Step 6: Parallel refinement agents | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/skill.md | 388 | ## Step 7: Apply fixes (diff coordinator) | COMMENT |
| LOW⚡ | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 82 | # Step 1: Heavy blur to extract the low-frequency (shadow) component. | COMMENT |
| LOW⚡ | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 88 | # Step 2: Find element edges in the render (these are where shadows should appear). | COMMENT |
| LOW⚡ | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 93 | # Step 3: Dilate edges to create a "shadow zone" — the area near edges | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 108 | # Step 4: Compare blurred luminance. Where mock is darker than render | COMMENT |
| LOW | ai-skills/skills/valdi-mock-iterate/skill.md | 21 | ## Step 1: Compare the images | COMMENT |
| LOW | ai-skills/skills/valdi-mock-iterate/skill.md | 59 | ## Step 2: Produce structured feedback | COMMENT |
| LOW | ai-skills/skills/valdi-mock-iterate/skill.md | 105 | ## Step 3: Summarize and prioritize | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | npm_modules/cli/src/debugger/devtoolsPanel.spec.ts | 1885 | harness.panel.state.performance.samples.push({ uptimeMs: 1 }); | CODE |
| CRITICAL | npm_modules/cli/src/debugger/devtoolsPanel.spec.ts | 2238 | harness.panel.state.performance.samples.push({ uptimeMs: 1 }); | CODE |
| CRITICAL | …_modules/cli/src/debugger/devtoolsRuntimeState.spec.ts | 916 | reconnectHarness.panel.state.runtimeState.expandedComponents.add('component'); | CODE |
| CRITICAL | …piler/Sources/Processors/GenerateModelsProcessor.swift | 144 | let baseline = selectedItem.item.bundleInfo.projectConfig.nativeApiMinVersion.map(String.init) | CODE |
| CRITICAL | …ldi/attributes/impl/gestures/GestureAttributesUtils.kt | 31 | val pixelDensity = view.context.resources.displayMetrics.density.toDouble() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …piler/Sources/Processors/ImageResourcesProcessor.swift | 251 | // Step 1: Determine the set of output variants we need to emit. When an explicit | COMMENT |
| LOW⚡ | …piler/Sources/Processors/ImageResourcesProcessor.swift | 262 | // Step 2: Find variants we don't already have on disk and need to generate. | COMMENT |
| LOW⚡ | …piler/Sources/Processors/ImageResourcesProcessor.swift | 265 | // Step 3: Find the variant we can use for resizing the images | COMMENT |
| LOW⚡ | …piler/Sources/Processors/ImageResourcesProcessor.swift | 271 | // Step 4: Generate all the missing variants | COMMENT |
| LOW⚡ | …/Sources/Processors/IdentifyImageAssetsProcessor.swift | 207 | // Step 1: identify all images and find their size | COMMENT |
| LOW⚡ | …/Sources/Processors/IdentifyImageAssetsProcessor.swift | 212 | // Step 2: Group the images by their asset identifier | COMMENT |
| LOW⚡ | …/Sources/Processors/IdentifyImageAssetsProcessor.swift | 216 | // Step 3: Generate Compilation items backed by ImageAsset's | COMMENT |
| LOW | …ansformers/NativeCompilerTransformerOptimizeVarRefs.ts | 24 | // Step 1: We go over all the variable refs and see which ones are not used in closures | COMMENT |
| LOW | …ansformers/NativeCompilerTransformerOptimizeVarRefs.ts | 80 | // Step 2: We eliminate the NewVariableRef, LoadVariableRef, SetVariableRef | COMMENT |
| LOW | …va/com/snap/valdi/views/touches/TouchDispatcherImpl.kt | 167 | // If the view is a view group, then we need to check if this view can intercept the touch event | COMMENT |
| LOW | …ap/valdi/views/touches/TouchDispatcherNewExperience.kt | 182 | // If the view is a view group, then we need to check if this view can intercept the touch event | COMMENT |
| LOW | valdi/src/java/com/snap/valdi/store/KeychainUtils.kt | 60 | // When we bypass, we need to check if a previous key exists and reinitialize with new | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/Context/ViewNode.cpp | 3033 | // Step 1: If we finished a layout pass, we update the calculated frame and the view frame | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/Context/ViewNode.cpp | 3043 | // Step 2: If we are a scroll element, we compute the RTL offset X and the children space, | COMMENT |
| LOW | valdi/src/valdi/runtime/Context/ViewNode.cpp | 3064 | // Step 3: If we are a lazyLayout, we compute the nested layout if we are visible | COMMENT |
| LOW | valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp | 86 | // Step 1: Find all styles which are not present anymore | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp | 98 | // Step 2: Apply the new styles | COMMENT |
| LOW⚡ | valdi/src/valdi/runtime/CSS/CSSAttributesManager.cpp | 105 | // Step 3: Remove the styles which have been previously found | COMMENT |
| LOW | …rc/valdi/runtime/JavaScript/Modules/ProtobufModule.cpp | 998 | // Step 2: We build a description of all the registered messages and fields along with their indexes | COMMENT |
| LOW | …rc/valdi/runtime/JavaScript/Modules/ProtobufModule.cpp | 1022 | // Step 3: Send back the result | COMMENT |
| LOW | …rc/valdi/runtime/JavaScript/Modules/ProtobufModule.cpp | 1070 | // Step 1: We parse the protobuf definitions and load them inside a message factory | COMMENT |
| LOW | valdi/src/valdi/runtime/Views/GlobalViewFactories.cpp | 89 | // After re-acquiring the lock, we need to check if another thread has beat us to create | COMMENT |
| LOW⚡ | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 82 | # Step 1: Heavy blur to extract the low-frequency (shadow) component. | COMMENT |
| LOW⚡ | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 88 | # Step 2: Find element edges in the render (these are where shadows should appear). | COMMENT |
| LOW⚡ | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 93 | # Step 3: Dilate edges to create a "shadow zone" — the area near edges | COMMENT |
| LOW | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 108 | # Step 4: Compare blurred luminance. Where mock is darker than render | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ci/size_report.py | 216 | CODE | |
| LOW | tools/ci/native_impl_check/check_native_impl.py | 114 | CODE | |
| LOW | tools/ci/native_impl_check/check_native_impl.py | 127 | CODE | |
| LOW | tools/ci/native_impl_check/check_native_impl.py | 145 | CODE | |
| LOW | tools/ci/native_impl_check/check_native_impl.py | 277 | CODE | |
| LOW | tools/api_surface/extract_api.py | 27 | CODE | |
| LOW | tools/api_surface/extract_api.py | 108 | CODE | |
| LOW | tools/api_surface/extract_api.py | 142 | CODE | |
| LOW | tools/api_surface/extract_api.py | 178 | CODE | |
| LOW | tools/api_surface/extract_api.py | 206 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 151 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 544 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 575 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 622 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 668 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 723 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 779 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 840 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 1048 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 1088 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 1117 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 1158 | CODE | |
| LOW | …/skills/valdi-mock-to-module/scripts/extract_colors.py | 127 | CODE | |
| LOW | …/skills/valdi-mock-to-module/scripts/extract_colors.py | 181 | CODE | |
| LOW | …kills/skills/valdi-mock-to-module/scripts/find_icon.py | 76 | CODE | |
| LOW | …kills/skills/valdi-mock-to-module/scripts/find_icon.py | 91 | CODE | |
| LOW | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 162 | CODE | |
| LOW | ai-skills/skills/valdi-mock-to-module/scripts/diff.py | 251 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/api_surface/baseline.json | 106 | "placeholder": "string (optional)", | CODE |
| LOW | npm_modules/cli/debugger/debugger-model.js | 179 | 'placeholder', | CODE |
| LOW | npm_modules/cli/debugger/debugger-preview-html.js | 114 | for (const key of ['value', 'title', 'text', 'placeholder', 'accessibilityLabel', 'label', 'name']) { | CODE |
| LOW | …egration_with_native/ios_swift/2-ios_hook_up_module.md | 62 | let dummyFriends = [SCCHelloWorldFriend(name: "John Doe"), SCCHelloWorldFriend(name: "Jane Doe")] | CODE |
| LOW | …egration_with_native/ios_swift/2-ios_hook_up_module.md | 62 | let dummyFriends = [SCCHelloWorldFriend(name: "John Doe"), SCCHelloWorldFriend(name: "Jane Doe")] | CODE |
| LOW | snap_drawing/test/src/TextLayout_Tests.cpp | 2069 | attributes.setMapValue(STRING_LITERAL("placeholder"), Value(std::string_view("hint text"))); | CODE |
| LOW | …aldi/integration_test_app/src/IntegrationTestCases.tsx | 5335 | 'placeholder', | CODE |
| LOW | apps/text_rendering_showcase/TextRenderingShowcase.tsx | 272 | fieldValue: 'user@example.com', | CODE |
| LOW | valdi/test/runtime/ViewNodeAccessibility_tests.cpp | 120 | utils.setViewNodeAttribute(view, "placeholder", Value(STRING_LITERAL("input-placeholder"))); | CODE |
| LOW | valdi/test/ios/SCValdiTextViewMeasurementTests.m | 184 | attributes.values = @{ @"value" : @"", @"placeholder" : @"Send a chat" }; | CODE |
| LOW | …ode_debugger/testWorkspace/web/vue/js/chunk-vendors.js | 10176 | key === 'placeholder' && value !== '' && !el.__ieph | CODE |
| LOW | valdi/vscode_debugger/src/cdp/api.d.ts | 209 | | 'placeholder' | CODE |
| LOW | …snap/valdi/attributes/impl/EditTextAttributesBinder.kt | 39 | "placeholder", | CODE |
| LOW | valdi/src/valdi/macos/Views/SCValdiMacOSTextField.m | 495 | [attributesBinder bindUntypedAttribute:@"placeholder" invalidateLayoutOnChange:NO selector:@selector(valdi_setPlaceh | CODE |
| LOW | valdi/src/valdi/runtime/Attributes/AttributeIds.cpp | 35 | registerDefaultAttribute(DefaultAttributePlaceholder, "placeholder"); | CODE |
| LOW | valdi/src/valdi/runtime/Attributes/AttributeOwner.cpp | 33 | static auto kSource = STRING_LITERAL("placeholder"); | CODE |
| LOW | valdi/src/valdi/ios/Views/SCValdiTextView.m | 1796 | NSString *placeholder = ObjectAs([attributes valueForAttributeName:@"placeholder"], NSString); | CODE |
| LOW | valdi/src/valdi/ios/Views/SCValdiTextView.m | 2059 | [attributesBinder bindAttribute:@"placeholder" | CODE |
| LOW | valdi/src/valdi/ios/Views/SCValdiTextField.m | 956 | [[SCNValdiCoreCompositeAttributePart alloc] initWithAttribute:@"placeholder" | CODE |
| LOW | …snap_drawing/Layers/Classes/EditableTextLayerClass.cpp | 93 | static const auto kPlaceholder = STRING_LITERAL("placeholder"); | CODE |
| LOW | …valdi_modules/src/valdi/valdi_ssr/src/dom/ServerDOM.ts | 261 | placeholder: 'placeholder', | CODE |
| LOW | …/src/valdi/web_renderer/src/views/WebValdiTextField.ts | 389 | case 'placeholder': | CODE |
| LOW | …s/src/valdi/web_renderer/src/views/WebValdiTextView.ts | 229 | case 'placeholder': | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | npm_modules/cli/src/setup/linuxSetup.ts | 177 | // Download using DevSetupHelper (more robust than wget) | COMMENT |
| MEDIUM | …e/src/valdi_core/cpp/Utils/ValueMarshallerRegistry.hpp | 239 | // can leverage the fully resolved schema without hitting the registry | COMMENT |
| MEDIUM | …rawing/src/snap_drawing/cpp/Drawing/Mask/PaintMask.cpp | 16 | // This allows us to leverage the saveBehind API | COMMENT |
| MEDIUM | valdi/src/java/com/snap/valdi/utils/BitmapPool.kt | 121 | // TODO(simon): We could leverage reconfigure() to allow re-using buffers which are | COMMENT |
| MEDIUM | …les/src/valdi/web_renderer/src/views/WebValdiScroll.ts | 106 | // A more robust solution would observe children, but is more complex. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/ledger_sql_demo/scripts/android_smoke.py | 4 | CODE | |
| LOW | compiler/clientsql/package_clientsql.py | 3 | CODE | |
| LOW | compiler/clientsql/src/clientsql_toolchain.py | 1 | CODE | |
| LOW | compiler/clientsql/src/clientsql/validator.py | 1 | CODE | |
| LOW | compiler/clientsql/src/clientsql/typescript.py | 1 | CODE | |
| LOW | compiler/clientsql/src/clientsql/model.py | 1 | CODE | |
| LOW | compiler/clientsql/src/clientsql/cli.py | 1 | CODE | |
| LOW | compiler/clientsql/src/clientsql/sql.py | 1 | CODE | |
| LOW | …kills/skills/valdi-mock-to-module/scripts/test_diff.py | 21 | CODE | |
| LOW | …c/valdi/valdi_protobuf/scripts/generate_test_protos.py | 6 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | valdi/vscode_debugger/src/adapter/variables.ts | 494 | // if it's a getter, auto expand as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tsn/scripts/compile_single.sh | 47 | # Loop through the array | COMMENT |
| LOW | …modules/src/valdi/valdi_protobuf/web/test/run_tests.sh | 47 | # Set NODE_PATH to allow jest to find its dependencies | COMMENT |
| LOW | …les/src/valdi/valdi_protobuf/web/test/extract_types.py | 38 | # Check if this is a class declaration - start skipping | COMMENT |
| LOW | …les/src/valdi/valdi_protobuf/web/test/extract_types.py | 63 | # Check if Long type is used | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ls/valdi-mock-to-module/scripts/test_extract_colors.py | 85 | # Create an image with a gradient-like pattern | COMMENT |
| MEDIUM | …modules/src/valdi/valdi_protobuf/web/test/run_tests.sh | 50 | # Create a minimal jest config to avoid filesystem scanning | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …r/Compiler/Vendors/Clibsass/Sources/kwd_arg_macros.hpp | 4 | // Example usage: | COMMENT |
| LOW | …/skills/valdi-mock-to-module/scripts/watch-and-diff.sh | 11 | # Usage: | COMMENT |
| LOW | …ills/valdi-mock-to-module/scripts/snapshot-and-diff.sh | 4 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/Sources/Generation/Swift/SwiftFunctionGenerator.swift | 121 | print("Error in invokeWithJSRuntime: \\(error)") | CODE |
| MEDIUM | …kills/skills/valdi-mock-to-module/scripts/find_icon.py | 263 | print("Error: Could not find SIGIcons.tsx. Please provide --icons-file.", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | compiler/companion/src/ConsoleLogTransformer.spec.ts | 101 | function doSomething() { | CODE |
| LOW | …ode_debugger/testWorkspace/web/vue/js/chunk-vendors.js | 8147 | function getData (data, vm) { | CODE |
| LOW | …es/src/valdi/valdi_core/src/debugging/DebugSettings.ts | 311 | function handleRequest(request: DebugSettingsRequest): DebugSettingsSnapshot { | CODE |
| LOW | …_modules/src/valdi/source_map/test/SourceMapExample.ts | 9 | export function doSomething(value: any): number { | CODE |