Repository Analysis

slint-ui/slint

Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of slint-ui/slint, a Rust project with 23,196 GitHub stars. SynthScan v2.0 examined 397,156 lines of code across 1683 source files, recording 846 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 2.4 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.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
23.2K
Stars
Rust
Language
397.2K
Lines of Code
1.7K
Files
846
Pattern Hits
2026-07-14
Scan Date
0.00
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 2HIGH 2MEDIUM 22LOW 820

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 846 distinct pattern matches across 18 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.

Over-Commented Block624 hits · 613 pts
SeverityFileLineSnippetContext
LOW.clippy.toml1# Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/lsp/Cargo.toml161# [package.metadata.wasm-pack.profile.release]COMMENT
LOWtools/lsp/preview.rs101/// ▼ │COMMENT
LOWtools/lsp/language.rs821/// generated Rust/C++ public API and the rename actually changes theCOMMENT
LOWtools/lsp/common.rs641 url.to_file_path().ok().map(|path| path.to_string_lossy().to_string())COMMENT
LOWtools/lsp/fmt/fmt.rs2101/// Given this line:COMMENT
LOWtools/lsp/common/host_language_search.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/lsp/common/host_language_search.rs41/// Hard limits on scan work. The host-language follow-up runs in aCOMMENT
LOWtools/lsp/common/host_language_search.rs241///COMMENT
LOWtools/lsp/common/rename_component.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/lsp/common/rename_component.rs21//! 1. Calls [`DeclarationNode::host_language_classification`]. This walksCOMMENT
LOWtools/lsp/common/rename_component.rs41//! the query), runsCOMMENT
LOWtools/lsp/common/rename_component.rs621 // Ensure the source file is known to the LSP -- avoids classifyingCOMMENT
LOWtools/lsp/common/rename_component.rs4241 std::fs::create_dir(&path).unwrap();COMMENT
LOWtools/lsp/preview/debug.rs101COMMENT
LOWtools/lsp/preview/outline.rs21trait Tree {COMMENT
LOWtools/lsp/preview/macos_titlebar.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/slintpad/playwright.config.ts61 },COMMENT
LOWtools/slintpad/tests/populate-command.spec.ts1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/viewer/remote.rs21// CARGO_PKG_VERSION tracks the workspace version, so it is the Slint version.COMMENT
LOWtools/viewer/main.rs81COMMENT
LOWtools/viewer/main.rs101 load_data: Option<std::path::PathBuf>,COMMENT
LOWtools/viewer/android/build-aab.sh1#!/bin/bashCOMMENT
LOWtools/viewer/android/install-aab.sh1#!/bin/bashCOMMENT
LOWtools/viewer/ci_scripts/ci_post_clone.sh1#!/bin/bashCOMMENT
LOWtools/viewer/remote/apple.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtools/viewer/remote/apple.rs21COMMENT
LOWtools/compiler/main.rs41 /// Embed in a format optimized for the software renderer. ThisCOMMENT
LOWtools/compiler/main.rs61 #[cfg(feature = "slint-sc")]COMMENT
LOWtools/compiler/main.rs81 #[arg(long, name = "style name")]COMMENT
LOWtools/compiler/main.rs101 output: std::path::PathBuf,COMMENT
LOWtools/figma-inspector/src/vite-env.d.ts1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWeditors/tree-sitter-slint/run_tests.sh41COMMENT
LOWeditors/vscode/src/lsp_commands.ts1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWeditors/vscode/src/snippets.ts1// Copyright © Danny Tuppeny <danny@tuppeny.com>COMMENT
LOWtests/screenshots/fonts/convert.sh1#!/bin/bash -eCOMMENT
LOWtests/driver/rust/template.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/crashes.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/widgets-fluent.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/imports.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/types.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/elements.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/layout.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/lookup.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/translations.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/globals.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/legacy.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/children.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/properties.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/models.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/exports.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/widgets-material.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/interfaces.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/issues.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/widgets-cupertino.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/expr.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/focus.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/accessibility.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/conditional.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
LOWtests/driver/rust/tests/match_element.rs1// Copyright © SixtyFPS GmbH <info@slint.dev>COMMENT
564 more matches not shown…
Hyper-Verbose Identifiers86 hits · 102 pts
SeverityFileLineSnippetContext
LOWtools/figma-inspector/backend/utils/export-variables.ts134async function followChainToConcreteValue(CODE
LOWtools/figma-inspector/backend/utils/export-variables.ts273function generateStructsAndInstances(CODE
LOWtools/figma-inspector/backend/utils/export-variables.ts815export async function exportFigmaVariablesToSeparateFiles(CODE
LOWtools/figma-inspector/backend/utils/property-parsing.ts398export function generateUnsupportedNodeSnippet(sceneNode: SceneNode): string {CODE
LOWeditors/vscode/src/common.ts243async function maybeSendStartupTelemetryEvent(CODE
LOWdocs/python/tests/test_gen_mdx.py34def test_parse_inventory_keeps_only_py_type_roles():CODE
LOWdocs/python/tests/test_gen_mdx.py53def test_docstring_to_mdx_links_escapes_and_preserves_code():CODE
LOWdocs/python/tests/test_gen_mdx.py70def test_render_annotation_forward_ref_string():CODE
LOWdocs/python/tests/test_gen_mdx.py103def test_collect_pages_routes_by_kind_and_respects_all(sample):CODE
LOWdocs/python/tests/test_gen_mdx.py120def test_class_members_inherit_and_hide(sample):CODE
LOWdocs/python/tests/test_gen_mdx.py131def test_generic_title_and_docstring_links(sample):CODE
LOWdocs/python/tests/test_gen_mdx.py139def test_import_statement_top_level(sample):CODE
LOWdocs/python/tests/test_gen_mdx.py150def test_import_statement_submodule(sample):CODE
LOWdocs/common/src/utils/thirdparty.ts47export function generateThirdPartyMarkdown(options: {CODE
LOW…ommon/src/utils/starlight-expand-all-sidebar-groups.ts21export function starlightExpandAllSidebarGroups() {CODE
LOWdocs/common/src/utils/starlight-site-defaults.ts23export function slintStarlightMarkdownRehypeExternalLinksOnly() {CODE
LOWdocs/common/src/utils/starlight-site-defaults.ts33export function slintStarlightLinksValidatorPlugin(CODE
LOWdocs/common/src/utils/starlight-favicon-head.ts13export function slintStarlightFaviconHead(CODE
LOWdocs/common/src/testing/playwright-starlight-base.ts8export function starlightPlaywrightProjects(): PlaywrightTestConfig["projects"] {CODE
LOWdocs/common/src/testing/playwright-starlight-base.ts21export function starlightPlaywrightSharedOptions(CODE
LOWdocs/astro/src/components/editor/codemirror.js161function initializePreviewContainers(previewContainer, _content) {CODE
LOWexamples/system-tray/main.py59 def tray_menu_enabled_changed(self, value: bool) -> None:CODE
LOWapi/python/slint/tests/test_load_file.py99def test_system_tray_has_no_window_attribute() -> None:CODE
LOWapi/python/slint/tests/test_logical_position.py13def test_logical_position_construct_and_access() -> None:CODE
LOWapi/python/slint/tests/test_logical_position.py20def test_logical_position_defaults_to_zero() -> None:CODE
LOWapi/python/slint/tests/test_logical_position.py26def test_logical_position_equality_and_hash() -> None:CODE
LOWapi/python/slint/tests/test_logical_position.py35def test_logical_position_repr() -> None:CODE
LOWapi/python/slint/tests/test_logical_position.py39def test_logical_size_construct_and_access() -> None:CODE
LOWapi/python/slint/tests/test_logical_position.py46def test_logical_size_defaults_to_zero() -> None:CODE
LOWapi/python/slint/tests/test_logical_position.py52def test_round_trip_through_slint_property(tmp_path: Path) -> None:CODE
LOWapi/python/slint/tests/test_int_types.py26def test_callback_int_arg_is_int_in_python() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py51def test_callback_int_return_round_trips_as_int() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py67def test_invoke_function_returning_int() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py86def test_struct_int_field_in_callback_arg() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py104def test_global_callback_int_arg_is_int() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py121def test_int_property_get_returns_int() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py138def test_int_property_set_then_get_returns_int() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py152def test_struct_int_field_preserves_type() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py168def test_int_model_iteration_yields_ints() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py181def test_struct_model_int_field_in_iteration() -> None:CODE
LOWapi/python/slint/tests/test_int_types.py197def test_set_row_data_from_slint_preserves_int() -> None:CODE
LOWapi/python/slint/tests/test_api_match.py51def test_incompatible_changes() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py23def test_plain_text_round_trip() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py31def test_is_empty_after_image() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py39def test_is_empty_after_user_data() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py45def test_plain_text_assignment_overwrites() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py64def test_assigning_empty_string_clears_plain_text() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py73def test_assigning_none_clears_plain_text() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py81def test_assigning_none_clears_image() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py91def test_user_data_round_trip_dict() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py101def test_user_data_round_trip_custom_class() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py114def test_user_data_overwrites() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py121def test_user_data_assign_none_clears() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py129def test_plain_text_and_user_data_coexist() -> None:CODE
LOWapi/python/slint/tests/test_data_transfer.py156def test_user_data_cycle_is_collectable() -> None:CODE
LOWapi/python/slint/tests/test_language_enums.py13def test_color_scheme_is_an_enum() -> None:CODE
LOWapi/python/slint/tests/test_language_enums.py18def test_pointer_event_button_variants() -> None:CODE
LOWapi/python/slint/tests/test_language_enums.py29def test_pointer_event_kind_variants() -> None:CODE
LOWapi/python/slint/tests/test_language_enums.py33def test_color_scheme_round_trip(tmp_path: Path) -> None:CODE
LOWapi/python/slint/tests/test_async.py167def test_loop_close_while_main_future_runs() -> None:CODE
26 more matches not shown…
Structural Annotation Overuse23 hits · 44 pts
SeverityFileLineSnippetContext
LOWinternal/core/graphics/brush.rs545 // Step 1: Apply rotation by adding from_angle and wrapping to [0, 1) rangeCOMMENT
LOWinternal/core/graphics/brush.rs557 // Step 2: Separate duplicate positions with different colors to avoid flickeringCOMMENT
LOWinternal/core/graphics/brush.rs568 // Step 3: Sort by rotated positionCOMMENT
LOWinternal/core/graphics/brush.rs573 // Step 4: Add boundary stops at 0.0 and 1.0 if missingCOMMENT
LOWdocs/development/ffi-language-bindings.md619### Step 1: Add to Internal ModuleCOMMENT
LOWdocs/development/ffi-language-bindings.md640### Step 2: Update cbindgen (for C++)COMMENT
LOWdocs/development/ffi-language-bindings.md650### Step 3: Add C++ WrapperCOMMENT
LOWdocs/development/ffi-language-bindings.md663### Step 4: Add Python BindingCOMMENT
LOWdocs/development/ffi-language-bindings.md677### Step 5: Add Node.js BindingCOMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs167 // Step 1: Configure charge LED (register 0x69 = 105 decimal)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs174 // Step 2: Enable ALDO outputs (register 0x90 = 144 decimal)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs181 // Step 3: Configure ALDO4 voltage (register 0x95 = 149 decimal)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs201 // Step 1: Configure Port 0 Configuration (register 0x02) <- 0b00000101 (0x05)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs208 // Step 2: Configure Port 1 Configuration (register 0x03) <- 0b00000011 (0x03)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs215 // Step 3: Configure Port 0 Output (register 0x04) <- 0b00011000 (0x18)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs222 // Step 4: Configure Port 1 Output (register 0x05) <- 0b00001100 (0x0C)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs229 // Step 5: Configure register 0x11 <- 0b00010000 (0x10)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs236 // Step 6: Configure register 0x13 <- 0b11111111 (0xFF)COMMENT
LOWapi/slint-sc/tests/driver.rs141 // Step 1: Run slint-compilerCOMMENT
LOWapi/slint-sc/tests/driver.rs155 // Step 2: Extract test code from ```rust blocks in commentsCOMMENT
LOWapi/slint-sc/tests/driver.rs163 // Step 3: Create test .rs fileCOMMENT
LOWapi/slint-sc/tests/driver.rs178 // Step 4: Compile with rustcCOMMENT
LOWapi/slint-sc/tests/driver.rs206 // Step 5: Run the test binaryCOMMENT
Verbosity Indicators19 hits · 38 pts
SeverityFileLineSnippetContext
LOWtools/lsp/preview/eval.rs311/// The purpose of this function is to be able to show some not totally useless representation ofCOMMENT
LOWinternal/core/graphics/brush.rs545 // Step 1: Apply rotation by adding from_angle and wrapping to [0, 1) rangeCOMMENT
LOWinternal/core/graphics/brush.rs557 // Step 2: Separate duplicate positions with different colors to avoid flickeringCOMMENT
LOWinternal/core/graphics/brush.rs568 // Step 3: Sort by rotated positionCOMMENT
LOWinternal/core/graphics/brush.rs573 // Step 4: Add boundary stops at 0.0 and 1.0 if missingCOMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs167 // Step 1: Configure charge LED (register 0x69 = 105 decimal)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs174 // Step 2: Enable ALDO outputs (register 0x90 = 144 decimal)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs181 // Step 3: Configure ALDO4 voltage (register 0x95 = 149 decimal)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs201 // Step 1: Configure Port 0 Configuration (register 0x02) <- 0b00000101 (0x05)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs208 // Step 2: Configure Port 1 Configuration (register 0x03) <- 0b00000011 (0x03)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs215 // Step 3: Configure Port 0 Output (register 0x04) <- 0b00011000 (0x18)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs222 // Step 4: Configure Port 1 Output (register 0x05) <- 0b00001100 (0x0C)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs229 // Step 5: Configure register 0x11 <- 0b00010000 (0x10)COMMENT
LOW…les/mcu-board-support/m5stack_cores3/m5stack_cores3.rs236 // Step 6: Configure register 0x13 <- 0b11111111 (0xFF)COMMENT
LOWapi/slint-sc/tests/driver.rs141 // Step 1: Run slint-compilerCOMMENT
LOWapi/slint-sc/tests/driver.rs155 // Step 2: Extract test code from ```rust blocks in commentsCOMMENT
LOWapi/slint-sc/tests/driver.rs163 // Step 3: Create test .rs fileCOMMENT
LOWapi/slint-sc/tests/driver.rs178 // Step 4: Compile with rustcCOMMENT
LOWapi/slint-sc/tests/driver.rs206 // Step 5: Run the test binaryCOMMENT
Fake / Example Data20 hits · 28 pts
SeverityFileLineSnippetContext
LOWtools/lsp/preview/properties.rs416 && [SmolStr::new_static("text"), SmolStr::new_static("placeholder")]CODE
LOWdemos/printerdemo/node/main.js38 owner: "user@example.com",CODE
LOWdemos/usecases/rust/src/lib.rs75 let message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOWdemos/usecases/rust/src/lib.rs75 let message = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut laboCODE
LOWdemos/usecases/cpp/main.cpp22 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp22 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp27 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp27 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp32 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp32 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp37 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp37 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp42 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp42 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp47 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp47 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp52 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp52 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp57 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
LOWdemos/usecases/cpp/main.cpp57 "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do "CODE
Decorative Section Separators5 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMtools/lsp/preview.rs98/// ┌─────────────┐COMMENT
MEDIUMtools/lsp/preview.rs100/// │ └─────────────┘ │COMMENT
MEDIUMtools/lsp/preview.rs102/// ┌─────────────┐ ┌─────────────┐ ┌─────────────┐COMMENT
MEDIUMtools/lsp/preview.rs104/// └─────────────┘ └─────────────┘ └─────────────┘COMMENT
MEDIUMtools/lsp/preview.rs107/// └───────────────────────────────────────┘COMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALinternal/interpreter/dynamic_item_tree.rs2085 self.0.description.original.init_code.borrow().iter_without_font_registration()CODE
CRITICALapi/python/slint/tests/test_loader.py19 instance = loader.demos.printerdemo.ui.printerdemo.MainWindow()CODE
Excessive Try-Catch Wrapping16 hits · 20 pts
SeverityFileLineSnippetContext
LOWinternal/core/gdb_pretty_printers.py17 except Exception as e:CODE
LOWinternal/core/gdb_pretty_printers.py32 except Exception as e:CODE
LOWinternal/core/gdb_pretty_printers.py84 except Exception as e:CODE
LOWinternal/core/gdb_pretty_printers.py97 except Exception as e:CODE
MEDIUMinternal/core/gdb_pretty_printers.py13def to_string(self):CODE
MEDIUMinternal/core/gdb_pretty_printers.py20def children(self):CODE
MEDIUMinternal/core/gdb_pretty_printers.py81def to_string(self):CODE
MEDIUMinternal/core/gdb_pretty_printers.py87def children(self):CODE
LOWdocs/python/gen_mdx.py274 except Exception:CODE
LOWdocs/python/gen_mdx.py283 except Exception:CODE
LOWdocs/python/gen_mdx.py302 except Exception:CODE
LOWapi/python/slint/tests/test_async.py66 except Exception as e:CODE
LOWapi/python/slint/tests/test_async.py157 except Exception as e:CODE
LOWapi/python/slint/tests/test_async.py181 except Exception:CODE
LOWapi/python/slint/tests/test_async.py220 except Exception as e:CODE
LOWdemos/printerdemo/python/main.py77 except Exception:CODE
Unused Imports15 hits · 15 pts
SeverityFileLineSnippetContext
LOWdocs/python/gen_mdx.py23CODE
LOWdocs/astro/src/content/code/main_game_logic.py5CODE
LOWdocs/astro/src/content/code/main_game_logic.py6CODE
LOWdocs/astro/src/content/code/main_tiles_from_python.py5CODE
LOWdocs/astro/src/content/code/main_tiles_from_python.py6CODE
LOWdocs/astro/src/content/code/main_tiles_from_python.py10CODE
LOWexamples/memory/main.py5CODE
LOWexamples/memory/main.py6CODE
LOWexamples/memory/main.py11CODE
LOWexamples/memory/main.py11CODE
LOWexamples/async-io/main.py5CODE
LOWapi/python/slint/tests/registry/e2e.py42CODE
LOWapi/python/slint/slint/__init__.py11CODE
LOWapi/python/slint/slint/__init__.py19CODE
LOWapi/python/slint/slint/__init__.py19CODE
Slop Phrases7 hits · 14 pts
SeverityFileLineSnippetContext
LOWinternal/core/items.rs16 - Don't forget to update the documentationCODE
LOWinternal/core/model.rs87/// // don't forget to call row_changedCOMMENT
LOWinternal/backends/qt/qt_widgets.rs16 - Don't forget to update the documentationCODE
MEDIUMexamples/slide_puzzle/index.html42 build is done for demonstration purposes. Native applications are the real target of the toolkit.CODE
MEDIUMui-libraries/material/docs/src/config.yaml50 pathname: 'blog' # Blog main path, you can change this to "articles" (/articles)CODE
MEDIUMui-libraries/material/docs/src/config.yaml56 pathname: 'category' # Category main path /category/some-category, you can change this to "group" (/group/some-catCODE
MEDIUMui-libraries/material/docs/src/config.yaml62 pathname: 'tag' # Tag main path /tag/some-tag, you can change this to "topics" (/topics/some-category)CODE
AI Slop Vocabulary5 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/backends/Cargo.toml19# the right backend and doesn't accidentally just use the default backend!COMMENT
MEDIUMtests/backends/Cargo.toml27# Unfortunately we need to provide our own test harness, so that we can run each test in a separate process and on the mCOMMENT
MEDIUMinternal/renderers/software/lib.rs2254 // seamless edge (scaling each from its source extent drifted apart).COMMENT
MEDIUM.github/workflows/node_test_reusable.yaml70 # Release is only applied to the harness that drives the node.js invocations, but neededCOMMENT
LOWapi/rs/slint/Cargo.toml74## environment, we need a replacement. Using this feature, Slint will just use static variableCOMMENT
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWeditors/tree-sitter-slint/test-to-corpus.py24CODE
LOWinternal/core/gdb_pretty_printers.py39CODE
LOWdocs/python/gen_mdx.py183CODE
LOWdocs/python/gen_mdx.py541CODE
LOWapi/python/slint/slint/__init__.py156CODE
LOWapi/python/slint/slint/__init__.py298CODE
LOWapi/python/slint/slint/__init__.py159CODE
LOWapi/python/slint/slint/_native.py39CODE
Self-Referential Comments5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMtests/driver/python/python.rs94 pop_front_if("# This file is auto-generated");CODE
MEDIUMinternal/compiler/generator/python.rs425 writeln!(f, "# This file is auto-generated\n")?;CODE
MEDIUMapi/python/slint/slint/__init__.py308 """This function is the low-level entry point into Slint for instantiating components. It loads the `.slint` file atSTRING
MEDIUMapi/python/slint/slint/__init__.py384 """This function is the low-level entry point into Slint for instantiating components. It loads the `.slint` file atSTRING
MEDIUMxtask/src/license_headers_check.rs173 let end_line = "# This file is distributed under the same license as the ";CODE
Modern Structural Boilerplate5 hits · 5 pts
SeverityFileLineSnippetContext
LOWapi/python/slint/tests/test_int_types.py203 def set_row_data(self, row: int, value: int) -> None:CODE
LOWapi/python/slint/slint/models.py36 def set_row_data(self, row: int, value: T) -> None:CODE
LOWapi/python/slint/slint/models.py106 def set_row_data(self, row: int, value: T) -> None:CODE
LOWapi/python/slint/slint/__init__.py544def set_xdg_app_id(app_id: str) -> None:CODE
LOWapi/python/slint/slint/__init__.py632__all__ = [CODE
Cross-Language Confusion2 hits · 5 pts
SeverityFileLineSnippetContext
HIGHapi/python/slint/tests/test_models.py241 public function push-one(value: int) { ints.push(value) }STRING
HIGHapi/python/slint/tests/test_models.py244 public function push-one-empty() { empty-ints.push(0) }STRING
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/make-screenshots.sh8# Set SLINT_VIEWER_BIN to a prebuilt host viewer; otherwise a debug build isCOMMENT
LOWscripts/make-screenshots.sh10# Set SLINT_BUILD_NUMBER to also show a build line.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/crater.yaml271 # - git_url: "https://github.com/stars-labs/mpc-wallet" # uses properties that don't exist (AI hallCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWinternal/renderers/femtovg/itemrenderer.rs505 // TODO: implement inset shadows and spread for femtovg. Until then, skip rendering insetCOMMENT