Repository Analysis

angular/angular

Deliver web apps with confidence 🚀

1.5 Likely human-written View on GitHub
1.5
Adjusted Score
1.5
Raw Score
100%
Time Factor
2026-05-29
Last Push
100,124
Stars
TypeScript
Language
1,490,848
Lines of Code
8923
Files
1700
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 24HIGH 11MEDIUM 123LOW 1542

Pattern Findings

1700 matches across 14 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers1340 hits · 1384 pts
SeverityFileLineSnippet
LOWtools/tslint/validateImportForEsmCjsInteropRule.ts86function isNamedImportToDisallowedModule(node: ts.Node, disallowed: string[]): boolean {
LOWtools/tslint/validateImportForEsmCjsInteropRule.ts94function isDefaultImportToDisallowedModule(node: ts.Node, disallowed: string[]) {
LOWtools/tslint/noImplicitOverrideAbstractRule.ts60function matchesParentAbstractElement(node: ts.ClassElement, program: ts.Program): boolean {
LOWtools/tslint/noImplicitOverrideAbstractRule.ts82function checkClassForInheritedMatchingAbstractMember(
LOWtools/tslint/noImplicitOverrideAbstractRule.ts128function getExtendsHeritageExpressions(
LOW…tractor/symbol_extractor_spec/hello_world_min_debug.js220 function getNextLNodeWithProjection(node) {
LOW…tractor/symbol_extractor_spec/hello_world_min_debug.js224 function getNextOrParentSiblingNode(initialNode, rootNode) {
LOW…tractor/symbol_extractor_spec/hello_world_min_debug.js385 function renderComponentOrTemplate(node, hostView, componentOrContext, template) {
LOWadev/shared-docs/utils/navigation.utils.ts136export function handleHrefClickEventWithRouter(e: Event, router: Router, relativeUrl: string) {
LOWadev/shared-docs/utils/navigation.utils.ts151export function getActivatedRouteSnapshotFromRouter(router: Router): ActivatedRouteSnapshot {
LOWadev/shared-docs/services/search.service.ts223function extractPackageNameFromUrl(url: string): string | null {
LOW…/app/core/services/analytics/analytics-format-error.ts13export function formatErrorEventForAnalytics(event: ErrorEvent): string {
LOW…features/home/animation/calculations/calc-css-value.ts43function calculateNextNumericValue(
LOW…features/home/animation/calculations/calc-css-value.ts67function calculateNextTransformValue(
LOW…home/components/home-animation/animation-definition.ts138export function generateHomeAnimationDefinition(
LOW…v/src/app/features/tutorial/tutorial.component.spec.ts71 function setupDisabledRevealAnswerValues() {
LOW…v/src/app/features/tutorial/tutorial.component.spec.ts77 function setupNoRevealAnswerValues() {
LOW…v/src/app/features/tutorial/tutorial.component.spec.ts83 function setupResetRevealAnswerValues() {
LOWadev/src/app/editor/error-filename-handler.ts36export async function setupErrorFilenameHandler(webContainer: WebContainer): Promise<void> {
LOWadev/src/app/editor/inject-embedded-tutorial-manager.ts11export function injectEmbeddedTutorialManager(injector: EnvironmentInjector) {
LOW…rc/app/editor/code-editor/utils/component-ts-syntax.ts28function getAngularComponentMixedParser(node: SyntaxNodeRef, input: Input): NestedParse | null {
LOWadev/src/app/editor/code-editor/extensions/tooltip.ts154function renderAndSanitizeMarkdownToHtml(content: string, domSanitizer: DomSanitizer): string {
LOW…src/app/editor/code-editor/workers/factory-provider.ts17export function createTypescriptVfsWorker(): Worker {
LOWadev/src/app/editor/terminal/terminal.component.spec.ts50 async function expectWriteStringToTerminal(v: string) {
LOW…ntent/guide/forms/signals/designing-your-form-model.md419function formStateToPartialDomainModel(
LOWadev/src/content/guide/http/interceptors.md180export function redirectTrackingInterceptor(
LOW…ntent/examples/form-validation/e2e/src/app.e2e-spec.ts164async function waitForAlterEgoValidation() {
LOW…l-forms/src/compat-form-control-integration/app/app.ts8function enterprisePasswordValidator() {
LOW…v/src/content/examples/animations/e2e/src/toggle.po.ts17export function getToggleAnimationsButton() {
LOWdevtools/tools/angular-optimization/esbuild-plugin.d.ts23export function createEsbuildAngularOptimizePlugin(opts: OptimizationOptions, additionalBabelPlugins?: PluginItem[]): Pr
LOW…ls/projects/ng-devtools-backend/src/lib/highlighter.ts95export function highlightHydrationElement(el: Node, status: HydrationStatus) {
LOW…ls/projects/ng-devtools-backend/src/lib/highlighter.ts126export function removeHydrationHighlights(): void {
LOW…ls/projects/ng-devtools-backend/src/lib/router-tree.ts33function collectActiveRouteConfigs(
LOW…ls/projects/ng-devtools-backend/src/lib/router-tree.ts237export function getRouterCallableConstructRef(
LOW…jects/ng-devtools-backend/src/lib/property-mutation.ts178function getInheritedPropertyDescriptor(
LOW…jects/ng-devtools-backend/src/lib/property-mutation.ts205function assertSafeToImmutablyUpdate(obj: {}): void {
LOW…ojects/ng-devtools-backend/src/lib/router-tree.spec.ts515 function mockRunGuardsAndResolvers() {}
LOW…tools-backend/src/lib/component-tree/component-tree.ts66function getOrCreateInjectorId(key: Injector | HTMLElement, injector: Injector): string {
LOW…tools-backend/src/lib/component-tree/component-tree.ts91export function getInjectorResolutionPath(injector: Injector): Injector[] {
LOW…tools-backend/src/lib/component-tree/component-tree.ts100export function getInjectorFromElementNode(element: Node): Injector | null {
LOW…tools-backend/src/lib/component-tree/component-tree.ts186function serializeElementInjectorWithId(injector: Injector): SerializedInjector | null {
LOW…tools-backend/src/lib/component-tree/component-tree.ts206function serializeEnvironmentInjectorWithId(injector: Injector): SerializedInjector | null {
LOW…tools-backend/src/lib/component-tree/component-tree.ts544export function getElementInjectorElement(elementInjector: Injector): HTMLElement {
LOW…tools-backend/src/lib/component-tree/component-tree.ts660function discoverNonApplicationRootComponents(element: Element, roots: Set<Element>): void {
LOW…vtools-backend/src/lib/directive-forest/render-tree.ts102function groupControlFlowBlocksChildren(
LOW…/ng-devtools-backend/src/lib/directive-forest/ltree.ts47export function getLViewFromDirectiveOrElementInstance(dir: any): null | LView {
LOW…tools-backend/src/lib/directive-forest/control-flow.ts37export function mapToDevtoolsControlFlowModel(
LOW…tools-backend/src/lib/directive-forest/control-flow.ts73export function createControlFlowTreeNode(
LOW…-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts32export function ngDebugDependencyInjectionApiIsSupported(): boolean {
LOW…-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts54export function ngDebugProfilerApiIsSupported(): boolean {
LOW…-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts71export function ngDebugRoutesApiIsSupported(): boolean {
LOW…-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts81export function ngDebugSignalGraphApiIsSupported(): boolean {
LOW…-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts90export function ngDebugTransferStateApiIsSupported(): boolean {
LOW…-devtools-backend/src/lib/ng-debug-api/ng-debug-api.ts96export function ngDebugSignalPropertiesInspectionApiIsSupported(): boolean {
LOW…end/src/lib/component-inspector/component-inspector.ts141function findNodesForHydrationOverlay(
LOW…end/src/lib/component-inspector/component-inspector.ts156function findErrorNodesForHydrationOverlay(
LOW…s-backend/src/lib/state-serializer/state-serializer.ts136export function deeplySerializeSelectedProperties(
LOW…/lib/state-serializer/serialized-descriptor-factory.ts205export function createShallowSerializedDescriptor(
LOW…/lib/state-serializer/serialized-descriptor-factory.ts231export function createLevelSerializedDescriptor(
LOW…/lib/state-serializer/serialized-descriptor-factory.ts267export function createNestedSerializedDescriptor(
1280 more matches not shown…
Hallucination Indicators24 hits · 260 pts
SeverityFileLineSnippet
CRITICAL…ckages/compiler-cli/src/ngtsc/typecheck/src/checker.ts133 position: this.meta.ref.node.name.getStart(),
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts529 act(() => fixture.componentInstance.form.controls.name.setValue('updated'));
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts576 act(() => fixture.componentInstance.form.controls.name.setValue('updated'));
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts601 act(() => fixture.componentInstance.form.controls.name.disable());
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts604 act(() => fixture.componentInstance.form.controls.name.enable());
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts628 act(() => fixture.componentInstance.form.controls.name.markAsTouched());
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts631 act(() => fixture.componentInstance.form.controls.name.markAsUntouched());
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts655 act(() => fixture.componentInstance.form.controls.name.markAsDirty());
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts658 act(() => fixture.componentInstance.form.controls.name.markAsPristine());
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts683 act(() => fixture.componentInstance.form.controls.name.setValue(''));
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts687 act(() => fixture.componentInstance.form.controls.name.setValue('valid'));
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts717 act(() => fixture.componentInstance.form.controls.name.setValue('valid'));
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts745 fixture.componentInstance.form.controls.name.removeValidators(Validators.required);
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts746 fixture.componentInstance.form.controls.name.updateValueAndValidity();
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts752 fixture.componentInstance.form.controls.name.addValidators(Validators.required);
CRITICALpackages/forms/signals/test/web/reactive_fvc.spec.ts753 fixture.componentInstance.form.controls.name.updateValueAndValidity();
CRITICALpackages/forms/signals/src/field/validation.ts164 ...this.node.logicNode.logic.syncTreeErrors.compute(this.node.context),
CRITICALpackages/forms/signals/src/field/validation.ts185 ...this.node.logicNode.logic.syncErrors.compute(this.node.context),
CRITICALpackages/forms/signals/src/field/validation.ts233 ...this.node.logicNode.logic.asyncErrors.compute(this.node.context),
CRITICALpackages/forms/signals/src/field/state.ts112 ...this.node.logicNode.logic.disabledReasons.compute(this.node.context),
CRITICALpackages/forms/signals/src/field/state.ts136 this.node.logicNode.logic.readonly.compute(this.node.context)) ??
CRITICALpackages/forms/signals/src/field/state.ts150 this.node.logicNode.logic.hidden.compute(this.node.context)) ??
CRITICALpackages/compiler/test/ml_parser/ast_spec_utils.ts167 ast.sourceSpan.fullStart.file.content.substring(
CRITICAL…benchmarks/src/expanding_rows/expanding_row_summary.ts116 this.expandingRow.expandingRowMainElement.nativeElement.classList.contains(
Decorative Section Separators71 hits · 228 pts
SeverityFileLineSnippet
MEDIUM.pullapprove.yml11# =========================================================
MEDIUM.pullapprove.yml13# =========================================================
MEDIUM.pullapprove.yml87 # =========================================================
MEDIUM.pullapprove.yml89 # =========================================================
MEDIUM.pullapprove.yml115 # =========================================================
MEDIUM.pullapprove.yml117 # =========================================================
MEDIUM.pullapprove.yml161 # =========================================================
MEDIUM.pullapprove.yml163 # =========================================================
MEDIUM.pullapprove.yml190 # =========================================================
MEDIUM.pullapprove.yml192 # =========================================================
MEDIUM.pullapprove.yml215 # =========================================================
MEDIUM.pullapprove.yml220 # =========================================================
MEDIUM.pullapprove.yml238 # =========================================================
MEDIUM.pullapprove.yml240 # =========================================================
MEDIUM.pullapprove.yml273 # =========================================================
MEDIUM.pullapprove.yml275 # =========================================================
MEDIUM.pullapprove.yml294 # =========================================================
MEDIUM.pullapprove.yml296 # =========================================================
MEDIUM.pullapprove.yml345 # =========================================================
MEDIUM.pullapprove.yml347 # =========================================================
MEDIUM.pullapprove.yml359 # =========================================================
MEDIUM.pullapprove.yml361 # =========================================================
MEDIUM.pullapprove.yml394 # ================================================
MEDIUM.pullapprove.yml396 # ================================================
MEDIUM.pullapprove.yml422 # =========================================================
MEDIUM.pullapprove.yml424 # =========================================================
MEDIUM.pullapprove.yml444 # =========================================================
MEDIUM.pullapprove.yml446 # =========================================================
MEDIUM.pullapprove.yml463 # =========================================================
MEDIUM.pullapprove.yml465 # =========================================================
MEDIUM.pullapprove.yml508 # =========================================================
MEDIUM.pullapprove.yml515 # =========================================================
MEDIUM.pullapprove.yml527 # =========================================================
MEDIUM.pullapprove.yml533 # =========================================================
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts616 // ┌─────────┐
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts624 // │ └─────────┘ │
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts625 // │ ┌─────▼─────┐
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts628 // └───┬───┘ └───────────┘
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts632 // ┌────▼─────┐
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts635 // └──────────┘
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts700 // ┌────────────────────imports───────────────────────┐
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts702 // │ ┌───────imports────────┐ │
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts705 // ┌─────────┴─┴─────────┐ ┌─────────▼────────────┐ ┌──────────▼───────────┐
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts707 // └──────────┬──────────┘ └──────────┬────┬──────┘ └────┬────────┬────────┘
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts711 // ┌▼─────▼┐ imports │ │
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts712 // ┌────┤ModuleD├─────┐ │ imports │
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts713 // imports └───────┘ │ │ │ ┌───▼────────┐
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts714 // │ imports ┌──▼─────┐ │ │ ModuleE │
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts716 // │ModuleB│ │ └────────┘ │ └────────────┘
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts717 // └──┬────┘ ┌─────▼─────┐ │
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts719 // ┌────▼─────┐ │-MyServiceB│◄────────────┘
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts720 // │ ModuleA │ └───────────┘
MEDIUMpackages/core/test/acceptance/injector_profiler_spec.ts722 // └──────────┘
MEDIUMpackages/language-service/api.ts208 // ═══════════════════════════════════════════════════════════════════════════
MEDIUMpackages/language-service/api.ts210 // ═══════════════════════════════════════════════════════════════════════════
MEDIUMpackages/language-service/api.ts249 // ═══════════════════════════════════════════════════════════════════════════
MEDIUMpackages/language-service/api.ts251 // ═══════════════════════════════════════════════════════════════════════════
MEDIUMpackages/language-service/api.ts271 // ═══════════════════════════════════════════════════════════════════════════
MEDIUMpackages/language-service/api.ts273 // ═══════════════════════════════════════════════════════════════════════════
MEDIUMpackages/language-service/api.ts296 // ═══════════════════════════════════════════════════════════════════════════
11 more matches not shown…
Over-Commented Block136 hits · 132 pts
SeverityFileLineSnippet
LOW.pullapprove.yml1####################################################################################
LOW.pullapprove.yml21#
LOW.pullapprove.yml501 # Override managed result groups
LOWpnpm-workspace.yaml81# Disabling pnpm [hoisting](https://pnpm.io/settings#hoist) by setting `hoist:false` is recommended on
LOWadev/shared-docs/styles/_colors.scss201 var(--hot-pink-header) 20%,
LOW…/5-component-communication-with-signals/src/app/app.ts21 <!-- Add buttons to update product data and toggle availability -->
LOW…ps/6-two-way-binding-with-model-signals/src/app/app.ts41 </div>
LOWdevtools/cypress/plugins/index.js1/**
LOWdevtools/cypress/integration/node-search.e2e.js121 // cy.get('.filter label .search-icon').click({force: true});
LOWdevtools/cypress/support/index.js1/**
LOWdevtools/cypress/support/index.js21// https://on.cypress.io/configuration
LOW…s-backend/src/lib/directive-forest/render-tree.spec.ts121 //
LOWpackages/types.d.ts21// and packages such as platform-server that need these types should
LOW…ges/compiler-cli/test/ngtsc/template_typecheck_spec.ts2361 // usage. When `UnifiedModulesHost` aliasing is enabled, these imports would ordinarily use
LOWpackages/compiler-cli/src/transformers/api.ts41 // Don't produce .ngfactory.js or .ngstyle.js files
LOWpackages/compiler-cli/src/ngtsc/scope/src/local.ts301 // The algorithm is as follows:
LOW…/compiler-cli/src/ngtsc/translator/src/type_emitter.ts41 return visitNode(type) !== INELIGIBLE;
LOW…ler-cli/src/ngtsc/annotations/ng_module/src/handler.ts701 // However, if the NgModule itself has a cycle with the desired component/directive
LOW…r-cli/src/ngtsc/annotations/component/src/resources.ts321 ...commonParseOptions,
LOW…ler-cli/src/ngtsc/annotations/component/src/handler.ts361 return undefined;
LOW…ler-cli/src/ngtsc/annotations/component/src/handler.ts1761 //
LOW…s/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts161 const flattenedMappings: Mapping[] = [];
LOW…s/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts181 // f - /- c [4, 2]
LOW…s/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts201 // src B src C mapping
LOW…s/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts301export function mergeMappings(generatedSource: SourceFile, ab: Mapping, bc: Mapping): Mapping {
LOW…s/compiler-cli/src/ngtsc/sourcemaps/src/source_file.ts321 //
LOWpackages/compiler-cli/src/ngtsc/shims/src/adapter.ts181 if (inputFile === undefined || isShim(inputFile)) {
LOW…es/compiler-cli/src/ngtsc/typecheck/src/tcb_adapter.ts321 let unexportedDiagnostic: string | null = null;
LOW…sc/transform/jit/src/downlevel_decorators_transform.ts381 referencedParameterTypes?.add(decl);
LOW…ages/compiler-cli/src/ngtsc/transform/src/transform.ts341 });
LOW…es/compiler-cli/src/ngtsc/transform/src/compilation.ts321 // This is at least the second handler to match this class. This is a slower path that some
LOW…compiler-cli/src/ngtsc/reflection/src/type_to_value.ts261 const typeName = typeRef.typeName;
LOW…grade/static/test/integration/change_detection_spec.ts221 }));
LOW…grade/static/test/integration/change_detection_spec.ts241 // let doTimeout = false;
LOWpackages/upgrade/src/common/src/downgrade_component.ts161 // on the same tree as the `NgModule` that declares this downgraded component.
LOWpackages/upgrade/src/common/src/downgrade_component.ts181 // In that case, we could have used the `parentInjector` as both
LOW…/upgrade/src/common/src/downgrade_component_adapter.ts301 // https://github.com/angular/angular.js/blob/2e72ea13fa98bebf6ed4b5e3c45eaf5f990ed16f/src/jqLite.js#L349-L355
LOWpackages/forms/signals/src/field/proxy.ts41 // Allow access to the iterator. This allows the user to spread the field array into a
LOWpackages/forms/signals/src/schema/logic_node.ts141 override getChild(key: PropertyKey): LogicNodeBuilder {
LOWpackages/forms/signals/src/api/types.ts221 // Note: We use `[TModel]` in several places below to avoid the condition from being distributed
LOWpackages/core/test/test_bed_spec.ts1581 const button = fixture.nativeElement.querySelector('button');
LOWpackages/core/test/acceptance/injector_profiler_spec.ts621 // │
LOWpackages/core/test/acceptance/injector_profiler_spec.ts701 // │ │
LOWpackages/core/test/acceptance/injector_profiler_spec.ts781 // There are 2 paths from MyStandaloneComponent to MyService
LOWpackages/core/test/acceptance/change_detection_spec.ts1881 ).toThrowError(new RegExp(message));
LOWpackages/core/test/acceptance/change_detection_spec.ts1901 //
LOW…s/core/test/acceptance/attach_source_locations_spec.ts21} from '../../src/render3';
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts1061 expect(foundQueryList!.length).toBe(2);
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts1661 fixture.detectChanges();
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts2321 // TODO: sub has Output and super has ContentChildren on same property
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts2901
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts3581 // TODO: sub has Input and super has ContentChild on same property
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts4261 declarations: [App, MyComponent, ChildDir, SuperDirective],
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts4281 // TODO: sub has HostBinding and super has ViewChildren on same property
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts5141 fixture.debugElement.query(By.directive(component)).nativeElement.click();
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts5161 // TODO: sub has HostBinding and super has ViewChild on same property
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts5941
LOW…ore/test/acceptance/inherit_definition_feature_spec.ts5961 // TODO: sub has ViewChild and super has ContentChild on same property
LOW…y_animation/legacy_animation_query_integration_spec.ts3241 fixture.detectChanges();
LOWpackages/core/test/render3/i18n/i18n_parse_spec.ts41 it('should parse simple ICU', () => {
76 more matches not shown…
AI Slop Vocabulary30 hits · 68 pts
SeverityFileLineSnippet
MEDIUM.pullapprove.yml22# - This configuration works in conjunction with the protected branch settings that require all changes to be made via
MEDIUMadev/src/content/cdk/cdk_testing.json743 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHar
MEDIUMadev/src/content/cdk/cdk_testing.json778 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json792 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUMadev/src/content/cdk/cdk_testing.json829 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHar
MEDIUMadev/src/content/cdk/cdk_testing.json864 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json878 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUMadev/src/content/cdk/cdk_testing.json4117 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json4131 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUMadev/src/content/cdk/cdk_testing.json4169 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json4183 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUMadev/src/content/cdk/cdk_testing.json4609 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHar
MEDIUMadev/src/content/cdk/cdk_testing.json4644 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json4658 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUMadev/src/content/cdk/cdk_testing.json4697 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHar
MEDIUMadev/src/content/cdk/cdk_testing.json4732 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json4746 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUMadev/src/content/cdk/cdk_testing.json5800 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHar
MEDIUMadev/src/content/cdk/cdk_testing.json5835 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json5849 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUMadev/src/content/cdk/cdk_testing.json5889 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHar
MEDIUMadev/src/content/cdk/cdk_testing.json5924 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarne
MEDIUMadev/src/content/cdk/cdk_testing.json5938 "rawComment": "/**\n * Creates an asynchronous locator function that can be used to find a `ComponentHarness
MEDIUM…er-cli/test/ngtsc/incremental_semantic_changes_spec.ts2029 // template, forcing the compiler to utilize remote scoping for at least one of them.
MEDIUM…er-cli/test/ngtsc/incremental_semantic_changes_spec.ts2102 // their template, forcing the compiler to utilize remote scoping for MyCmpB (which is
MEDIUMpackages/compiler-cli/src/perform_compile.ts98 // tooling like Tsurge, or schematics may leverage this helper, so we account
MEDIUMpackages/common/src/viewport_scroller.ts128 // target. Rather than following the robust steps, simply attempt focus.
MEDIUMpackages/zone.js/test/node/fs.spec.ts91 // of `realpath.native` in unit tests. Essentially, there's no original delegate
MEDIUMpackages/platform-browser/src/dom/dom_renderer.ts537 // does not use the SharedStylesHost that other encapsulation modes leverage. Much like
MEDIUM.github/workflows/perf.yml44 # We utilize the google-github-actions/auth action to allow us to get an active credential using workflow
Fake / Example Data47 hits · 58 pts
SeverityFileLineSnippet
LOW…peline/shared/marked/test/docs-callout/docs-callout.md3 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…peline/shared/marked/test/docs-callout/docs-callout.md3 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…peline/shared/marked/test/docs-callout/docs-callout.md7 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…peline/shared/marked/test/docs-callout/docs-callout.md7 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…peline/shared/marked/test/docs-callout/docs-callout.md11 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…peline/shared/marked/test/docs-callout/docs-callout.md11 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…peline/shared/marked/test/docs-callout/docs-callout.md15 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…peline/shared/marked/test/docs-callout/docs-callout.md15 Lorem ipsum dolor sit amet, consectetur adipiscing elit.
LOW…ts/top-level-banner/top-level-banner.component.spec.ts63 const EXAMPLE_TEXT = 'Lorem ipsum dolor...';
LOWadev/src/content/kitchen-sink.md33 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ornare ligula nisi
LOWadev/src/content/kitchen-sink.md33 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ornare ligula nisi
LOWadev/src/content/kitchen-sink.md36 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ornare ligula nisi
LOWadev/src/content/kitchen-sink.md36 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ornare ligula nisi
LOWadev/src/content/kitchen-sink.md39 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ornare ligula nisi
LOWadev/src/content/kitchen-sink.md39 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ornare ligula nisi
LOWadev/src/content/kitchen-sink.md56 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit diam
LOWadev/src/content/kitchen-sink.md56 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit diam
LOWadev/src/content/kitchen-sink.md60 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit diam
LOWadev/src/content/kitchen-sink.md60 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit diam
LOWadev/src/content/kitchen-sink.md64 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit diam
LOWadev/src/content/kitchen-sink.md64 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit diam
LOWadev/src/content/kitchen-sink.md243 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit dia
LOWadev/src/content/kitchen-sink.md243 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla luctus metus blandit semper faucibus. Sed blandit dia
LOWadev/src/content/guide/forms/signals/form-logic.md668 metadata(path, PLACEHOLDER, () => 'user@example.com');
LOWadev/src/content/guide/templates/variables.md22 'Lorem ipsum dolor sit amet, consectetur adipiscing elit ' +
LOWadev/src/content/guide/templates/variables.md22 'Lorem ipsum dolor sit amet, consectetur adipiscing elit ' +
LOW…/content/examples/dynamic-form/e2e/src/app.e2e-spec.ts11 const email = 'test@test.com';
LOW…ng-to-signal-changes-with-effect/answer/src/app/app.ts93 this.username.set('John Doe');
LOW…-reacting-to-signal-changes-with-effect/src/app/app.ts75 this.username.set('John Doe');
LOW…_compiler_bindings/property_bindings/GOLDEN_PARTIAL.js173 name = 'John Doe';
LOW…_bindings/property_bindings/interpolated_properties.ts20 name = 'John Doe';
LOW…n_bindable_behavior/property_bindings_and_listeners.ts13 name = 'John Doe';
LOW…er_bindings/non_bindable_behavior/local_ref_on_host.ts14 name = 'John Doe';
LOW…piler_bindings/non_bindable_behavior/GOLDEN_PARTIAL.js7 name = 'John Doe';
LOW…piler_bindings/non_bindable_behavior/GOLDEN_PARTIAL.js60 name = 'John Doe';
LOW…piler_bindings/non_bindable_behavior/GOLDEN_PARTIAL.js111 name = 'John Doe';
LOW…piler_bindings/non_bindable_behavior/GOLDEN_PARTIAL.js162 name = 'John Doe';
LOW…_bindings/non_bindable_behavior/local_ref_on_nested.ts13 name = 'John Doe';
LOW…er_bindings/non_bindable_behavior/no_child_elements.ts11 name = 'John Doe';
LOW…compiler_bindings/attribute_bindings/GOLDEN_PARTIAL.js307 name = 'John Doe';
LOW…bindings/attribute_bindings/interpolated_attributes.ts20 name = 'John Doe';
LOWpackages/forms/signals/test/node/resource.spec.ts304 addressForm.street().value.set('123 Main St');
LOWpackages/forms/signals/test/node/resource.spec.ts317 const addressModel = signal<Address>({street: '123 Main St', city: '', zip: ''});
LOWpackages/core/test/signals/glitch_free_spec.ts15 const name = signal('John Doe');
LOWpackages/core/test/signals/non_reactive_spec.ts93 expect(runLog).toEqual(['John Doe']);
LOWpackages/core/test/signals/non_reactive_spec.ts98 expect(runLog).toEqual(['John Doe']);
LOWpackages/core/test/signals/non_reactive_spec.ts103 expect(runLog).toEqual(['John Doe']);
Cross-Language Confusion (JS/TS)8 hits · 55 pts
SeverityFileLineSnippet
HIGHpackages/core/primitives/event-dispatch/src/event.ts219 * @return True, if a modifier key is activated.
HIGHpackages/core/primitives/event-dispatch/src/event.ts279 * @return True, if the event emulates a DOM click.
HIGHpackages/core/primitives/event-dispatch/src/event.ts358/** @return True, if the Space key was pressed. */
HIGHpackages/core/primitives/event-dispatch/src/event.ts386 * @return True if the event is a mouseenter/mouseleave event.
HIGHpackages/core/src/sanitization/html_sanitizer.ts178 * @return True if the element's contents should be traversed.
HIGHpackages/compiler/src/output/abstract_emitter.ts91 print(from: {sourceSpan: ParseSourceSpan | null} | null, part: string, newLine: boolean = false) {
HIGHpackages/compiler/src/typecheck/ops/codegen.ts40 print(ignoreComments = false): string {
HIGHpackages/platform-browser/src/dom/events/key_events.ts63 * @return True if the named key event is supported.
Slop Phrases13 hits · 39 pts
SeverityFileLineSnippet
MEDIUMdevtools/src/app/app.component.ts27 // This component is just for demonstration purposes.
MEDIUMdevtools/src/app/app.component.ts43 // This component is just for demonstration purposes.
MEDIUM…ckages/compiler-cli/src/ngtsc/typecheck/src/ts_util.ts43 * This should work for most cases.
MEDIUMpackages/core/primitives/event-dispatch/src/event.ts87 // It's worth noting that some browser releases have been inconsistent on this, and unless
MEDIUMpackages/common/locales/ff-MR.ts13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/ff-CM.ts13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/ff-GN.ts13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/extra/ff-MR.ts13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/extra/ff-CM.ts13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/extra/ff-GN.ts13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/global/ff-GN.js13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/global/ff-MR.js13// potential breaking changes. It's worth noting that the locale data for such files is outdated
MEDIUMpackages/common/locales/global/ff-CM.js13// potential breaking changes. It's worth noting that the locale data for such files is outdated
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippet
MEDIUMscripts/ci/publish-snapshot-build-artifacts.sh133 # Create a temporary tree-ish that includes uncommitted changes.
MEDIUMscripts/ci/create-package-archives.sh20 # Create a compressed archive containing all packages.
MEDIUMscripts/ci/create-package-archives.sh27# Create a compressed archive for each package.
MEDIUMpackages/forms/signals/src/api/types.ts755 * ### Creating a reusable schema
MEDIUMpackages/forms/src/model/form_group.ts94 * ### Create a form group with 2 controls
MEDIUMpackages/forms/src/model/form_group.ts126 * ### Create a form group with a group-level validator
MEDIUMpackages/forms/src/model/form_array.ts68 * ### Create an array of form controls
MEDIUMpackages/forms/src/model/form_array.ts80 * ### Create a form array with array-level validators
MEDIUM.agent/skills/pr_review/scripts/submit_pr_review.sh35# Create the payload
Verbosity Indicators13 hits · 22 pts
SeverityFileLineSnippet
LOW…/extended/checks/missing_structural_directive/index.ts76 // The structural directive *foo desugars to [foo], so we need to check if any
LOW…grade/static/test/integration/change_detection_spec.ts74 // Step 1: Ensure `$digest` is run on `onMicrotaskEmpty`.
LOW…grade/static/test/integration/change_detection_spec.ts80 // Step 2: Cause the issue.
LOW…grade/static/test/integration/change_detection_spec.ts90 // Step 3: Ensure that `$digest()` is still executed on `onMicrotaskEmpty`.
LOW…tics/ng-generate/standalone-migration/to-standalone.ts336 // in this migration. We need to check if it's standalone already, in order to correct
LOW…rc/change_detection/differs/default_iterable_differ.ts310 // But first we need to check if identity changed, so we can update in view if necessary.
LOW…rc/change_detection/differs/default_iterable_differ.ts320 // But first we need to check if identity changed, so we can update in view if necessary.
LOW…rc/change_detection/differs/default_iterable_differ.ts354 * Double check that we have not evicted a duplicate item. We need to check if the item type may
LOWpackages/core/src/render3/di.ts266 // be pointing to a declared parent location). This variable stores number of declaration parents
LOWpackages/core/src/render3/styling/style_binding_list.ts223 // We need to check if our key is present in the static so that we can mark it as duplicate.
LOWpackages/compiler/src/typecheck/ops/scope.ts257 // Once everything is registered, we need to check if there are `@let`
LOWpackages/service-worker/worker/src/data.ts186 // Step 1: remove the node from its position within the chain, if it is in the chain.
LOWpackages/service-worker/worker/src/data.ts191 // Step 2: insert the node at the head of the chain.
Synthetic Comment Markers3 hits · 18 pts
SeverityFileLineSnippet
HIGHadev/src/content/ai/develop-with-ai.md49The Angular team developed and open-sourced the [Web Codegen Scorer](https://github.com/angular/web-codegen-scorer), a t
HIGHadev/src/content/ai/design-patterns.md20// A resource that fetches three parts of an AI generated story
HIGHadev/src/content/ai/design-patterns.md73- **Error Handling and Retries:** use the `resource` [**`reload()`**](guide/signals/resource#reloading) method as a simp
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippet
LOWpackages/core/src/di/injector.ts34 * ### Usage example
LOWpackages/core/src/render3/dynamic_bindings.ts164 * ### Usage example
LOWpackages/core/src/render3/dynamic_bindings.ts204 * ### Usage example
LOWpackages/common/src/pipes/date_pipe.ts198 * ### Usage example
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOW.agent/skills/pr_review/scripts/submit_pr_review.sh27# Check if there are staged comments
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWpackages/router/src/recognize.ts603function getData(route: Route): Data {