A simple, efficient and powerful micro front-end framework. 一款简约、高效、功能强大的微前端框架
This report summarizes scanner evidence for jd-opensource/micro-app, a CSS project with 6,261 GitHub stars. SynthScan examined 167,345 lines of code across 647 source files, recording 116 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.9 (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? 112 finding(s).
Are imports declared and package/API names verified? 4 finding(s).
Are wrappers, guards, and repeated structures necessary? 23 finding(s).
Which changes need focused human review? 116 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 116 distinct pattern matches across 6 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 | docs/0.x/zh-cn/README.md | 1 | ## cn首页 | COMMENT |
| LOW | docs/zh-cn/README.md | 1 | ## cn首页 | COMMENT |
| LOW | dev/main-react16/config/proxy.js | 21 | // '^': '', | COMMENT |
| LOW | dev/main-react16/src/global.jsx | 1 | import 'babel-polyfill' | COMMENT |
| LOW | dev/main-react16/src/global.jsx | 21 | // iframe: true, | COMMENT |
| LOW | dev/main-react16/src/global.jsx | 41 | // // level: 1, | COMMENT |
| LOW | dev/main-react16/src/global.jsx | 81 | // 'disable-memory-router': true, | COMMENT |
| LOW | dev/main-react16/src/global.jsx | 201 | // } | COMMENT |
| LOW | …n-react16/src/components/GlobalHeader/RightContent.jsx | 21 | COMMENT | |
| LOW | dev/main-react16/src/pages/vite2/vite2.js | 41 | } | COMMENT |
| LOW | dev/main-react16/src/pages/react16/react16.js | 341 | microApp.addDataListener(this.state.name, (data) => { | COMMENT |
| LOW | dev/main-react16/src/pages/react16/react16.js | 361 | // this.releaseBeforeEach2 = microApp.router.beforeEach({ | COMMENT |
| LOW | dev/children/vite4/src/main.js | 121 | // document.onclick = () => { | COMMENT |
| LOW | dev/children/vite4/src/main.js | 161 | } | COMMENT |
| LOW | dev/children/vite4/src/main.js | 181 | // document.head.appendChild(dynamicScript1) | COMMENT |
| LOW | dev/children/vite4/src/main.js | 201 | // document.head.appendChild(link1) | COMMENT |
| LOW | dev/children/vite4/src/main.js | 221 | // dynamicStyle2.textContent = '.test-insertAdjacentElement { color: red; }' | COMMENT |
| LOW | dev/children/vite4/src/main.js | 241 | // dynamicStyle4.textContent = '.test-custom-element-inline-style { color: red; }' | COMMENT |
| LOW | dev/children/vite4/src/main.js | 261 | /* ---------------------- DOMParser --------------------- */ | COMMENT |
| LOW | dev/children/vite4/src/main.js | 281 | // doc.getElementsByName('parser-name'), | COMMENT |
| LOW | dev/children/vite4/src/main.js | 301 | // const img2 = newImg.cloneNode(true) | COMMENT |
| LOW | dev/children/vite4/src/main.js | 321 | // window.microApp.location.pathname = `${baseRoute}/element-plus?b=2` | COMMENT |
| LOW | dev/children/vite4/src/main.js | 361 | COMMENT | |
| LOW | dev/children/vite4/src/pages/element-plus.vue | 641 | COMMENT | |
| LOW | dev/children/vite4/src/pages/element-plus.vue | 661 | // const nodeKey = getTreeV2Key(key, ++id) | COMMENT |
| LOW | dev/children/vite2/src/main.js | 161 | // setTimeout(() => { | COMMENT |
| LOW | dev/children/vite2/src/main.js | 181 | COMMENT | |
| LOW | dev/children/vite2/src/main.js | 201 | COMMENT | |
| LOW | dev/children/vite2/src/main.js | 221 | // </div> | COMMENT |
| LOW | dev/children/vite2/src/main.js | 261 | // window.microApp.location.href = '/micro-app/vite2/page2' | COMMENT |
| LOW | dev/children/vite2/src/main.js | 321 | // req.send() | COMMENT |
| LOW | dev/children/vite2/src/pages/home.vue | 21 | const testHref = () => { | COMMENT |
| LOW | dev/children/vite2/src/pages/element-plus.vue | 641 | COMMENT | |
| LOW | dev/children/vite2/src/pages/element-plus.vue | 661 | // const nodeKey = getTreeV2Key(key, ++id) | COMMENT |
| LOW | dev/children/angular11/src/main.ts | 21 | // let app: void | NgModuleRef<AppModule> | COMMENT |
| LOW | dev/children/react16/config/webpackDevServer.config.js | 21 | // https://github.com/webpack/webpack-dev-server/issues/887 | COMMENT |
| LOW | dev/children/react16/config/webpackDevServer.config.js | 41 | clientLogLevel: 'none', | COMMENT |
| LOW | dev/children/react16/config/webpackDevServer.config.js | 61 | // for the WebpackDevServer client so it can learn when the files were | COMMENT |
| LOW | dev/children/react16/config/webpack.config.js | 181 | // the line below with these two lines if you prefer the stock client: | COMMENT |
| LOW | dev/children/react16/config/webpack.config.js | 221 | .replace(/\\/g, '/') | COMMENT |
| LOW | dev/children/react16/config/webpack.config.js | 321 | // This allows you to set a fallback for where webpack should look for modules. | COMMENT |
| LOW | dev/children/react16/config/webpack.config.js | 601 | isEnvProduction && | COMMENT |
| LOW | dev/children/react16/config/webpack.config.js | 641 | // If you require a missing module and then `npm install` it, you still have | COMMENT |
| LOW | dev/children/react16/config/env.js | 41 | }); | COMMENT |
| LOW | dev/children/react16/src/index.js | 61 | window.microApp?.addGlobalDataListener(handleGlobalData); | COMMENT |
| LOW | dev/children/react16/src/index.js | 141 | // console.log(`子应用${window.__MICRO_APP_NAME__}内部的window.addEventListener绑定`) | COMMENT |
| LOW | dev/children/react16/src/index.js | 161 | // document.addEventListener('click', function () { | COMMENT |
| LOW | dev/children/react16/src/index.js | 181 | COMMENT | |
| LOW | dev/children/react16/src/index.js | 201 | // document.body.appendChild(dynamicScript2) | COMMENT |
| LOW | dev/children/react16/src/index.js | 241 | // -- 测试 Document.prototype.createElementNS -- 开始 | COMMENT |
| LOW | dev/children/react16/src/index.js | 261 | COMMENT | |
| LOW | dev/children/react16/src/index.js | 281 | // doc.getElementsByClassName('parser-class'), | COMMENT |
| LOW | dev/children/react16/src/index.js | 321 | COMMENT | |
| LOW | dev/children/react16/src/index.js | 401 | } | COMMENT |
| LOW | dev/children/react16/src/index.js | 421 | COMMENT | |
| LOW | dev/children/react16/src/index.js | 441 | // console.log(`${window.__MICRO_APP_NAME__} location.href`, location.href, window.rawWindow.location.href) | COMMENT |
| LOW | dev/children/react16/src/index.js | 461 | COMMENT | |
| LOW | dev/children/react16/src/index.js | 501 | // console.log('createDocumentFragment: ', Document.prototype.createDocumentFragment.call(document)) | COMMENT |
| LOW | dev/children/react16/src/index.js | 521 | // console.log(`document.querySelector('body'): `, document.querySelector('body')) | COMMENT |
| LOW | dev/children/react16/src/index.js | 541 | COMMENT | |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | docs/0.x/static/docsify.min.js | 1 | !function(){function c(i){var o=Object.create(null);return function(e){var n=f(e)?e:JSON.stringify(e);return o[n]||(o[n] | CODE |
| CRITICAL | docs/static/docsify.min.js | 1 | !function(){function c(i){var o=Object.create(null);return function(e){var n=f(e)?e:JSON.stringify(e);return o[n]||(o[n] | CODE |
| CRITICAL | dev/children/vue2/public/layui/layui.js | 3 | },e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dev/children/react16/src/setImmediate.js | 80 | function installNextTickImplementation() { | CODE |
| LOW | dev/children/react16/src/setImmediate.js | 102 | function installPostMessageImplementation() { | CODE |
| LOW | dev/children/react16/src/setImmediate.js | 127 | function installMessageChannelImplementation() { | CODE |
| LOW | dev/children/react16/src/setImmediate.js | 139 | function installReadyStateChangeImplementation() { | CODE |
| LOW | dev/children/react16/src/setImmediate.js | 155 | function installSetTimeoutImplementation() { | CODE |
| LOW | src/source/patch.ts | 846 | export function releasePatchElementAndDocument(): void { | CODE |
| LOW | src/libs/utils.ts | 487 | export function throttleDeferForSetAppName(appName: string): void { | CODE |
| LOW | src/libs/utils.ts | 506 | export function throttleDeferForIframeAppName(appName: string): void { | CODE |
| LOW | src/libs/utils.ts | 559 | export function isInvalidQuerySelectorKey(key: string): boolean { | CODE |
| LOW | src/libs/nest_app.ts | 16 | function releaseUnmountOfNestedApp (): void { | CODE |
| LOW | src/sandbox/request.ts | 47 | export function createMicroXMLHttpRequest (url: string, target?: XMLHttpRequest): any { | CODE |
| LOW | src/sandbox/router/api.ts | 245 | function commonHandlerForAttachToURL (appName: string): void { | CODE |
| LOW | src/sandbox/router/location.ts | 162 | function handleForPathNameAndSearch (targetPath: string, key: keyof Location): void { | CODE |
| LOW | src/sandbox/router/location.ts | 326 | export function autoTriggerNavigationGuard (appName: string, microLocation: MicroLocation): void { | CODE |
| LOW | src/sandbox/router/core.ts | 253 | export function getNoHashMicroPathFromURL (appName: string, baseUrl: string): string { | CODE |
| LOW | src/sandbox/router/index.ts | 90 | export function updateBrowserURLWithLocation ( | CODE |
| LOW | src/sandbox/router/event.ts | 99 | export function updateMicroLocationWithEvent ( | CODE |
| LOW | src/sandbox/router/event.ts | 134 | export function dispatchPopStateEventToMicroApp ( | CODE |
| LOW | src/sandbox/router/event.ts | 174 | export function dispatchHashChangeEventToMicroApp ( | CODE |
| LOW | src/sandbox/router/event.ts | 200 | function dispatchNativePopStateEvent (onlyForBrowser: boolean): void { | CODE |
| LOW | src/sandbox/router/event.ts | 210 | function dispatchNativeHashChangeEvent (oldHref: string): void { | CODE |
| LOW | src/interact/index.ts | 316 | export function rebuildDataCenterSnapshot (microAppEventCenter: EventCenterForMicroApp): void { | CODE |
| LOW | src/interact/lifecycles_event.ts | 78 | export function dispatchCustomEventToMicroApp ( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | dev/children/angular11/README.md | 9 | ## Code scaffolding | COMMENT |
| MEDIUM | dev/children/angular14/README.md | 9 | ## Code scaffolding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | dev/children/react16/config/webpack.config.js | 760 | // Turn off performance processing because we utilize | COMMENT |
| MEDIUM | dev/children/react17/config/webpack.config.js | 745 | // Turn off performance processing because we utilize | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dev/children/vue2/public/layui/layui.js | 4 | return this.map(function(){for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.o | CODE |