Repository Analysis

angular/angular-cli

CLI tool for Angular

1.0 Likely human-written View on GitHub
1.0
Adjusted Score
1.0
Raw Score
100%
Time Factor
2026-05-29
Last Push
27,029
Stars
TypeScript
Language
183,395
Lines of Code
1360
Files
168
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 1LOW 166

Pattern Findings

168 matches across 6 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers154 hits · 154 pts
SeverityFileLineSnippet
LOWtools/quicktype_runner.js143function appendDeprecatedDescription(schema) {
LOWtests/e2e/tests/vitest/larger-project-coverage.ts74async function generateArtifactsInBatches(artifactCount: number): Promise<string[]> {
LOWtests/e2e/tests/vitest/larger-project.ts41async function generateArtifactsInBatches(artifactCount: number): Promise<void> {
LOWtests/e2e/tests/vite/ssr-entry-express.ts118async function modifyFileAndWaitUntilUpdated(
LOWtests/e2e/tests/vite/ssr-entry-h3.ts102async function modifyFileAndWaitUntilUpdated(
LOWtests/e2e/tests/vite/ssr-entry-hono.ts94async function modifyFileAndWaitUntilUpdated(
LOWtests/e2e/tests/vite/ssr-entry-fastify.ts111async function modifyFileAndWaitUntilUpdated(
LOWtests/e2e/utils/project.ts186export function updateServerFileForEsbuild(filepath: string): Promise<void> {
LOWtests/e2e/utils/process.ts215export async function waitForAnyProcessOutputToMatch(
LOWtests/e2e/utils/process.ts329export async function execAndWaitForOutputToMatch(
LOWtests/e2e/utils/registry.ts52export async function createNpmConfigForAuthentication(
LOWtests/e2e/utils/registry.ts100export function setNpmEnvVarsForAuthentication(
LOWpackages/angular/cli/src/utilities/completion.ts36export async function considerSettingUpAutocompletion(
LOWpackages/angular/cli/src/utilities/completion.ts124async function shouldPromptForAutocompletionSetup(
LOWpackages/angular/cli/src/utilities/completion.ts254function getShellRunCommandCandidates(shell: string, home: string): string[] | undefined {
LOWpackages/angular/cli/src/utilities/config.ts319export async function getConfiguredPackageManager(): Promise<PackageManager | null> {
LOWpackages/angular/cli/src/utilities/node-version.ts58export function isNodeVersionMinSupported(): boolean {
LOW…ages/angular/cli/src/command-builder/command-runner.ts192async function getConfiguredPackageManager(
LOW…gular/cli/src/command-builder/utilities/json-schema.ts150function isSupportedArrayItemSchema(schema: json.JsonObject): boolean {
LOW…mand-builder/utilities/normalize-options-middleware.ts20export function createNormalizeOptionsMiddleware(localeYargs: Argv): (args: Arguments) => void {
LOW…ges/angular/cli/src/commands/update/schematic/index.ts28export function angularMajorCompatGuarantee(range: string) {
LOW…angular/cli/src/commands/update/utilities/migration.ts313async function getOptionalMigrationsToRun(
LOW…angular/cli/src/commands/update/utilities/migration.ts360function getMigrationTitleAndDescription(migration: MigrationSchematicDescription): {
LOW…gular/cli/src/commands/update/utilities/cli-version.ts82export function getCLIUpdateRunnerVersion(
LOW…gular/cli/src/commands/update/utilities/cli-version.ts178export async function shouldForcePackageManager(
LOW…ckages/angular/cli/src/commands/mcp/workspace-utils.ts130export async function resolveWorkspaceAndProject({
LOWpackages/angular/cli/src/commands/mcp/devserver.ts172export function createDevServerNotFoundError(
LOWpackages/angular/cli/src/commands/mcp/tools/projects.ts33function getStyleLanguageFromExtension(extension: string): StyleLanguage | undefined {
LOWpackages/angular/cli/src/commands/mcp/tools/projects.ts569async function createListProjectsHandler({ server }: McpToolContext) {
LOW…s/angular/cli/src/commands/mcp/tools/best-practices.ts92async function getVersionSpecificBestPractices(
LOW…s/angular/cli/src/commands/mcp/tools/best-practices.ts178function createBestPracticesHandler({ logger }: McpToolContext) {
LOW…oneless-migration/analyze-for-unsupported-zone-uses.ts14export async function analyzeForUnsupportedZoneUses(
LOW…oneless-migration/analyze-for-unsupported-zone-uses.ts42export async function findUnsupportedZoneUsages(
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts15export function createProvideZonelessForTestsSetupPrompt(testFilePath: string): MigrationResponse {
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts56export function createUnsupportedZoneUsagesMessage(
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts114export function generateZonelessMigrationInstructionsForComponent(
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts165export function createTestDebuggingGuideForNonActionableInput(
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts180export async function createFixResponseForZoneTests(
LOW…/tools/onpush-zoneless-migration/zoneless-migration.ts57export async function registerZonelessMigrationTool(
LOW…/tools/onpush-zoneless-migration/zoneless-migration.ts114async function discoverAndCategorizeFiles(
LOW…/tools/onpush-zoneless-migration/zoneless-migration.ts218async function rankComponentFilesForMigration(
LOW…angular/cli/src/commands/mcp/resources/instructions.ts13export function registerInstructionsResource(server: McpServer): void {
LOWpackages/angular/cli/src/package-managers/parsers.ts186export function parseYarnClassicDependencies(
LOWpackages/angular/cli/src/package-managers/parsers.ts627export function parseYarnModernDependencies(
LOWpackages/angular/cli/src/analytics/analytics.ts30export function isPackageNameSafeForAnalytics(name: string): boolean {
LOWpackages/angular/cli/src/analytics/analytics.ts119async function getAnalyticsUserIdForLevel(
LOWpackages/angular/cli/src/analytics/analytics.ts186function analyticsConfigValueToHumanFormat(value: unknown): 'enabled' | 'disabled' | 'not set' {
LOWpackages/angular/ssr/test/testing-utils.ts45export function setAngularAppTestingManifest(
LOWpackages/angular/ssr/node/src/errors.ts21export function attachNodeGlobalErrorHandlers(): void {
LOWpackages/angular/ssr/node/src/environment-options.ts21export function getTrustProxyHeadersFromEnv(): ReadonlyArray<string> | undefined {
LOWpackages/angular/ssr/node/src/response.ts23export async function writeResponseToNodeResponse(
LOWpackages/angular/ssr/node/src/request.ts49export function createWebRequestFromNodeRequest(
LOWpackages/angular/ssr/node/src/request.ts149function getAllowedProxyHeaderValue(
LOWpackages/angular/ssr/src/i18n.ts28export function getPotentialLocaleIdFromUrl(url: URL, basePath: string): string {
LOWpackages/angular/ssr/src/app.ts501export function getOrCreateAngularServerApp(
LOWpackages/angular/ssr/src/app.ts501export function getOrCreateAngularServerApp(
LOWpackages/angular/ssr/src/manifest.ts186export function setAngularAppEngineManifest(manifest: AngularAppEngineManifest): void {
LOWpackages/angular/ssr/src/manifest.ts196export function getAngularAppEngineManifest(): AngularAppEngineManifest {
LOWpackages/angular/ssr/src/utils/validation.ts243export function normalizeTrustProxyHeaders(
LOWpackages/angular/ssr/src/utils/redirect.ts20export function isValidRedirectResponseCode(code: number): boolean {
94 more matches not shown…
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICAL…ngular_devkit/schematics/tools/fallback-engine-host.ts83 return context.schematic.collection.description.host.createSourceFromUrl(url, context);
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippet
LOWtests/e2e/tests/update/update.ts21 // Example error where 11.2.14 satisfies the SemVer range ^11.0.0 but still fails:
LOW…sts/e2e/tests/commands/config/config-set-enum-check.ts1import { ng } from '../../../utils/process';
LOWpackages/angular_devkit/core/node/cli-logger.ts41 // If we do console.log(message) or process.stdout.write(message + '\n'), the process might
LOW…kit/schematics_cli/schematic/files/src/collection.json1// By default, collection.json is a Loose-format JSON5 format, which means it's loaded using a
LOW…ics_cli/schematic/files/src/my-full-schematic/index.ts21 },
LOW…hematics_cli/schematic/files/src/my-schematic/index.ts1import { Rule, SchematicContext, Tree } from '@angular-devkit/schematics';
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippet
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts24 #### Step 1: Enable Zoneless Change Detection for the Suite
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts42 #### Step 2: Identify and fix Failing Tests
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts125 #### Step 1: Identify and Refactor State
LOW…ommands/mcp/tools/onpush-zoneless-migration/prompts.ts133 #### Step 2: Add \`ChangeDetectionStrategy.Eager\`
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/perf.yml46 # We utilize the google-github-actions/auth action to allow us to get an active credential using workflow
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOWpackages/angular/ssr/test/utils/validation_spec.ts300 'x-forwarded-email': 'user@example.com',
LOWpackages/angular/ssr/test/utils/validation_spec.ts308 expect(secured.headers.get('x-forwarded-email')).toBe('user@example.com');