An ahead-of-time JavaScript compiler
This report summarizes scanner evidence for CanadaHonk/porffor, a JavaScript project with 5,364 GitHub stars. SynthScan examined 71,723 lines of code across 105 source files, recording 61 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 54 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 1 finding(s).
Which changes need focused human review? 61 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 61 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | bench/v8-v7.js | 11547 | print("PROGRESS", name); | CODE |
| HIGH⚡ | bench/v8-v7.js | 11551 | print("ERROR", name, error); | CODE |
| HIGH⚡ | bench/v8-v7.js | 11552 | print(error.stack); | CODE |
| HIGH⚡ | bench/v8-v7.js | 11557 | print("RESULT", name, result); | CODE |
| HIGH⚡ | bench/v8-v7.js | 11561 | print("SCORE", score); | CODE |
| HIGH⚡ | bench/v8-v7.js | 11567 | print("*** Run() failed"); | CODE |
| HIGH⚡ | bench/v8-v7.js | 11568 | print(e.stack || e); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/richards_direct.js | 1 | // Copyright 2006-2008 the V8 project authors. All rights reserved. | COMMENT |
| LOW | bench/richards_direct.js | 21 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | COMMENT |
| LOW | bench/v8-v7.js | 1 | "use strict"; | COMMENT |
| LOW | bench/v8-v7.js | 21 | // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT | COMMENT |
| LOW | bench/v8-v7.js | 281 | } | COMMENT |
| LOW | bench/v8-v7.js | 301 | // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS | COMMENT |
| LOW | bench/v8-v7.js | 821 | var Richards = new BenchmarkSuite('Richards', 35302, [ | COMMENT |
| LOW | bench/v8-v7.js | 3401 | // The ray tracer code in this file is written by Adam Burmister. It | COMMENT |
| LOW | bench/v8-v7.js | 3441 | }; | COMMENT |
| LOW | bench/v8-v7.js | 4721 | return lcm; | COMMENT |
| LOW | bench/v8-v7.js | 8981 | var EarleyBoyer = new BenchmarkSuite('EarleyBoyer', 666463, [ | COMMENT |
| LOW | bench/v8-v7.js | 9001 | // | COMMENT |
| LOW | bench/v8-v7.js | 10761 | // with the distribution. | COMMENT |
| LOW | bench/string_methods.js | 1 | const str = 'The quick brown fox jumps over the lazy dog' | COMMENT |
| LOW | bench/string_methods.js | 21 | // italics: [], | COMMENT |
| LOW | bench/string_methods.js | 41 | // substring: [4, 9], | COMMENT |
| LOW | bench/richards.js | 1 | // Copyright 2006-2008 the V8 project authors. All rights reserved. | COMMENT |
| LOW | bench/richards.js | 21 | // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | COMMENT |
| LOW | compiler/render.js | 2361 | COMMENT | |
| LOW | compiler/render.js | 4161 | } | COMMENT |
| LOW | compiler/render.js | 4221 | // run-once code (module init, top level): optimize for size whatever -O the unit gets | COMMENT |
| LOW | compiler/render.js | 4241 | #define PORF_ARENA_HINT ((void*)0x400000000ull) | COMMENT |
| LOW | compiler/render.js | 4261 | #define PORF_PROMISE_STATE 32 | COMMENT |
| LOW | compiler/render.js | 4441 | ${sti}f64 porf_performance_time_origin(void) { | COMMENT |
| LOW | compiler/render.js | 4521 | } | COMMENT |
| LOW | compiler/builtins/date.ts | 21 | COMMENT | |
| LOW | compiler/builtins/date.ts | 41 | // 4. Let numYears4 be floor((ry - 1969) / 4). | COMMENT |
| LOW | compiler/builtins/date.ts | 81 | // 21.4.1.10 InLeapYear (t) | COMMENT |
| LOW | compiler/builtins/date.ts | 161 | // https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-weekday | COMMENT |
| LOW | compiler/builtins/date.ts | 701 | // B.2.3.1 Date.prototype.getYear () | COMMENT |
| LOW | compiler/builtins/date.ts | 761 | // 21.4.4.8 Date.prototype.getMonth () | COMMENT |
| LOW | compiler/builtins/date.ts | 801 | // https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-date.prototype.gettimezoneoffset | COMMENT |
| LOW | compiler/builtins/date.ts | 861 | // https://tc39.es/ecma262/multipage/numbers-and-dates.html#sec-date.prototype.getutchours | COMMENT |
| LOW | compiler/builtins/date.ts | 1501 | // - "-" (hyphen) appears literally twice in the string. | COMMENT |
| LOW | compiler/builtins/array.ts | 61 | COMMENT | |
| LOW | compiler/builtins/array.ts | 921 | const O: any = ecma262.ToObject(this); | COMMENT |
| LOW | compiler/builtins/array.ts | 1101 | } | COMMENT |
| LOW | compiler/builtins/array.ts | 1121 | __Porffor_array_deleteProperty(O, k + itemCount); | COMMENT |
| LOW | compiler/builtins/array.ts | 1361 | COMMENT | |
| LOW | compiler/builtins/array.ts | 1421 | COMMENT | |
| LOW | compiler/builtins/array.ts | 2101 | COMMENT | |
| LOW | compiler/builtins/array.ts | 2281 | for (; i < actualStart; i++) A[i] = __Porffor_array_get(O, i); | COMMENT |
| LOW | compiler/builtins/array.ts | 2301 | COMMENT | |
| LOW | compiler/builtins/array.ts | 2321 | COMMENT | |
| LOW | compiler/builtins/regexp.ts | 1 | // @porf --closures | COMMENT |
| LOW | compiler/builtins/regexp.ts | 21 | // 8 @ first-unit bitmap (32 bytes) | COMMENT |
| LOW | compiler/builtins/regexp.ts | 41 | // 0x0c jump [target u16] | COMMENT |
| LOW | compiler/builtins/regexp.ts | 61 | // 0x20 runNotChar [backward u8][min u16][max u16][unit u16] | COMMENT |
| LOW | compiler/builtins/_internal_object.ts | 1 | import type {} from './porffor.d.ts'; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test262/index.js | 811 | const preludes = { '#host': fs.readFileSync(join(__dirname, 'harness.js'), 'utf8') }; | CODE |
| MEDIUM | test262/history.json | 1 | [{"results":[96.05,53404,51296,1062,1011,7,22,6],"time":1792446440000,"hash":"5d64bc6b628fdaaac9562efd4461336549766f29", | CODE |
| MEDIUM | test262/selfhost.js | 130 | const preludes = { '#host': fs.readFileSync(join(__dirname, 'harness.js'), 'utf8') }; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/v8-v7.js | 6579 | function skipWhitespaceAndComments() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | bench/regex.js | 8 | function getData() { | CODE |