Next-generation ES module bundler
This report summarizes scanner evidence for rollup/rollup, a JavaScript project with 26,305 GitHub stars. SynthScan examined 285,398 lines of code across 13497 source files, recording 333 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 1.2 (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? 309 finding(s).
Are imports declared and package/API names verified? 24 finding(s).
Are wrappers, guards, and repeated structures necessary? 278 finding(s).
Which changes need focused human review? 333 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 333 distinct pattern matches across 8 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/testHelpers.js | 286 | function getFileNamesAndRemoveOutput(directory) { | CODE |
| LOW | test/testHelpers.js | 339 | exports.assertDirectoriesAreEqual = function assertDirectoriesAreEqual( | CODE |
| LOW | test/testHelpers.js | 464 | exports.replaceDirectoryInStringifiedObject = function replaceDirectoryInStringifiedObject( | CODE |
| LOW⚡ | test/misc/umd.js | 76 | function runStrictIifeTestWithSelf(code, outputOptions) { | CODE |
| LOW⚡ | test/misc/umd.js | 82 | function runStrictIifeTestWithGlobalThis(code, outputOptions) { | CODE |
| LOW⚡ | test/misc/umd.js | 88 | function runIifeWithExistingValuesTest(code, outputOptions) { | CODE |
| LOW | test/misc/umd.js | 107 | function getAndCheckIifeExports(global, outputOptions) { | CODE |
| LOW | …mples/tree-shake-literal-parameter/side-effect/main.js | 45 | function calledWithDifferentVariable(options) { | CODE |
| LOW | …mples/tree-shake-literal-parameter/side-effect/main.js | 62 | function calledWithModifiedVariable(options) { | CODE |
| LOW | …/tree-shake-literal-parameter/side-effect/_expected.js | 37 | function calledWithDifferentVariable(options) { | CODE |
| LOW | …/tree-shake-literal-parameter/side-effect/_expected.js | 54 | function calledWithModifiedVariable(options) { | CODE |
| LOW | …st/form/samples/side-effects-switch-statements/main.js | 43 | (function nestedSwitchWithoutEffects() { | CODE |
| LOW | test/form/samples/supports-es6-shim/_expected.js | 306 | } : function isNullOrUndefinedAndNotDocumentAll(x) { | CODE |
| LOW | test/form/samples/supports-es6-shim/_expected.js | 686 | var createDataPropertyOrThrow = function createDataPropertyOrThrow(object, name, value) { | CODE |
| LOW | test/form/samples/supports-es6-shim/_expected.js | 3505 | var throwUnlessTargetIsObject = function throwUnlessTargetIsObject(target) { | CODE |
| LOW | test/form/samples/supports-es6-shim/_expected.js | 3577 | var callAndCatchException = function ConvertExceptionToBoolean(func) { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 68 | function requireFunctionBindNative () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 102 | function requireObjectPropertyIsEnumerable () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 124 | function requireCreatePropertyDescriptor () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 141 | function requireFunctionUncurryThis () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 216 | function requireRequireObjectCoercible () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 304 | function requireObjectIsPrototypeOf () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 316 | function requireEnvironmentUserAgent () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 367 | function requireSymbolConstructorDetection () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 486 | function requireOrdinaryToPrimitive () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 522 | function requireDefineGlobalProperty () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 714 | function requireDocumentCreateElement () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 752 | function requireObjectGetOwnPropertyDescriptor () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 824 | function requireObjectDefineProperty () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 876 | function requireCreateNonEnumerableProperty () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 946 | function requireWeakMapBasicDetection () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1186 | function requireToIntegerOrInfinity () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1302 | function requireObjectKeysInternal () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1349 | function requireObjectGetOwnPropertyNames () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1370 | function requireObjectGetOwnPropertySymbols () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1404 | function requireCopyConstructorProperties () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1523 | function requireToStringTagSupport () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1614 | function requireObjectDefineProperties () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1761 | function requireObjectGetOwnPropertyNamesExternal () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1793 | function requireDefineBuiltInAccessor () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1811 | function requireWellKnownSymbolWrapped () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1835 | function requireWellKnownSymbolDefine () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1855 | function requireSymbolDefineToPrimitive () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1905 | function requireFunctionUncurryThisClause () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 1923 | function requireFunctionBindContext () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2022 | function requireArraySpeciesConstructor () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2053 | function requireArraySpeciesCreate () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2423 | function requireSymbolRegistryDetection () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2514 | function requireGetJsonReplacerFunction () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2949 | function requireFunctionUncurryThisAccessor () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2967 | function requireIsPossiblePrototype () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2981 | function requireAPossiblePrototype () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 2999 | function requireObjectSetPrototypeOf () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 3081 | function requireNormalizeStringArgument () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 3138 | function requireErrorStackInstallable () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 3179 | function requireWrapErrorConstructorWithCause () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 3378 | function requireCorrectPrototypeGetter () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 3395 | function requireObjectGetPrototypeOf () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 3435 | function requireIsArrayIteratorMethod () { | CODE |
| LOW | test/form/samples/supports-core-js/_expected.js | 3767 | function requireDoesNotExceedSafeInteger () { | CODE |
| 218 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | test/form/samples/deep-properties/main.js | 5 | obj2.obj.obj.obj.obj.obj.obj.obj.foo(); | CODE |
| CRITICAL | test/form/samples/deep-properties/_expected.js | 5 | obj2.obj.obj.obj.obj.obj.obj.obj.foo(); | CODE |
| CRITICAL | test/function/samples/long-path-deopt/main.js | 26 | obj.a.b.c.d.e.f.g.h.i.j.k().effect(); | CODE |
| CRITICAL | src/ast/variables/LocalVariable.ts | 243 | this.module.scope.context.newlyIncludedVariableInits.add(this.init); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/form/samples/supports-es5-shim/_expected.js | 241 | var target = this; | COMMENT |
| LOW | test/form/samples/supports-es5-shim/_expected.js | 261 | COMMENT | |
| LOW | test/form/samples/supports-es5-shim/_expected.js | 281 | this, | COMMENT |
| LOW | test/form/samples/supports-es5-shim/_expected.js | 301 | // 4. Let args be a new list containing the same values as the | COMMENT |
| LOW | test/form/samples/supports-es5-shim/_expected.js | 341 | Empty.prototype = target.prototype; | COMMENT |
| LOW | test/form/samples/supports-es5-shim/_expected.js | 421 | unshift: function () { | COMMENT |
| LOW | test/form/samples/supports-core-js/_expected.js | 2121 | // https://tc39.es/ecma262/#sec-array.prototype.foreach | COMMENT |
| LOW | test/form/samples/supports-core-js/_expected.js | 4821 | var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); | COMMENT |
| LOW | test/form/samples/supports-core-js/_expected.js | 26361 | var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) { | COMMENT |
| LOW | test/form/samples/supports-core-js/_expected.js | 26381 | COMMENT | |
| LOW | test/form/samples/supports-core-js/_expected.js | 28641 | // `URL.prototype.password` accessors pair | COMMENT |
| LOW | test/form/samples/enforce-addon-order/_expected.js | 1 | // banner-pre-2 | COMMENT |
| LOW | test/form/samples/enforce-addon-order/_expected.js | 61 | // outro-string-post-4 | COMMENT |
| LOW | …n/samples/track-parameter-return-reassignments/main.js | 21 | // foo(() => obj2); | COMMENT |
| LOW | …/function/samples/load-resolve-dependencies/_config.js | 21 | options: { | COMMENT |
| LOW | …/function/samples/load-resolve-dependencies/_config.js | 41 | return `${DYNAMIC_IMPORT_PROXY_PREFIX}${resolved.id}`; | COMMENT |
| LOW | …nction/samples/module-side-effects/writable/_config.js | 21 | // Determine what the actual entry would have been. | COMMENT |
| LOW | rust/bindings_napi/Cargo.toml | 21 | # Readable version of the target specifier | COMMENT |
| LOW | rust/bindings_napi/src/lib.rs | 81 | #[napi] | COMMENT |
| LOW | …parse_ast/src/convert_ast/converter/utf16_positions.rs | 41 | } | COMMENT |
| LOW | docs/javascript-api/index.md | 81 | /** @param {import('rollup').RollupBuild} [bundle] */ | COMMENT |
| LOW | docs/javascript-api/index.md | 101 | // { | COMMENT |
| LOW | docs/javascript-api/index.md | 261 | // * event.output contains an array of the "file" or | COMMENT |
| LOW | docs/repl/examples/03/modules/main.js | 1 | // STATIC NAMESPACES | COMMENT |
| LOW | docs/plugin-development/index.md | 581 | // have the full "resolution" object that may contain | COMMENT |
| LOW | docs/plugin-development/index.md | 1821 | if (!(typeof specifier === 'string')) return; | COMMENT |
| LOW | .github/workflows/build-and-tests.yml | 421 | # distro: ubuntu_latest | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s-filename-pattern/_expected/amd/b.str-amd-DF7A0kMb.js | 3 | var b = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW | …s-filename-pattern/_expected/amd/b.str-amd-DF7A0kMb.js | 3 | var b = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore | CODE |
| LOW | …name-pattern/_expected/system/b.str-system-Bdh1JWaH.js | 6 | var b = exports("default", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| LOW | …name-pattern/_expected/system/b.str-system-Bdh1JWaH.js | 6 | var b = exports("default", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| LOW | …les-filename-pattern/_expected/es/b.str-es-Gs0GwhVF.js | 1 | var b = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …les-filename-pattern/_expected/es/b.str-es-Gs0GwhVF.js | 1 | var b = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …s-filename-pattern/_expected/cjs/b.str-cjs-BS5lKJ39.js | 3 | var b = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …s-filename-pattern/_expected/cjs/b.str-cjs-BS5lKJ39.js | 3 | var b = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore m | CODE |
| LOW | …-modules-scriptified-assets/_expected/amd/lorem.str.js | 3 | var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dol | CODE |
| LOW | …-modules-scriptified-assets/_expected/amd/lorem.str.js | 3 | var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dol | CODE |
| LOW | …dules-scriptified-assets/_expected/system/lorem.str.js | 6 | var lorem = exports("default", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi | CODE |
| LOW | …dules-scriptified-assets/_expected/system/lorem.str.js | 6 | var lorem = exports("default", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incidi | CODE |
| LOW | …e-modules-scriptified-assets/_expected/es/lorem.str.js | 1 | var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | …e-modules-scriptified-assets/_expected/es/lorem.str.js | 1 | var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | …-modules-scriptified-assets/_expected/cjs/lorem.str.js | 3 | var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | …-modules-scriptified-assets/_expected/cjs/lorem.str.js | 3 | var lorem = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolo | CODE |
| LOW | src/Bundle.ts | 390 | if (entry.type !== 'placeholder') { | CODE |
| LOW | src/utils/outputBundle.ts | 6 | type: 'placeholder' as const | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/cli/samples/plugin/advanced-esm/_expected/cjs.js | 22 | print(this.x); | CODE |
| HIGH | test/cli/samples/plugin/advanced-esm/_expected/es.js | 20 | print(this.x); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | docs/configuration-options/index.md | 967 | Whether to use arrow functions for auto-generated code snippets. Note that in certain places like module wrappers, Rollu | CODE |
| HIGH | docs/configuration-options/index.md | 1105 | Whether to allow the use of `Symbol` in auto-generated code snippets. Currently, this only controls if namespaces will h | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 14718 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …mples/builtin-prototypes/argument-side-effects/main.js | 1 | function getData() { | CODE |