Angular UI Component Library based on Ant Design
This report summarizes scanner evidence for NG-ZORRO/ng-zorro-antd, a TypeScript project with 9,192 GitHub stars. SynthScan examined 251,075 lines of code across 3383 source files, recording 122 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 53 finding(s).
Are imports declared and package/API names verified? 69 finding(s).
Are wrappers, guards, and repeated structures necessary? 45 finding(s).
Which changes need focused human review? 122 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 122 distinct pattern matches across 7 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 |
|---|---|---|---|---|
| CRITICAL | components/form/demo/coordinated.ts | 55 | this.validateForm.controls.gender.valueChanges.pipe(takeUntil(this.destroy$)).subscribe(value => { | CODE |
| CRITICAL | components/form/demo/validate-reactive.ts | 107 | this.form.controls.password.valueChanges.pipe(takeUntilDestroyed()).subscribe(() => { | CODE |
| CRITICAL | components/form/demo/register.ts | 164 | this.validateForm.controls.password.valueChanges.pipe(takeUntil(this.destroy$)).subscribe(() => { | CODE |
| CRITICAL | components/form/demo/auto-tips.ts | 104 | this.validateForm.controls.password.valueChanges.pipe(takeUntil(this.destroy$)).subscribe(() => { | CODE |
| CRITICAL | components/form/demo/dynamic-rule.ts | 53 | this.validateForm.controls.required.valueChanges.pipe(takeUntil(this.destroy$)).subscribe(value => { | CODE |
| CRITICAL | components/input/input.directive.ts | 207 | this.feedbackRef.location.nativeElement.classList.add('ant-input-suffix'); | CODE |
| CRITICAL | components/cascader/demo/reactive-form.ts | 75 | this.form.controls.name.valueChanges.pipe(takeUntilDestroyed()).subscribe(data => { | CODE |
| CRITICAL | components/checkbox/checkbox.spec.ts | 38 | expect(checkbox.nativeElement.firstElementChild.lastElementChild.classList.contains('ant-checkbox-inner')).toBe( | CODE |
| CRITICAL⚡ | components/table/demo/dynamic-settings.ts | 286 | this.settingForm.controls.tableScroll.valueChanges.subscribe(scroll => { | CODE |
| CRITICAL⚡ | components/table/demo/dynamic-settings.ts | 290 | this.settingForm.controls.fixHeader.valueChanges.subscribe(fixed => { | CODE |
| CRITICAL⚡ | components/table/demo/dynamic-settings.ts | 293 | this.settingForm.controls.noResult.valueChanges.subscribe(empty => { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/form/demo/dynamic-form-item.ts | 29 | placeholder="placeholder" | CODE |
| LOW | components/form/demo/advanced-search.ts | 22 | placeholder="placeholder" | CODE |
| LOW | components/transfer/transfer.spec.ts | 352 | ).attributes.getNamedItem('placeholder')!.textContent; | CODE |
| LOW | components/image/demo/placeholder.ts | 12 | <img *nzSpaceItem nz-image width="200px" height="200px" [nzSrc]="src()" [nzPlaceholder]="placeholder" /> | CODE |
| LOW | components/date-picker/date-picker.component.spec.ts | 491 | expect(getPickerInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW | components/date-picker/date-picker.component.spec.ts | 498 | expect(getPickerInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW | components/date-picker/month-picker.component.spec.ts | 162 | expect(getPickerInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW | components/date-picker/month-picker.component.spec.ts | 169 | expect(getPickerInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW | components/date-picker/range-picker.component.spec.ts | 252 | expect(getPickerInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW | components/date-picker/range-picker.component.spec.ts | 259 | expect(getRangePickerRightInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW | components/date-picker/date-picker.component.ts | 881 | date: this.getPropertyOfLocale('placeholder') | CODE |
| LOW | components/date-picker/year-picker.component.spec.ts | 152 | expect(getPickerInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW | components/date-picker/year-picker.component.spec.ts | 159 | expect(getPickerInput(fixture.debugElement).getAttribute('placeholder')).toBe(featureKey); | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 26 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/variant.ts | 26 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 26 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/plain.ts | 26 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 17 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 17 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 27 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/size.ts | 27 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 11 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 16 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 21 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 26 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/orientation.ts | 26 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/horizontal.ts | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/horizontal.ts | 12 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/horizontal.ts | 17 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/horizontal.ts | 17 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/horizontal.ts | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW⚡ | components/divider/demo/horizontal.ts | 22 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW | components/divider/demo/horizontal.ts | 33 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW | components/divider/demo/horizontal.ts | 33 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed nonne merninisti licere mihi ista probare, quae | CODE |
| LOW | components/select/select.spec.ts | 87 | component.nzPlaceHolder.set('placeholder'); | CODE |
| LOW | components/select/select.spec.ts | 90 | 'placeholder' | CODE |
| LOW | components/select/select-placeholder.component.ts | 15 | <ng-container *nzStringTemplateOutlet="placeholder"> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/tooltip/tooltip.spec.ts | 53 | function waitingForTooltipToggling(): void { | CODE |
| LOW | components/tooltip/tooltip.spec.ts | 491 | function getOverlayElementForTooltip(tooltip: NzTooltipBaseDirective): HTMLElement { | CODE |
| LOW⚡ | components/core/util/convert.ts | 16 | export function numberAttributeWithZeroFallback(value: unknown): number { | CODE |
| LOW⚡ | components/core/util/convert.ts | 20 | export function numberAttributeWithOneFallback(value: unknown): number { | CODE |
| LOW⚡ | components/core/util/convert.ts | 24 | export function numberAttributeWithInfinityFallback(value: unknown): number { | CODE |
| LOW | components/core/config/config.spec.ts | 193 | function getComputedStylePropertyValue(property: string): string { | CODE |
| LOW | components/core/config/config.service.ts | 108 | export function onConfigChangeEventForComponent(componentName: NzConfigKey, callback: () => void): () => void { | CODE |
| LOW | components/core/time/native-adapter.ts | 643 | export function provideNzNativeDateAdapter( | CODE |
| LOW | components/core/testing/directionality.ts | 24 | export function provideMockDirectionality(): EnvironmentProviders { | CODE |
| LOW | components/core/overlay/overlay-position.ts | 141 | export function normalizeConnectedPositionOffset(offset: number | [number, number]): [number, number] { | CODE |
| LOW | components/core/overlay/overlay-position.ts | 145 | export function setConnectedPositionOffset( | CODE |
| LOW | components/auto-complete/error.ts | 9 | export function getNzAutocompleteMissingPanelError(): Error { | CODE |
| LOW | components/popconfirm/popconfirm.spec.ts | 58 | function waitingForTooltipToggling(): void { | CODE |
| LOW | components/segmented/segmented.spec.ts | 40 | function getSegmentedOptionByIndex(index: number): HTMLElement { | CODE |
| LOW | components/segmented/segmented.spec.ts | 321 | function getSegmentedOptionByIndex(index: number): HTMLElement { | CODE |
| LOW | components/segmented/segmented.spec.ts | 368 | function getSegmentedOptionByIndex(index: number): HTMLElement { | CODE |
| LOW | components/segmented/segmented.spec.ts | 399 | function getSegmentedOptionByIndex(index: number): HTMLElement { | CODE |
| LOW | components/segmented/segmented.spec.ts | 493 | function getSegmentedOptionByIndex(index: number): HTMLElement { | CODE |
| LOW | components/segmented/segmented.spec.ts | 523 | function getSegmentedOptionByIndex(index: number): HTMLElement { | CODE |
| LOW | components/hash-code/hash-code.component.spec.ts | 21 | async function waitingForTooltipToggling(): Promise<void> { | CODE |
| LOW | components/cascader/cascader.spec.ts | 1857 | function getCheckboxAtColumnAndRow(column: number, row: number): HTMLElement | null { | CODE |
| LOW | components/slider/slider.component.ts | 567 | function getValueTypeNotMatchError(): Error { | CODE |
| LOW | components/slider/slider.spec.ts | 1213 | function dispatchClickEventSequence(sliderElement: HTMLElement, percentage: number, isRtl: boolean = false): void { | CODE |
| LOW | components/slider/slider.spec.ts | 1232 | function dispatchSlideEventSequence( | CODE |
| LOW | components/popover/popover.spec.ts | 58 | function waitingForTooltipToggling(): void { | CODE |
| LOW | components/date-picker/week-picker.component.spec.ts | 104 | async function testWeekHighlightingAfterNavigation(buttonSelector: string): Promise<void> { | CODE |
| LOW | components/date-picker/range-picker.component.spec.ts | 1285 | function openRightPickerByClickTrigger(): void { | CODE |
| LOW | components/check-list/check-list.component.spec.ts | 28 | function waitingForTooltipToggling(): void { | CODE |
| LOW | components/resizable/resize-handles.component.ts | 26 | function normalizeResizeHandleOptions(value: Array<NzResizeDirection | NzResizeHandleOption>): NzResizeHandleOption[] { | CODE |
| LOW | components/tree-view/tree-view-testing.ts | 20 | export async function waitForNextAnimationFrame(): Promise<void> { | CODE |
| LOW | components/select/util.ts | 11 | export function getItemTemplateOutletContext(item: NzSafeAny): NzSafeAny { | CODE |
| LOW | components/modal/modal-container.directive.ts | 35 | export function throwNzModalContentAlreadyAttachedError(): never { | CODE |
| LOW | components/color-picker/color-picker.component.spec.ts | 35 | function waitingForTooltipToggling(): void { | CODE |
| LOW | components/color-picker/color-picker.component.spec.ts | 383 | function waitingForTooltipToggling(): void { | CODE |
| LOW | components/timeline/timeline.component.ts | 161 | function getInferredTimelineItemPosition(index: number, mode: NzTimelineMode): NzTimelinePosition | undefined { | CODE |
| LOW | scripts/generate-llms.ts | 161 | function generateNavigationContent(englishResult: ProcessResult, chineseResult: ProcessResult): string { | CODE |
| LOW | scripts/site/utils/generate-demo.ts | 55 | function generatePageDemoComponent(content: ComponentDemo): I18n<string> { | CODE |
| LOW | schematics/utils/config.ts | 15 | export async function getDefaultComponentOptions(project?: string): Promise<Partial<Schema>> { | CODE |
| LOW | schematics/utils/build-component.ts | 39 | function findClassDeclarationParent(node: ts.Node): ts.ClassDeclaration | undefined { | CODE |
| LOW | schematics/utils/ng-update/module-specifiers.ts | 12 | export function isNgZorroImportDeclaration(node: ts.Node): boolean { | CODE |
| LOW | schematics/utils/ng-update/module-specifiers.ts | 16 | export function isNgZorroExportDeclaration(node: ts.Node): boolean { | CODE |
| LOW | schematics/utils/ng-update/elements.ts | 25 | export function findElementWithoutStructuralDirective( | CODE |
| LOW | schematics/ng-add/setup-project/register-locale.ts | 112 | function registerLocaleInAppModule(mainFile: string, options: Schema): Rule { | CODE |
| LOW | schematics/ng-add/setup-project/register-locale.ts | 131 | function registerLocaleInStandaloneApp(mainFile: string, options: Schema): Rule { | CODE |
| LOW | schematics/ng-add/setup-project/theming.ts | 127 | function validateDefaultTargetBuilder(project: ProjectDefinition): boolean { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/release/release.ts | 37 | print(bgRed.black(' ERROR\t'), red(msg)); | CODE |
| HIGH | scripts/release/release.ts | 81 | print(` | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/code-editor/code-editor.spec.ts | 41 | describe('code editor', () => { | COMMENT |
| LOW | components/transfer/transfer-list.component.ts | 241 | this.stat.checkCount = this.dataSource.filter(w => w.checked && !w.disabled).length; | COMMENT |
| LOW | components/style/core/global.less | 101 | COMMENT | |
| LOW | components/style/themes/index.less | 1 | // Default using variable as entry to support site variable version | COMMENT |
| LOW | components/qr-code/qrcodegen.ts | 161 | // Even if a QR Code is created with automatic masking requested (mask = -1), | COMMENT |
| LOW | scripts/site/doc/404.html | 1 | <!DOCTYPE html> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | components/input-number/input-number.component.ts | 617 | // `+'' === 0`, so we need to check if parsedValue is empty | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/auto_assign.yml | 21 | # Set 0 to add all the reviewers (default: 0) | COMMENT |