📦 🚀 Blazing fast, simple and complete solution for micro frontends.
This report summarizes scanner evidence for umijs/qiankun, a TypeScript project with 16,701 GitHub stars. SynthScan examined 78,762 lines of code across 652 source files, recording 35 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.6 (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? 34 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 27 finding(s).
Which changes need focused human review? 35 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 35 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 |
|---|---|---|---|---|
| LOW | packages/shared/src/esm-sandbox/precompile.ts | 61 | export function relocateModuleSourceInstanceKey(source: ModuleSource, targetInstanceKey: string): ModuleSource { | CODE |
| LOW | packages/shared/src/assets-transpilers/script.ts | 66 | export function getScopedReusingObjectUrl( | CODE |
| LOW | packages/shared/src/assets-transpilers/style.ts | 38 | function rewriteAnimationValueTokens(value: string, nameMap: Map<string, string>): string { | CODE |
| LOW | packages/shared/src/assets-transpilers/link.ts | 62 | function getTranspiledStyleCacheKey(appName: string, scopeRoot: string): string { | CODE |
| LOW | packages/sandbox/src/core/nativePassthrough.ts | 20 | export function markNodeForNativePassthrough(node: Node): void { | CODE |
| LOW | packages/sandbox/src/core/sandbox/container.ts | 27 | export function ensureSandboxContainerHead(container: HTMLElement): { | CODE |
| LOW | packages/sandbox/src/core/sandbox/container.ts | 71 | export function prepareSandboxContainerName(container: HTMLElement, appName: string): () => void { | CODE |
| LOW | packages/sandbox/src/core/membrane/index.ts | 410 | function materializeNonConfigurableProperty( | CODE |
| LOW | packages/sandbox/src/patchers/index.ts | 59 | export function getDefaultIsolationPlugins(includeDomIsolation: boolean): readonly IsolationPlugin[] { | CODE |
| LOW | packages/sandbox/src/patchers/dynamicAppend/common.ts | 75 | export function recordStyledComponentsCSSRules(styleElements: HTMLStyleElement[]): void { | CODE |
| LOW | packages/sandbox/src/patchers/dynamicAppend/common.ts | 95 | export function getOverwrittenAppendChildOrInsertBefore( | CODE |
| LOW | …ndbox/src/patchers/dynamicAppend/forStandardSandbox.ts | 258 | function patchDocumentHeadAndBodyMethods( | CODE |
| LOW | …ndbox/src/patchers/dynamicAppend/forStandardSandbox.ts | 525 | async function attachRecordedStylesheets( | CODE |
| LOW | …ndbox/src/patchers/dynamicAppend/forStandardSandbox.ts | 595 | export function reattachDynamicStylesheets(compartment: PluginCompartment, container: HTMLElement): Promise<void> { | CODE |
| LOW | packages/ui-bindings/shared/src/link.ts | 40 | export function subscribeToMicroAppLinkLocation(listener: () => void): () => void { | CODE |
| LOW | packages/qiankun/src/utils.ts | 17 | export function performanceGetEntriesByName(markName: string, type?: string) { | CODE |
| LOW | packages/qiankun/src/utils.ts | 39 | export async function getPureHTMLStringWithoutScripts(entry: string, fetch: typeof window.fetch): Promise<string> { | CODE |
| LOW | packages/qiankun/src/core/loadApp.ts | 754 | function removeWebpackChunkCacheWhenAppHaveMultiInstance(appName: string): void { | CODE |
| LOW | …ges/single-spa/spec/apis/single-spa-events-api.spec.ts | 109 | function doneIfAllListenerHadBeenInvoked() { | CODE |
| LOW | …ges/single-spa/spec/apis/single-spa-events-api.spec.ts | 122 | function hashchangeListenerWithErr() { | CODE |
| LOW | …ifecycle-functions/multiple-lifecycle-functions.app.ts | 113 | export function bootstrapsCalledOutOfOrder() { | CODE |
| LOW | packages/single-spa/src/parcels/mount-parcel.ts | 261 | function promiseWithoutReturnValue(promise) { | CODE |
| LOW | packages/single-spa/src/navigation/navigation-events.ts | 64 | export function callCapturedEventListeners(eventArguments: [HashChangeEvent | PopStateEvent]): void { | CODE |
| LOW | packages/single-spa/src/applications/apps.ts | 267 | function validateRegisterWithArguments( | CODE |
| LOW | packages/single-spa/src/applications/apps.ts | 295 | export function validateRegisterWithConfig(config: Partial<RegisterApplicationConfig>): void { | CODE |
| LOW | packages/single-spa/src/applications/apps.ts | 425 | function toDynamicPathValidatorRegex(path: string, exactMatch?: boolean) { | CODE |
| LOW | e2e/tests/helpers.ts | 105 | export async function loadAppWithPrecompiledHook(page: Page, key: string): Promise<string> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …c/patchers/dynamicAppend/__tests__/attribution.test.ts | 65 | const stylesheet = b.controller.instance.globalThis.document.createElement('link'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | AGENTS.md | 14 | │ ├── qiankun/ # Facade: public APIs (register/loadMicroApp, start, prefetch) + loadApp orchestration | CODE |
| MEDIUM | docs/tutorial/build-the-main-app.md | 104 | ## About route-driven orchestration | COMMENT |
| MEDIUM | docs/internals/runtime-orchestration.md | 1 | # Runtime orchestration internals | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/shared/src/esm-sandbox/rewrite.ts | 131 | // imp.d is the exact index of the `(` (robust against a comment between the keyword and paren); | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/shared/src/esm-sandbox/rewrite.ts | 141 | } | COMMENT |
| LOW | packages/shared/src/assets-transpilers/index.ts | 41 | break; | COMMENT |
| LOW | packages/qiankun/src/core/loadApp.ts | 401 | // ② mount→unmount occupancy period. Regular release is the clearContainer step at the end of | COMMENT |