Repository Analysis

oxc-project/oxc

⚓ A collection of high-performance JavaScript tools.

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of oxc-project/oxc, a Rust project with 21,946 GitHub stars. SynthScan v2.0 examined 1,107,533 lines of code across 3340 source files, recording 4253 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 4.0 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).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
21.9K
Stars
Rust
Language
1.1M
Lines of Code
3.3K
Files
4.3K
Pattern Hits
2026-07-14
Scan Date
0.01
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 12HIGH 5MEDIUM 41LOW 4195

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 4253 distinct pattern matches across 14 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 Block4011 hits · 3876 pts
SeverityFileLineSnippetContext
LOWdeny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWdeny.toml21yanked = "warn"COMMENT
LOWdeny.toml61 "CDLA-Permissive-2.0",COMMENT
LOWdeny.toml81# The name of the crate the clarification applies toCOMMENT
LOWdeny.toml101# visit https://doc.rust-lang.org/cargo/reference/manifest.html#the-publish-field.COMMENT
LOWdeny.toml121# * lowest-version - The path to the lowest versioned duplicate is highlightedCOMMENT
LOWdeny.toml141 # not specified, all versions will be matched.COMMENT
LOWdeny.toml161# "hyper-rustls",COMMENT
LOWdeny.toml181skip-tree = [COMMENT
LOWdeny.toml201COMMENT
LOWdeny.toml221 # The triple can be any string, but only the target triples built in toCOMMENT
LOWdeny.toml241# If true, metadata will be collected with `--no-default-features`. The sameCOMMENT
LOW.rustfmt.toml1style_edition = "2024"COMMENT
LOWtasks/benchmark/benches/lexer.rs81 while lexer.next_token_for_benchmarks().kind() != Kind::Eof {}COMMENT
LOWtasks/benchmark/src/lib.rs1use std::alloc::{GlobalAlloc, Layout, System};COMMENT
LOWtasks/transform_checker/src/lib.rs1//! Utility to check correctness of `ScopeTree` and `SymbolTable` after transformer has run.COMMENT
LOWtasks/transform_checker/src/lib.rs21//!COMMENT
LOWtasks/transform_checker/src/lib.rs41//! The scope IDs are:COMMENT
LOWtasks/transform_checker/src/lib.rs61//! function f() { /* Scope ID 2 */ }COMMENT
LOWtasks/transform_conformance/update_fixtures.ts1// Script to amend test fixtures for transforms.COMMENT
LOWtasks/transform_conformance/src/constants.rs21 // [Syntax] "babel-plugin-transform-syntax-bigint",COMMENT
LOWtasks/transform_conformance/src/constants.rs41 // "babel-plugin-transform-sticky-regex",COMMENT
LOWtasks/prettier_conformance/src/lib.rs341 /// Extract single output section from snapshot file which contains multiple test cases.COMMENT
LOWtasks/prettier_conformance/src/lib.rs361 /// ```COMMENT
LOWtasks/ast_tools/src/main.rs1//! Generator of code related to AST.COMMENT
LOWtasks/ast_tools/src/main.rs21//! # When code generation happens, and where it goesCOMMENT
LOWtasks/ast_tools/src/main.rs41//! All `.rs` source files in crates which depend on `oxc_ast_macros` crate are read and parsed with [`syn`].COMMENT
LOWtasks/ast_tools/src/main.rs61//! * [`StructDef`] contains info about the name and type of every field in the struct.COMMENT
LOWtasks/ast_tools/src/main.rs81//! The end result of this phase is the [`Schema`], which is the single source of truth about the AST.COMMENT
LOWtasks/ast_tools/src/main.rs101//!COMMENT
LOWtasks/ast_tools/src/main.rs121//!COMMENT
LOWtasks/ast_tools/src/main.rs141//!COMMENT
LOWtasks/ast_tools/src/main.rs161//! custom attributes, and are much simpler than `syn`'s types.COMMENT
LOWtasks/ast_tools/src/parse/attr.rs141#[derive(Debug)]COMMENT
LOWtasks/ast_tools/src/parse/mod.rs1//! Create schema of types from Rust source files.COMMENT
LOWtasks/ast_tools/src/parse/mod.rs21//! by [`TypeId`] - same order of entries as the `FxIndexSet` of type names from phase 1.COMMENT
LOWtasks/ast_tools/src/parse/mod.rs121/// (when the `proc-macro` feature is enabled on `proc-macro2`).COMMENT
LOWtasks/ast_tools/src/parse/parse.rs41COMMENT
LOWtasks/ast_tools/src/output/rust.rs61/// Original comment can be either `///@` or `//!@`.COMMENT
LOWtasks/ast_tools/src/output/javascript.rs81/// `const` statements will be inserted at the top of the file for the flags listed in `FLAG_NAMES`.COMMENT
LOWtasks/ast_tools/src/output/javascript.rs101///COMMENT
LOWtasks/ast_tools/src/output/javascript.rs121///COMMENT
LOWtasks/ast_tools/src/output/javascript.rs141/// impl VariantGenerator<2> for Gen {COMMENT
LOWtasks/ast_tools/src/output/yaml.rs21 /// * Glob patterns for watched crates (`{crate}/src/**/*.rs`)COMMENT
LOWtasks/ast_tools/src/schema/mod.rs121 /// Get reference to [`StructDef`] for a [`TypeId`].COMMENT
LOWtasks/ast_tools/src/schema/mod.rs161 /// Get mutable reference to [`PrimitiveDef`] for a [`TypeId`].COMMENT
LOWtasks/ast_tools/src/schema/mod.rs201 /// Get reference to [`VecDef`] for a [`TypeId`].COMMENT
LOWtasks/ast_tools/src/schema/extensions/estree.rs1/// Configuration for ESTree generator on a struct.COMMENT
LOWtasks/ast_tools/src/schema/extensions/estree.rs21 /// * Actual struct field: index of the field.COMMENT
LOWtasks/ast_tools/src/schema/extensions/estree.rs41 /// Name of custom converter `#[ast_meta]` type to use to serialize this enum.COMMENT
LOWtasks/ast_tools/src/schema/extensions/estree.rs61COMMENT
LOWtasks/ast_tools/src/schema/extensions/estree.rs81 pub no_flatten: bool,COMMENT
LOWtasks/ast_tools/src/schema/defs/mod.rs121/// e.g. If `Option<Expression>` exists in AST, `Containers::option_id` for `Expression` type defCOMMENT
LOWtasks/ast_tools/src/schema/defs/enum.rs121 /// [`all_inherits`]: Self::all_inheritsCOMMENT
LOWtasks/ast_tools/src/derives/dummy.rs141 alloc.count += field_alloc.count;COMMENT
LOWtasks/ast_tools/src/derives/mod.rs61COMMENT
LOWtasks/ast_tools/src/derives/mod.rs81 /// ("scope", attr_positions!(Struct | Enum | StructField)),COMMENT
LOWtasks/ast_tools/src/derives/mod.rs101 ///COMMENT
LOWtasks/ast_tools/src/derives/estree.rs381 let stmts = g.stmts;COMMENT
LOWtasks/ast_tools/src/generators/scopes_collector.rs41///COMMENT
3951 more matches not shown…
Hallucination Indicators12 hits · 135 pts
SeverityFileLineSnippetContext
CRITICALcrates/oxc_linter/src/config/config_store.rs368 self.base.base.config.options.type_aware.unwrap_or(false)CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs373 self.base.base.config.options.type_check.unwrap_or(false)CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs378 self.base.base.config.options.deny_warnings.unwrap_or(false)CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs393 self.base.base.config.options.respect_eslint_disable_directives.unwrap_or(true)CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs853 assert!(!store.base.base.config.env.contains("React"));CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs877 assert!(store.base.base.config.env.contains("es2024"));CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs901 assert!(!store.base.base.config.globals.is_enabled("React"));CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs902 assert!(!store.base.base.config.globals.is_enabled("Secret"));CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs978 assert!(store.base.base.config.globals.is_enabled("React"));CODE
CRITICALcrates/oxc_linter/src/config/config_store.rs979 assert!(store.base.base.config.globals.is_enabled("Secret"));CODE
CRITICAL…/oxc_transformer_plugins/src/replace_global_defines.rs509 if let Some(value) = self.config.0.identifier.identifier_defines.get("this") {CODE
CRITICAL…/oxc_transformer_plugins/src/replace_global_defines.rs604 let value = self.config.0.identifier.identifier_defines.get(ident.name.as_str())?.clone();CODE
Hyper-Verbose Identifiers91 hits · 96 pts
SeverityFileLineSnippetContext
LOWtasks/transform_conformance/update_fixtures.ts167function migrateDeprecatedLooseOptions(options: Options): boolean {CODE
LOWtasks/transform_conformance/update_fixtures.ts214function ensureAllClassPluginsEnabled(options: Options): boolean {CODE
LOWtasks/ast_tools/src/generators/estree_visit.rs207 function debugCheckAncestorsOnExit(lenBefore, node) {CODE
LOWtasks/compat_data/chromium-to-electron.js16function addElectronSupportFromChromium(supportData) {CODE
LOW…xc_linter/src/rules/typescript/no_invalid_void_type.rs575 function returnsVoidPromiseDirectly(): Promise<void> {CODE
LOWcrates/oxc_linter/src/rules/eslint/no_magic_numbers.rs750 ("function getNegativeSecondsInMinute() {return -60;}", None),CODE
LOW…s/oxc_linter/src/rules/eslint/no_unused_expressions.rs440 function namedFunctionInExpressionContext() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1207 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1223 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1271 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1287 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1303 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1319 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1444 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1462 function UnstableNestedClassComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1516 function NestedUnstableFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1536 function NestedUnstableFunctionComponent() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1085 function ComponentWithNormalFunction() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1091 function normalFunctionWithNormalFunction() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1097 function normalFunctionWithConditionalFunction() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1105 function functionThatStartsWithUseButIsntAHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1963 function ComponentWithHookInsideLoop() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1970 function ComponentWithHookInsideLoop() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1979 function ComponentWithHookInsideLoop() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs993 function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1748 function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1845 function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1856 return function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1867 function useHookWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1878 return function useHookWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1897 function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1908 return function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1941 function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1952 return function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs2029 function normalFunctionWithConditionalHook() {CODE
LOW.github/scripts/generate-benchmark-matrix.js131async function determineAffectedComponents() {CODE
LOWapps/oxfmt/test/lsp/utils.ts228export async function formatFixtureAfterConfigChange(CODE
LOWapps/oxlint/test/lsp/utils.ts215export async function lintMultiWorkspaceFixture(CODE
LOWapps/oxlint/test/lsp/utils.ts253export async function lintFixtureWithFileContentChange(CODE
LOWapps/oxlint/test/lsp/utils.ts270export async function lintMultiWorkspaceFixtureWithFileContentChange(CODE
LOWapps/oxlint/src-js/plugins/comments.ts330function deserializeCommentIfNeeded(index: number): Comment | null {CODE
LOWapps/oxlint/src-js/plugins/comments.ts389function debugCheckDeserializedComments(): void {CODE
LOWapps/oxlint/src-js/plugins/comments.ts470function debugAssertAllCommentsCleared(): void {CODE
LOWapps/oxlint/src-js/plugins/report.ts285function resolveMessageFromMessageId(messageId: string, ruleDetails: RuleDetails): string {CODE
LOWapps/oxlint/src-js/plugins/fix.ts227function validateAndConvertFix(fix: Fix): FixReport {CODE
LOWapps/oxlint/src-js/plugins/location.ts116export function debugAssertLinesIsInitialized(): void {CODE
LOWapps/oxlint/src-js/plugins/tokens.ts526function debugCheckDeserializedTokens(): void {CODE
LOWapps/oxlint/src-js/plugins/tokens.ts620function debugAssertAllTokensCleared(): void {CODE
LOWapps/oxlint/src-js/plugins/selector.ts360export function wrapVisitFnWithSelectorMatch(CODE
LOWapps/oxlint/src-js/plugins/tokens_and_comments.ts112export function initTokensAndCommentsBuffer(): void {CODE
LOWapps/oxlint/src-js/plugins/cfg.ts290export function debugAssertIsEnterExitObject(enterExit: unknown): asserts enterExit is EnterExit {CODE
LOWapps/oxlint/src-js/package/rule_tester.ts584function assertValidTestCasePasses(test: ValidTestCase, plugin: Plugin, config: Config): void {CODE
LOWapps/oxlint/src-js/package/rule_tester.ts622function assertInvalidTestCasePasses(test: InvalidTestCase, plugin: Plugin, config: Config): void {CODE
LOWapps/oxlint/src-js/package/rule_tester.ts739function assertInvalidTestCaseMessageIsCorrect(CODE
LOWapps/oxlint/src-js/package/rule_tester.ts846function assertInvalidTestCaseLocationIsCorrect(CODE
LOWapps/oxlint/src-js/package/rule_tester.ts920function assertSuggestionsAreCorrect(CODE
LOWapps/oxlint/src-js/package/rule_tester.ts972function assertSuggestionMessageIsCorrect(CODE
LOWapps/oxlint/src-js/package/rule_tester.ts1020function assertErrorCountIsCorrect(diagnostics: Diagnostic[], expectedErrorCount: number): void {CODE
LOWapps/oxlint/src-js/package/rule_tester.ts1059function getUnsubstitutedMessagePlaceholders(CODE
LOWapps/oxlint/src-js/package/rule_tester.ts1509function setEcmaVersionAndFeatures(test: TestCase) {CODE
31 more matches not shown…
Structural Annotation Overuse35 hits · 61 pts
SeverityFileLineSnippetContext
LOW…c_transformer/src/plugins/tagged_template_transform.rs260// NOTE: This function is copied from `oxc_codegen/src/str.rs`.COMMENT
LOW…ansformer/src/es2022/class_properties/private_field.rs1470 /// NOTE: This method will mutate the passed-in `object` to a second copy ofCOMMENT
LOWcrates/oxc_linter/src/config/config_store.rs406 // NOTE: This function is not crate visible because it is used in `oxlint` as well to resolve configsCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/prefer_template.rs277 // Step 1: Escape ${ and ` that aren't already properly escapedCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/prefer_template.rs279 // Step 2: Unescape the quote character (\' → ' or \" → ")COMMENT
LOW…react_compiler_inference/align_object_method_scopes.rs100 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler_inference/align_object_method_scopes.rs146 // Step 2: Repoint identifiers whose scopes were mergedCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs247 // Step 1: Collect rewritesCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs250 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs312 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs330 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs335 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs83 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs89 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs938 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs962 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1032 // Step 3: Propagate assumed-invoked status through mayInvoke chainsCOMMENT
LOWcrates/oxc_allocator/src/arena/fixed_size/windows.rs760 // Step 1: A large allocation that pushes committed region just past `CONTAINER_SIZE / 2`.COMMENT
LOWcrates/oxc_allocator/src/arena/fixed_size/windows.rs774 // Step 2: A small allocation that triggers a further grow.COMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs651 // Step 1: Run define plugin first (like the playground does)COMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs656 // Step 2: Rebuild semantic for transformerCOMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs660 // Step 3: Run transformer with ES2019 target (lowers optional chaining)COMMENT
LOW…oxc_transformer_plugins/src/inject_global_variables.rs168 // Step 1: slow path where visiting the AST is required to replace dot defines.COMMENT
LOW…oxc_transformer_plugins/src/inject_global_variables.rs182 // Step 2: find all the injects that are referenced.COMMENT
LOWcrates/oxc/README.md78// Step 1: ParsingCOMMENT
LOWcrates/oxc/README.md95// Step 2: Semantic analysis.COMMENT
LOW.agents/skills/migrate-oxfmt/SKILL.md14## Step 1: Run Automated MigrationCOMMENT
LOW.agents/skills/migrate-oxfmt/SKILL.md78## Step 2: Review Generated ConfigCOMMENT
LOW.agents/skills/migrate-oxfmt/SKILL.md139## Step 3: Configure Oxfmt ExtensionsCOMMENT
LOW.agents/skills/migrate-oxfmt/SKILL.md180## Step 4: Update CI and ScriptsCOMMENT
LOW.agents/skills/migrate-oxlint/SKILL.md14## Step 1: Run Automated MigrationCOMMENT
LOW.agents/skills/migrate-oxlint/SKILL.md43## Step 2: Review Generated ConfigCOMMENT
LOW.agents/skills/migrate-oxlint/SKILL.md101## Step 3: Install OxlintCOMMENT
LOW.agents/skills/migrate-oxlint/SKILL.md117## Step 4: Handle Unsupported FeaturesCOMMENT
LOW.agents/skills/migrate-oxlint/SKILL.md152## Step 5: Update CI and ScriptsCOMMENT
Decorative Section Separators19 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMcrates/oxc_mangler/src/lib.rs482// ─────────────────────────── Pipeline stages ───────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/tests.rs1825 // ── Single-file mode (no workspace folders / root URI on initialize) ──────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs98 // ── Starting / Stopping ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs154 // ── State accessors ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs187 // ── Worker creation ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs200 // ── Lookup helpers (associated functions) ─────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs298 // ── Workspace-folder change handling ──────────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs344 // ── Single-file mode operations ───────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_linter/examples/linter.rs88// · ─────────COMMENT
MEDIUMcrates/oxc_linter/src/disable_directives.rs861 /// ────┬────────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_jsdoc/src/parser/jsdoc_parts.rs61 // ───────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs280// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs282// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs545// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs547// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs683// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs685// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs788// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs790// ──────────────────────────────────────────────────COMMENT
Verbosity Indicators27 hits · 49 pts
SeverityFileLineSnippetContext
LOWcrates/oxc_transformer/src/es2020/optional_chaining.rs502 // so we need to check if we need to specify the context.COMMENT
LOWcrates/oxc_transformer/src/typescript/annotations.rs118 // it is not a type import, otherwise we need to check if the identifier is referencedCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/prefer_template.rs277 // Step 1: Escape ${ and ` that aren't already properly escapedCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/prefer_template.rs279 // Step 2: Unescape the quote character (\' → ' or \" → ")COMMENT
LOWcrates/oxc_linter/src/rules/eslint/no_loop_func.rs271 // as a write reference. We need to check if the function is nested inside such a loop.COMMENT
LOW…es/oxc_linter/src/rules/eslint/no_unused_vars/usage.rs565 // todo: do we need to check if variable is used as iterator inCOMMENT
LOW…react_compiler_inference/align_object_method_scopes.rs100 // Step 1: Merge affected scopes to their canonical root.COMMENT
LOW…react_compiler_inference/align_object_method_scopes.rs146 // Step 2: Repoint identifiers whose scopes were mergedCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs247 // Step 1: Collect rewritesCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs250 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs312 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs330 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs335 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs83 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs89 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs938 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs962 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1032 // Step 3: Propagate assumed-invoked status through mayInvoke chainsCOMMENT
LOWcrates/oxc_minifier/src/peephole/remove_dead_code.rs279 // We need to check if it is in arrow function with `expression: true`.COMMENT
LOWcrates/oxc_allocator/src/arena/fixed_size/windows.rs760 // Step 1: A large allocation that pushes committed region just past `CONTAINER_SIZE / 2`.COMMENT
LOWcrates/oxc_allocator/src/arena/fixed_size/windows.rs774 // Step 2: A small allocation that triggers a further grow.COMMENT
LOW…ates/oxc_formatter/src/print/binary_like_expression.rs558 // We can flatten the left hand side, so we need to check if we have a nested binary expressionCOMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs651 // Step 1: Run define plugin first (like the playground does)COMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs656 // Step 2: Rebuild semantic for transformerCOMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs660 // Step 3: Run transformer with ES2019 target (lowers optional chaining)COMMENT
LOW…oxc_transformer_plugins/src/inject_global_variables.rs168 // Step 1: slow path where visiting the AST is required to replace dot defines.COMMENT
LOW…oxc_transformer_plugins/src/inject_global_variables.rs182 // Step 2: find all the injects that are referenced.COMMENT
AI Slop Vocabulary15 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMtasks/ast_tools/src/main.rs77//! Custom attributes on types (e.g. `#[visit]`) are also parsed at this stage, in conjunction withCOMMENT
MEDIUMtasks/ast_tools/src/main.rs406/// to include all attrs which generators/derives utilize.COMMENT
MEDIUMcrates/oxc_parser/src/lexer/source.rs787// Implement `Ord` and `PartialOrd` using `(*const u8)::offset_from` to utilize the invariantCOMMENT
MEDIUM…rmer/src/es2018/async_generator_functions/for_await.rs58 // but we don't have a such method to do it, so we leverage the statement injector.COMMENT
MEDIUM…tes/oxc_linter/src/rules/vitest/prefer_to_be_truthy.rs82 /// truthy value, which makes the tests more comprehensive and robust.COMMENT
MEDIUM…oxc_linter/src/rules/typescript/no_inferrable_types.rs99 // Essentially a readonly property without a typeCOMMENT
MEDIUM…_linter/src/rules/eslint/prefer_named_capture_group.rs44 /// and allow references by name (e.g. `match.groups.year`), which is more robust.COMMENT
MEDIUM…/oxc_linter/src/rules/eslint/class_methods_use_this.rs85 /// Enforce that class methods utilize `this`.COMMENT
MEDIUMcrates/oxc_data_structures/src/code_buffer.rs24/// Essentially same as `String` but with additional methods.COMMENT
LOWcrates/oxc_data_structures/src/non_null.rs8//! # Why not just use `*const T` / `*mut T`?COMMENT
LOWcrates/oxc_data_structures/src/non_null.rs15//! # Why not just use `NonNull<T>`?COMMENT
MEDIUM…c/react_compiler_optimization/dead_code_elimination.rs374 // Definitely safe to prune since they are read-onlyCOMMENT
MEDIUMcrates/oxc_ast/src/builder/mod.rs95//! `disable_old_builder` Cargo feature is enabled in all Oxc crates which utilize `AstBuilder`.COMMENT
MEDIUMcrates/oxc_ecmascript/src/constant_evaluation/mod.rs42 /// passing `Some(ValueType::Boolean)` will allow us to utilize that information.COMMENT
MEDIUMcrates/oxc_formatter_core/Cargo.toml34# header points to the consumer, not the shared harness.COMMENT
Synthetic Comment Markers5 hits · 30 pts
SeverityFileLineSnippetContext
HIGHtasks/linter_codegen/src/main.rs56 out.push_str("// Auto-generated code, DO NOT EDIT DIRECTLY!\n");CODE
HIGHtasks/linter_codegen/src/rules_enum.rs47 "// Auto-generated code, DO NOT EDIT DIRECTLY!\n// To regenerate: `cargo lintgen`\n\n";CODE
HIGHtasks/ast_tools/src/output/mod.rs25 "{comment_start} Auto-generated code, DO NOT EDIT DIRECTLY!\n\CODE
HIGH…/oxc_minifier/src/traverse_context/scopes_collector.rs1// Auto-generated code, DO NOT EDIT DIRECTLY!COMMENT
HIGHnpm/oxc-types/types.d.ts1// Auto-generated code, DO NOT EDIT DIRECTLY!COMMENT
Modern AI Meta-Vocabulary8 hits · 23 pts
SeverityFileLineSnippetContext
MEDIUMcrates/oxc_minifier/docs/CLAUDE.md20├── compressor.rs # Pipeline orchestrationCODE
MEDIUMcrates/oxc_type_checker/Cargo.toml5# This crate is a deliberately small scaffold: it wires the parser and semanticCOMMENT
MEDIUMcrates/oxc_type_checker/Cargo.toml20# Experimental scaffold — not published to crates.io yet.COMMENT
MEDIUMcrates/oxc_type_checker/src/lib.rs5//! This crate is intentionally a thin scaffold. It does *not* type check anything yet.COMMENT
MEDIUMcrates/oxc_type_checker/src/lib.rs129 #[expect(dead_code, reason = "scaffold: available to the checks you add")]COMMENT
MEDIUMcrates/oxc_type_checker/src/lib.rs132 #[expect(dead_code, reason = "scaffold: available to the checks you add")]COMMENT
MEDIUMcrates/oxc_allocator/src/address.rs215 /// This method is less error-prone than [`Address::from_ptr`], because it provides a few guardrails:COMMENT
MEDIUMcrates/oxc_allocator/src/address.rs223 /// Even with these guardrails, usage of this method still requires care, for the reasons discussed above.COMMENT
Fake / Example Data16 hits · 18 pts
SeverityFileLineSnippetContext
LOWcrates/oxc_linter/src/globals.rs47const ARIA_PLACEHOLDER: &str = "placeholder";CODE
LOW…s/oxc_linter/src/rules/eslint/preserve_caught_error.rs557 throw new AggregateError([], "Lorem ipsum");CODE
LOW…s/oxc_linter/src/rules/eslint/preserve_caught_error.rs939 throw new AggregateError([], "Lorem ipsum");CODE
LOW…s/oxc_linter/src/rules/eslint/preserve_caught_error.rs946 throw new AggregateError([], "Lorem ipsum", { cause: err });CODE
LOWcrates/oxc_linter/src/rules/eslint/no_alert.rs37 /// prompt("What's your name?", "John Doe");COMMENT
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs484 ) /* Lorem ipsumCODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs485 dolor sit amet. */ {CODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs616 ) /* Lorem ipsumCODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs617 dolor sit amet. */ {CODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs626 ) => /* Lorem ipsumCODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs627 dolor sit amet. */ {CODE
LOWcrates/oxc_linter/src/rules/react/jsx_no_literals.rs991 serde_json::json!([{ "elementOverrides": { "Input": { "restrictedAttributes": ["placeholder"] }, "ButtonCODE
LOWcrates/oxc_linter/src/rules/react/jsx_no_literals.rs1553 serde_json::json!([{ "elementOverrides": { "Input": { "restrictedAttributes": ["placeholder"] }, "ButtonCODE
LOW…ates/oxc_linter/src/rules/react/no_unknown_property.rs223 "name", "open", "optimum", "pattern", "ping", "placeholder", "poster", "preload", "profile",CODE
LOWapps/oxfmt/test/api/js_in_xxx.test.ts43Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
LOWapps/oxfmt/test/api/js_in_xxx.test.ts43Lorem ipsum dolor sit amet, consectetur adipiscing elit.CODE
TODO Padding7 hits · 10 pts
SeverityFileLineSnippetContext
LOW…transformer/src/es2021/logical_assignment_operators.rs101 // TODO: Add tests, cover private identifierCOMMENT
LOW…/es2022/class_properties/static_block_and_prop_init.rs43 /// TODO: Add tests for this if there aren't any already.COMMENT
LOW…tes/oxc_linter/src/rules/eslint/no_warning_comments.rs89 /// // TODO: implement this featureCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/no_var.rs215 // TODO: implement a correct fixer for this case.COMMENT
LOWcrates/oxc_linter/src/rules/eslint/arrow_body_style.rs247 // TODO: implement a fix for empty block bodiesCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/arrow_body_style.rs288 // TODO: implement a fix for undefined returnCOMMENT
LOWapps/oxlint/test/compile_visitor.test.ts30// TODO: Add tests for CFG eventsCOMMENT
Overly Generic Function Names4 hits · 6 pts
SeverityFileLineSnippetContext
LOWapps/oxlint/src-js/package/config.generated.ts2468 * `function doSomething({ a, b }) { ... }`. Because there is no namedCOMMENT
LOWnapi/minify/test/terser.test.ts2809 "function foo(){for(const a of func(value)){console.log(a)}function func(va){return doSomething(va)}}function doSomeCODE
LOWnapi/minify/test/terser.test.ts2816 "function foo(){for(const a of func(value)){console.log(a)}function func(va){return doSomething(va)}}function doSomeCODE
LOWnapi/minify/test/terser.test.ts2823 "function foo(){for(const a of func(value)){console.log(a)}function func(va){return doSomething(va)}}function doSomeCODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtasks/ast_tools/src/main.rs136//! # Creating a new Generator or DeriveCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.github/workflows/codecov.yml62 # Check if the event is not triggered by a fork by checking whether CODECOV_TOKEN is setCOMMENT
LOW.github/workflows/ci.yml99 # Set profile to minimal and channel to our Minimum Supported Rust Version.COMMENT