CLI tool for Angular
This report summarizes scanner evidence for angular/angular-cli, a TypeScript project with 27,017 GitHub stars. SynthScan examined 175,537 lines of code across 1380 source files, recording 183 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? 180 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 162 finding(s).
Which changes need focused human review? 183 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 183 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 | tools/quicktype_runner.js | 145 | function appendDeprecatedDescription(schema) { | CODE |
| LOW | tests/e2e/tests/vitest/larger-project-coverage.ts | 71 | async function generateArtifactsInBatches(artifactCount: number): Promise<string[]> { | CODE |
| LOW | tests/e2e/tests/vitest/larger-project.ts | 40 | async function generateArtifactsInBatches(artifactCount: number): Promise<void> { | CODE |
| LOW | tests/e2e/tests/vite/ssr-entry-express.ts | 118 | async function modifyFileAndWaitUntilUpdated( | CODE |
| LOW | tests/e2e/tests/vite/ssr-entry-h3.ts | 102 | async function modifyFileAndWaitUntilUpdated( | CODE |
| LOW | tests/e2e/tests/vite/ssr-entry-hono.ts | 94 | async function modifyFileAndWaitUntilUpdated( | CODE |
| LOW | tests/e2e/tests/vite/ssr-entry-fastify.ts | 111 | async function modifyFileAndWaitUntilUpdated( | CODE |
| LOW | tests/e2e/utils/project.ts | 186 | export function updateServerFileForEsbuild(filepath: string): Promise<void> { | CODE |
| LOW | tests/e2e/utils/process.ts | 215 | export async function waitForAnyProcessOutputToMatch( | CODE |
| LOW | tests/e2e/utils/process.ts | 329 | export async function execAndWaitForOutputToMatch( | CODE |
| LOW | tests/e2e/utils/registry.ts | 53 | export async function createNpmConfigForAuthentication( | CODE |
| LOW | tests/e2e/utils/registry.ts | 107 | export function setNpmEnvVarsForAuthentication( | CODE |
| LOW | packages/angular/cli/src/utilities/formatting.ts | 31 | export function batchFilesByArgumentLength( | CODE |
| LOW | packages/angular/cli/src/utilities/completion.ts | 36 | export async function considerSettingUpAutocompletion( | CODE |
| LOW | packages/angular/cli/src/utilities/completion.ts | 124 | async function shouldPromptForAutocompletionSetup( | CODE |
| LOW | packages/angular/cli/src/utilities/completion.ts | 254 | function getShellRunCommandCandidates(shell: string, home: string): string[] | undefined { | CODE |
| LOW | packages/angular/cli/src/utilities/config.ts | 326 | export async function getConfiguredPackageManager(): Promise<PackageManager | null> { | CODE |
| LOW | packages/angular/cli/src/utilities/node-version.ts | 29 | export function isNodeVersionMinSupported( | CODE |
| LOW | …ages/angular/cli/src/command-builder/command-runner.ts | 198 | async function getConfiguredPackageManager( | CODE |
| LOW | …gular/cli/src/command-builder/utilities/json-schema.ts | 150 | function isSupportedArrayItemSchema(schema: json.JsonObject): boolean { | CODE |
| LOW | …mand-builder/utilities/normalize-options-middleware.ts | 20 | export function createNormalizeOptionsMiddleware(localeYargs: Argv): (args: Arguments) => void { | CODE |
| LOW | packages/angular/cli/src/commands/update/cli.ts | 719 | export async function resolveFallbackMigrations( | CODE |
| LOW | …ges/angular/cli/src/commands/update/update-resolver.ts | 127 | export function angularMajorCompatGuarantee(range: string) { | CODE |
| LOW | …angular/cli/src/commands/update/utilities/migration.ts | 310 | async function getOptionalMigrationsToRun( | CODE |
| LOW | …angular/cli/src/commands/update/utilities/migration.ts | 357 | function getMigrationTitleAndDescription(migration: MigrationSchematicDescription): { | CODE |
| LOW | …gular/cli/src/commands/update/utilities/cli-version.ts | 82 | export function getCLIUpdateRunnerVersion( | CODE |
| LOW | …gular/cli/src/commands/update/utilities/cli-version.ts | 178 | export async function shouldForcePackageManager( | CODE |
| LOW | …ckages/angular/cli/src/commands/mcp/workspace-utils.ts | 130 | export async function resolveWorkspaceAndProject({ | CODE |
| LOW | packages/angular/cli/src/commands/mcp/devserver.ts | 172 | export function createDevServerNotFoundError( | CODE |
| LOW | packages/angular/cli/src/commands/mcp/tools/projects.ts | 33 | function getStyleLanguageFromExtension(extension: string): StyleLanguage | undefined { | CODE |
| LOW | packages/angular/cli/src/commands/mcp/tools/projects.ts | 567 | async function createListProjectsHandler({ server, roots: configuredRoots }: McpToolContext) { | CODE |
| LOW | …s/angular/cli/src/commands/mcp/tools/best-practices.ts | 86 | async function getVersionSpecificBestPractices( | CODE |
| LOW | …s/angular/cli/src/commands/mcp/tools/best-practices.ts | 194 | function createBestPracticesHandler({ logger, server }: McpToolContext) { | CODE |
| LOW | …oneless-migration/analyze-for-unsupported-zone-uses.ts | 14 | export async function analyzeForUnsupportedZoneUses( | CODE |
| LOW | …oneless-migration/analyze-for-unsupported-zone-uses.ts | 42 | export async function findUnsupportedZoneUsages( | CODE |
| LOW⚡ | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 15 | export function createProvideZonelessForTestsSetupPrompt(testFilePath: string): MigrationResponse { | CODE |
| LOW | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 56 | export function createUnsupportedZoneUsagesMessage( | CODE |
| LOW | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 114 | export function generateZonelessMigrationInstructionsForComponent( | CODE |
| LOW | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 165 | export function createTestDebuggingGuideForNonActionableInput( | CODE |
| LOW | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 180 | export async function createFixResponseForZoneTests( | CODE |
| LOW | …/tools/onpush-zoneless-migration/zoneless-migration.ts | 56 | export async function registerZonelessMigrationTool( | CODE |
| LOW | …/tools/onpush-zoneless-migration/zoneless-migration.ts | 113 | async function discoverAndCategorizeFiles( | CODE |
| LOW | …/tools/onpush-zoneless-migration/zoneless-migration.ts | 219 | async function rankComponentFilesForMigration( | CODE |
| LOW | …angular/cli/src/commands/mcp/resources/instructions.ts | 12 | export function registerInstructionsResource(server: McpServer): void { | CODE |
| LOW | packages/angular/cli/src/package-managers/parsers.ts | 226 | export function parseYarnClassicDependencies( | CODE |
| LOW | packages/angular/cli/src/package-managers/parsers.ts | 853 | export function parseYarnModernDependencies( | CODE |
| LOW | …ular/cli/src/package-managers/manifest-dependencies.ts | 70 | async function findNodeModulesDirectories( | CODE |
| LOW | …ular/cli/src/package-managers/manifest-dependencies.ts | 138 | export async function resolveManifestDependencies( | CODE |
| LOW | packages/angular/cli/src/analytics/analytics.ts | 30 | export function isPackageNameSafeForAnalytics(name: string): boolean { | CODE |
| LOW | packages/angular/cli/src/analytics/analytics.ts | 119 | async function getAnalyticsUserIdForLevel( | CODE |
| LOW | packages/angular/cli/src/analytics/analytics.ts | 186 | function analyticsConfigValueToHumanFormat(value: unknown): 'enabled' | 'disabled' | 'not set' { | CODE |
| LOW | packages/angular/ssr/test/testing-utils.ts | 49 | export function setAngularAppTestingManifest( | CODE |
| LOW | packages/angular/ssr/node/src/errors.ts | 21 | export function attachNodeGlobalErrorHandlers(): void { | CODE |
| LOW | packages/angular/ssr/node/src/environment-options.ts | 21 | export function getTrustProxyHeadersFromEnv(): ReadonlyArray<string> | undefined { | CODE |
| LOW | packages/angular/ssr/node/src/response.ts | 18 | function isResponseDestroyedOrClosed(destination: ServerResponse | Http2ServerResponse): boolean { | CODE |
| LOW | packages/angular/ssr/node/src/response.ts | 39 | export async function writeResponseToNodeResponse( | CODE |
| LOW | packages/angular/ssr/node/src/request.ts | 50 | export function createWebRequestFromNodeRequest( | CODE |
| LOW | packages/angular/ssr/node/src/request.ts | 164 | function getAllowedProxyHeaderValue( | CODE |
| LOW | packages/angular/ssr/src/i18n.ts | 28 | export function getPotentialLocaleIdFromUrl(url: URL, basePath: string): string { | CODE |
| LOW | packages/angular/ssr/src/app.ts | 471 | export function getOrCreateAngularServerApp( | CODE |
| 102 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ngular_devkit/schematics/tools/fallback-engine-host.ts | 83 | return context.schematic.collection.description.host.createSourceFromUrl(url, context); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/e2e/assets/20.0-project/README.md | 15 | ## Code scaffolding | COMMENT |
| MEDIUM | tests/e2e/assets/ssr-project-webpack/README.md | 9 | ## Code scaffolding | COMMENT |
| MEDIUM | …les/testing/builder/projects/hello-world-app/README.md | 9 | ## Code scaffolding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 24 | #### Step 1: Enable Zoneless Change Detection for the Suite | COMMENT |
| LOW | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 42 | #### Step 2: Identify and fix Failing Tests | COMMENT |
| LOW⚡ | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 125 | #### Step 1: Identify and Refactor State | COMMENT |
| LOW⚡ | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 133 | #### Step 2: Add \`ChangeDetectionStrategy.Eager\` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 24 | #### Step 1: Enable Zoneless Change Detection for the Suite | COMMENT |
| LOW | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 42 | #### Step 2: Identify and fix Failing Tests | COMMENT |
| LOW⚡ | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 125 | #### Step 1: Identify and Refactor State | COMMENT |
| LOW⚡ | …ommands/mcp/tools/onpush-zoneless-migration/prompts.ts | 133 | #### Step 2: Add \`ChangeDetectionStrategy.Eager\` | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/e2e/tests/update/update.ts | 21 | // Example error where 11.2.14 satisfies the SemVer range ^11.0.0 but still fails: | COMMENT |
| LOW | …sts/e2e/tests/commands/config/config-set-enum-check.ts | 1 | import { ng } from '../../../utils/process'; | COMMENT |
| LOW | packages/angular_devkit/core/node/cli-logger.ts | 41 | // If we do console.log(message) or process.stdout.write(message + '\n'), the process might | COMMENT |
| LOW | …kit/schematics_cli/schematic/files/src/collection.json | 1 | // By default, collection.json is a Loose-format JSON5 format, which means it's loaded using a | COMMENT |
| LOW | …ics_cli/schematic/files/src/my-full-schematic/index.ts | 21 | }, | COMMENT |
| LOW | …hematics_cli/schematic/files/src/my-schematic/index.ts | 1 | import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics'; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/perf.yml | 48 | # We utilize the google-github-actions/auth action to allow us to get an active credential using workflow | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/angular/ssr/test/utils/validation_spec.ts | 450 | 'x-forwarded-email': 'user@example.com', | CODE |
| LOW | packages/angular/ssr/test/utils/validation_spec.ts | 458 | expect(secured.headers.get('x-forwarded-email')).toBe('user@example.com'); | CODE |