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 22,538 GitHub stars. SynthScan v2.0 examined 1,152,609 lines of code across 3541 source files, recording 4465 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-08-28
Last Push
22.5K
Stars
Rust
Language
1.2M
Lines of Code
3.5K
Files
4.5K
Pattern Hits
2026-08-29
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 12HIGH 5MEDIUM 40LOW 4408

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 4465 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 Block4192 hits · 4054 pts
SeverityFileLineSnippetContext
LOWdeny.toml1# This template contains all of the possible sections and their default valuesCOMMENT
LOWdeny.toml21yanked = "warn"COMMENT
LOWdeny.toml61# The confidence threshold for detecting a license from license text.COMMENT
LOWdeny.toml81version = "*"COMMENT
LOWdeny.toml101# is only published to private registries, and ignore is true, the crate willCOMMENT
LOWdeny.toml121highlight = "all"COMMENT
LOWdeny.toml141 # Wrapper crates can optionally be specified to allow the crate when itCOMMENT
LOWdeny.toml161# "rustls-tls-webpki-roots",COMMENT
LOWdeny.toml181]COMMENT
LOWdeny.toml201# github = [""]COMMENT
LOWdeny.toml221 # You can also specify which target_features you promise are enabled for aCOMMENT
LOWdeny.toml241COMMENT
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/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/// These methods are useful in `Generator::prepare` / `Derive::prepare` whereCOMMENT
LOWtasks/ast_tools/src/schema/mod.rs141 ///COMMENT
LOWtasks/ast_tools/src/schema/mod.rs181 ///COMMENT
LOWtasks/ast_tools/src/schema/mod.rs221 ///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/clone_in.rs161COMMENT
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 tokens,COMMENT
4132 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.rs503 if let Some(value) = self.config.0.identifier.identifier_defines.get("this") {CODE
CRITICAL…/oxc_transformer_plugins/src/replace_global_defines.rs597 let value = self.config.0.identifier.identifier_defines.get(ident.name.as_str())?.clone();CODE
Hyper-Verbose Identifiers124 hits · 129 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.rs208 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.rs574 function returnsVoidPromiseDirectly(): Promise<void> {CODE
LOWcrates/oxc_linter/src/rules/eslint/no_magic_numbers.rs753 ("function getNegativeSecondsInMinute() {return -60;}", None),CODE
LOW…s/oxc_linter/src/rules/eslint/no_unused_expressions.rs441 function namedFunctionInExpressionContext() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1224 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1240 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1288 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1304 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1320 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1336 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1461 function UnstableNestedFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1479 function UnstableNestedClassComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1533 function NestedUnstableFunctionComponent() {CODE
LOW…inter/src/rules/react/no_unstable_nested_components.rs1553 function NestedUnstableFunctionComponent() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1090 function ComponentWithNormalFunction() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1096 function normalFunctionWithNormalFunction() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1102 function normalFunctionWithConditionalFunction() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1110 function functionThatStartsWithUseButIsntAHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1959 function ComponentWithHookInsideLoop() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1966 function ComponentWithHookInsideLoop() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1975 function ComponentWithHookInsideLoop() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs998 function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1744 function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1841 function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1852 return function ComponentWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1863 function useHookWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1874 return function useHookWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1893 function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1904 return function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1937 function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs1948 return function ComponentWithHookInsideCallback() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs2025 function normalFunctionWithConditionalHook() {CODE
LOWcrates/oxc_linter/src/rules/react/rules_of_hooks.rs2204 function ComponentWithHookInsideLoop() {CODE
LOWpackages/codegen/test/source-maps.test.ts662function memberExpressionInFirstMethod(program: Program): RewritableMemberExpression {CODE
LOW…/codegen/test/utils/typescript-make-units-from-test.ts68function isExplicitModuleExtension(ext: string): boolean {CODE
LOWpackages/codegen/src-js/print/expression.ts617function printAssignmentExpression(CODE
LOWpackages/codegen/src-js/print/expression.ts726function printConditionalExpression(CODE
LOWpackages/codegen/src-js/print/expression.ts796function printArrowFunctionExpression(CODE
LOWpackages/codegen/src-js/print/string.ts52function printEscapedStringContents(state: State, value: string): void {CODE
LOWpackages/codegen/src-js/print/space.ts45export function printSpaceBeforeIdentifier(state: State): void {CODE
LOWpackages/codegen/src-js/print/space.ts112function printSpaceBeforeOperatorSlow(state: State, prev: Category, next: Category): void {CODE
LOWpackages/codegen/src-js/print/module.ts202export function printExportNamedDeclaration(node: ExportNamedDeclarationNode, state: State): void {CODE
LOWpackages/codegen/src-js/print/module.ts294export function printExportAllDeclaration(node: ESTree.ExportAllDeclaration, state: State): void {CODE
LOWpackages/codegen/src-js/print/module.ts323export function printExportDefaultDeclaration(CODE
LOWpackages/codegen/src-js/print/source_map.ts384function hasUncommonLineTerminator(output: string): boolean {CODE
LOWpackages/codegen/src-js/print/statement.ts72export function printDirectivesAndStatements(CODE
LOWpackages/codegen/src-js/print/jsx.ts177function printJSXExpressionContainer(node: ESTree.JSXExpressionContainer, state: State): void {CODE
LOWpackages/codegen/src-js/print/typescript.ts53export function printTSAsOrSatisfiesExpression(CODE
LOWpackages/codegen/src-js/print/typescript.ts372function parenthesizeTypeOfUnionType(ty: ESTree.TSType): boolean {CODE
LOWpackages/codegen/src-js/print/typescript.ts408function parenthesizeTypeOfIntersectionType(ty: ESTree.TSType): boolean {CODE
LOWpackages/codegen/src-js/print/typescript.ts418function parenthesizeTypeOfPostfixType(ty: ESTree.TSType): boolean {CODE
LOWpackages/codegen/src-js/print/typescript.ts887function printTSImportTypeQualifier(node: ESTree.TSImportTypeQualifier, state: State): void {CODE
LOWpackages/codegen/src-js/print/typescript.ts994export function printTSInterfaceDeclaration(CODE
LOWpackages/codegen/src-js/print/typescript.ts1050export function printTSTypeAliasDeclaration(CODE
LOWpackages/codegen/src-js/print/typescript.ts1080function isLeftmostIntrinsicReference(ty: ESTree.TSType): boolean {CODE
LOWpackages/codegen/src-js/print/typescript.ts1188export function printTSImportEqualsDeclaration(CODE
LOWpackages/codegen/src-js/print/write.ts329export function writeWithMapNamedJSXNoLast(CODE
64 more matches not shown…
Structural Annotation Overuse35 hits · 61 pts
SeverityFileLineSnippetContext
LOW…c_transformer/src/plugins/tagged_template_transform.rs259// NOTE: This function is copied from `oxc_codegen/src/str.rs`.COMMENT
LOW…ansformer/src/es2022/class_properties/private_field.rs1452 /// 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.rs279 // Step 1: Escape ${ and ` that aren't already properly escapedCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/prefer_template.rs281 // 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.rs195 // Step 1: Collect rewritesCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs198 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs264 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs282 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs287 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs95 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs101 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1055 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1079 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1149 // 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.rs668 // Step 1: Run define plugin first (like the playground does)COMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs673 // Step 2: Rebuild semantic for transformerCOMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs677 // 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.md138## Step 3: Configure Oxfmt ExtensionsCOMMENT
LOW.agents/skills/migrate-oxfmt/SKILL.md179## 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.rs478// ─────────────────────────── Pipeline stages ───────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/tests.rs2034 // ── 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.rs163 // ── State accessors ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs196 // ── Worker creation ───────────────────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs209 // ── Lookup helpers (associated functions) ─────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs307 // ── Workspace-folder change handling ──────────────────────────────────────COMMENT
MEDIUMcrates/oxc_language_server/src/worker_manager.rs353 // ── Single-file mode operations ───────────────────────────────────────────COMMENT
MEDIUMcrates/oxc_linter/examples/linter.rs87// · ─────────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.rs782// ──────────────────────────────────────────────────COMMENT
MEDIUM…formatter/src/formatter/jsdoc/mdast_serialize/nodes.rs784// ──────────────────────────────────────────────────COMMENT
Verbosity Indicators26 hits · 47 pts
SeverityFileLineSnippetContext
LOWcrates/oxc_transformer/src/es2020/optional_chaining.rs501 // so we need to check if we need to specify the context.COMMENT
LOWcrates/oxc_transformer/src/typescript/annotations.rs127 // it is not a type import, otherwise we need to check if the identifier is referencedCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/prefer_template.rs279 // Step 1: Escape ${ and ` that aren't already properly escapedCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/prefer_template.rs281 // 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.rs568 // 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.rs195 // Step 1: Collect rewritesCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs198 // Step 2: Apply rewrites by splitting blocksCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs264 // Step 3: Repoint phis when they refer to a rewritten blockCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs282 // Step 4: Fixup HIR to restore RPO, correct predecessors, renumber instructionsCOMMENT
LOW…mpiler_inference/build_reactive_scope_terminals_hir.rs287 // Step 5: Fix scope and identifier ranges to account for renumbered instructionsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs95 // Step 2: Calculate hoistable dependencies using the tree.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs101 // Step 3: Reduce dependencies to a minimal set.COMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1055 // Step 1: Collect identifier to function expression mappingsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1079 // Step 2: Forward pass to analyze assumed function callsCOMMENT
LOW…compiler_inference/propagate_scope_dependencies_hir.rs1149 // 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…ates/oxc_formatter/src/print/binary_like_expression.rs549 // 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.rs668 // Step 1: Run define plugin first (like the playground does)COMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs673 // Step 2: Rebuild semantic for transformerCOMMENT
LOW…r_plugins/tests/integrations/replace_global_defines.rs677 // 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 Vocabulary14 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMCargo.toml168oxc_formatter_tests = { path = "crates/oxc_formatter_tests" } # Formatter test infrastructure (fixture codegen + harnessCODE
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.rs88 /// 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.rs438 // Definitely safe to prune since they are read-onlyCOMMENT
MEDIUMcrates/oxc_ecmascript/src/constant_evaluation/mod.rs39 /// passing `Some(ValueType::Boolean)` will allow us to utilize that information.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.rs576 throw new AggregateError([], "Lorem ipsum");CODE
LOW…s/oxc_linter/src/rules/eslint/preserve_caught_error.rs974 throw new AggregateError([], "Lorem ipsum");CODE
LOW…s/oxc_linter/src/rules/eslint/preserve_caught_error.rs981 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.rs483 ) /* Lorem ipsumCODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs484 dolor sit amet. */ {CODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs615 ) /* Lorem ipsumCODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs616 dolor sit amet. */ {CODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs625 ) => /* Lorem ipsumCODE
LOW…s/oxc_linter/src/rules/eslint/prefer_arrow_callback.rs626 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.rs91 /// // TODO: implement this featureCOMMENT
LOWcrates/oxc_linter/src/rules/eslint/no_var.rs216 // 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.ts2622 * `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.yml64 # Check if the event is not triggered by a fork by checking whether CODECOV_TOKEN is setCOMMENT
LOW.github/workflows/ci.yml102 # Set profile to minimal and channel to our Minimum Supported Rust Version.COMMENT