AI Slop Code Risk Monitor

angular/angular.js

SlopCodeMonitor badge for angular/angular.js Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

AngularJS - HTML enhanced for web apps!

0.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for angular/angular.js, a JavaScript project with 58,417 GitHub stars. SynthScan examined 326,321 lines of code across 1233 source files, recording 175 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 0.6 (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.

0.6
Adjusted Signal
0.6
Raw Pattern Score
100%
Time Factor
2024-04-12
Last Push
58.4K
Stars
JavaScript
Language
326.3K
Lines of Code
1.2K
Files
175
Pattern Hits
2026-11-27
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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-11-27.

Cognitive Ownership Risk 2.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 123 finding(s).

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

Are imports declared and package/API names verified? 52 finding(s).

Agent Over-Engineering Ratio 1.4/100 · LOW

Are wrappers, guards, and repeated structures necessary? 94 finding(s).

PR Review Velocity Impact 2.8/100 · LOW

Which changes need focused human review? 175 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 0MEDIUM 4LOW 171

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 175 distinct pattern matches across 5 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.

Hyper-Verbose Identifiers94 hits · 94 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.md7414.directive('patternModelOverwrite', function patternModelOverwriteDirective() {CODE
LOWCHANGELOG.md7530.directive('patternModelOverwrite', function patternModelOverwriteDirective() {CODE
LOWtest/AngularSpec.js1902 function testErrorFromDifferentContext(createError) {CODE
LOWtest/ngAria/ariaSpec.js1235 function expectAriaAttrOnEachElement(elem, ariaAttr, expected) {CODE
LOWtest/ng/locationSpec.js860 function updatePathOnLocationChangeSuccessTo(newPath, newParams) {CODE
LOWtest/ng/anchorScrollSpec.js104 function spyOnJQLiteDocumentLoaded(fake) {CODE
LOWtest/ng/anchorScrollSpec.js113 function unspyOnJQLiteDocumentLoaded() {CODE
LOWtest/ng/anchorScrollSpec.js391 function expectScrollingWithOffset(identifierCountMap, offsetList) {CODE
LOWtest/ng/anchorScrollSpec.js406 function expectScrollingWithoutOffset(identifierCountMap) {CODE
LOWtest/ng/anchorScrollSpec.js514 function createAndSetYOffsetElement(position) {CODE
LOWtest/ng/compileSpec.js295 function assertLeadingOrTrailingWhitespaceInDirectiveName(name) {CODE
LOWtest/ng/compileSpec.js7832 function ParentOrSiblingController() { this.name = 'ParentOrSibling'; }CODE
LOWtest/ng/compileSpec.js7833 function ParentOrSiblingOptController() { this.name = 'ParentOrSiblingOpt'; }CODE
LOWtest/ng/compileSpec.js12829 function testCompileLinkDataCleanup(template) {CODE
LOWtest/ng/compileSpec.js12857 function testReplaceElementCleanup(dirOptions) {CODE
LOWtest/ng/parseSpec.js4055 function tryParseAndIgnoreException(expression) {CODE
LOWtest/ng/animateSpec.js413 function setupClassManipulationSpies() {CODE
LOWtest/ng/animateSpec.js420 function setupClassManipulationLogger(log) {CODE
LOWtest/auto/injectorSpec.js1024 function createInjectorWithFactory(serviceName, serviceDef) {CODE
LOWtest/ngRoute/routeSpec.js2544 function addRouteWithAsyncRedirect(fromPath, toPath) {CODE
LOWtest/e2e/tests/anchor-scroll.spec.js167 function execWithTempViewportHeight(tempHeight, fn) {CODE
LOWtest/ngAnimate/animateCssSpec.js18 function getPossiblyPrefixedStyleValue(element, styleProp) {CODE
LOWtest/ngMock/angular-mocksSpec.js1318 function throwErrorAddingDeclarationStack() {CODE
LOWtest/ngMock/angular-mocksSpec.js3525 function assertThrowsErrorMatching(fn, re) {CODE
LOWtest/helpers/privateMocks.js33function browserSupportsCssAnimations() {CODE
LOWtest/helpers/testabilityPatch.js314function generateInputCompilerHelper(helper) {CODE
LOWdocs/config/processors/keywords.js14module.exports = function generateKeywordsProcessor(log, readFilesProcessor) {CODE
LOWdocs/config/processors/pages-data.js43module.exports = function generatePagesDataProcessor(log) {CODE
LOWdocs/config/processors/index-page.js10module.exports = function generateIndexPagesProcessor() {CODE
LOWdocs/config/processors/versions-data.js12module.exports = function generateVersionDocProcessor(gitData) {CODE
LOWdocs/config/processors/versions-data.js46 function processAllVersionsResponse(versions) {CODE
LOWdocs/config/processors/versions-data.js140 function createSnapshotStableLabel(version) {CODE
LOWi18n/src/closureI18nExtractor.js111function canonicalizeForJsonStringify(unused_key, object) {CODE
LOWsrc/jqLite.js908function specialMouseHandlerWrapper(target, event, handler) {CODE
LOWsrc/loader.js401 function invokeLaterAndSetModuleName(provider, method, queue) {CODE
LOWsrc/ngMessages/messages.js731function ngMessageDirectiveFactory(isDefault) {CODE
LOWsrc/ng/sce.js311 function isResourceUrlAllowedByPolicy(url) {CODE
LOWsrc/ng/animate.js149 function addRemoveClassesPostDigest(element, add, remove) {CODE
LOWsrc/ng/q.js682function markQStateExceptionHandled(state) {CODE
LOWsrc/ng/urlUtils.js136function urlIsAllowedOriginFactory(trustedOriginUrls) {CODE
LOWsrc/ng/parse.js654function findConstantAndWatchExpressions(ast, $filter, parentIsPure) {CODE
LOWsrc/ng/parse.js1825 function expressionInputDirtyCheck(newValue, oldValueOfValue, compareObjectIdentity) {CODE
LOWsrc/ng/location.js875 function setBrowserUrlWithFallback(url, replace, state) {CODE
LOWsrc/ng/browser.js175 function cacheStateAndFireUrlChange() {CODE
LOWsrc/ng/interpolate.js360 function parseStringifyInterceptor(value) {CODE
LOWsrc/ng/http.js106 return function jQueryLikeParamSerializer(params) {CODE
LOWsrc/ng/http.js136function defaultHttpResponseTransform(data, headers) {CODE
LOWsrc/ng/http.js1114 function completeOutstandingRequest() {CODE
LOWsrc/ng/http.js1351 function createShortMethodsWithData(name) {CODE
LOWsrc/ng/http.js1532 function sanitizeJsonpCallbackParam(url, cbKey) {CODE
LOWsrc/ng/compile.js1990 (function registerNativePropertyContexts() {CODE
LOWsrc/ng/compile.js2494 function detectNamespaceForChildElements(parentElement) {CODE
LOWsrc/ng/compile.js2629 function mergeConsecutiveTextNodes(nodeList, idx, notLiveList) {CODE
LOWsrc/ng/compile.js2867 function groupElementsLinkFnWrapper(linkFn, attrStart, attrEnd) {CODE
LOWsrc/ng/compile.js3392 function controllersBoundTransclude(scope, cloneAttachFn, futureParentElement, slotName) {CODE
LOWsrc/ng/compile.js3773 function addTextInterpolateDirective(directives, text) {CODE
LOWsrc/ng/compile.js3851 function sanitizeSrcsetPropertyValue(value) {CODE
LOWsrc/ng/compile.js3900 function addAttrInterpolateDirective(node, directives, value, name, isNgAttr) {CODE
LOWsrc/ng/compile.js4069 function initializeDirectiveBindings(scope, attrs, destination, bindings, directive) {CODE
LOWsrc/ng/directive/ngTransclude.js196 function ngTranscludeCloneAttachFn(clone, transcludedScope) {CODE
34 more matches not shown…
Fake / Example Data52 hits · 74 pts
SeverityFileLineSnippetContext
LOW⚡test/ng/directive/inputSpec.js167 expect(inputElm.attr('placeholder')).toBe('Test');CODE
LOW⚡test/ng/directive/inputSpec.js170 helper.attrs.$set('placeholder', '');CODE
LOW⚡test/ng/directive/inputSpec.js174 expect(inputElm.attr('placeholder')).toBe('');CODE
LOW⚡test/ng/directive/inputSpec.js177 helper.attrs.$set('placeholder', 'Test Again');CODE
LOW⚡test/ng/directive/inputSpec.js181 expect(inputElm.attr('placeholder')).toBe('Test Again');CODE
LOW⚡test/ng/directive/inputSpec.js184 helper.attrs.$set('placeholder', undefined);CODE
LOW⚡test/ng/directive/inputSpec.js188 expect(inputElm.attr('placeholder')).toBeUndefined();CODE
LOWtest/ng/directive/inputSpec.js232 expect(inputElm.attr('placeholder')).toBe('Test');CODE
LOWtest/ng/directive/inputSpec.js272 expect(inputElm.attr('placeholder')).toBe('Test');CODE
LOWtest/ng/directive/inputSpec.js280 expect(inputElm.attr('placeholder')).toBe('Test');CODE
LOWtest/ng/directive/inputSpec.js293 expect(inputElm.attr('placeholder')).toBe('Test');CODE
LOW⚡test/ng/filter/filterSpec.js649 {id: 0, details: {email: 'admin@example.com', role: 'admin'}},CODE
LOW⚡test/ng/filter/filterSpec.js655 expr = {details: {email: 'user@example.com', role: 'adm'}};CODE
LOW⚡test/ng/filter/filterSpec.js658 expr = {details: {email: 'admin@example.com', role: 'adm'}};CODE
LOW⚡test/ng/filter/filterSpec.js661 expr = {details: {email: 'admin@example.com', role: 'adm'}};CODE
LOW⚡test/ng/filter/filterSpec.js664 expr = {details: {email: 'admin@example.com', role: 'admin'}};CODE
LOWtest/ng/filter/filterSpec.js680 expr = {details: {email: 'admin@example.com', role: 'min'}};CODE
LOWtest/ng/filter/filterSpec.js683 expr = {details: {email: 'admin@example.com', role: 'adm'}};CODE
LOW…nchmarks/bootstrap-compile-bp/bootstrap-theme.tpl.html560 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed diam eget risus varius blandit sit amet non mCODE
LOW…nchmarks/bootstrap-compile-bp/bootstrap-theme.tpl.html560 <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed diam eget risus varius blandit sit amet non mCODE
LOWsrc/ng/directive/ngTransclude.js43 * $scope.title = 'Lorem Ipsum';COMMENT
LOWsrc/ng/directive/ngTransclude.js44 * $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...';COMMENT
LOWsrc/ng/directive/ngTransclude.js141 * $scope.title = 'Lorem Ipsum';COMMENT
LOWsrc/ng/directive/ngTransclude.js143 * $scope.text = 'Neque porro quisquam est qui dolorem ipsum quia dolor...';COMMENT
LOWsrc/ng/directive/ngController.js88 * {type: 'email', value: 'john.smith@example.org'}COMMENT
LOWsrc/ng/directive/ngController.js97 * this.contacts.push({type: 'email', value: 'yourname@example.org'});COMMENT
LOWsrc/ng/directive/ngController.js125 * .toBe('john.smith@example.org');COMMENT
LOWsrc/ng/directive/ngController.js137 * .toBe('yourname@example.org');COMMENT
LOWsrc/ng/directive/ngController.js172 * {type:'email', value:'john.smith@example.org'}COMMENT
LOWsrc/ng/directive/ngController.js180 * $scope.contacts.push({type:'email', value:'yourname@example.org'});COMMENT
LOWsrc/ng/directive/ngController.js209 * .toBe('john.smith@example.org');COMMENT
LOWsrc/ng/directive/ngController.js221 * .toBe('yourname@example.org');COMMENT
LOW⚡src/ng/filter/orderBy.js160 {name: 'John', phone: '555-1212', age: 10},CODE
LOW⚡src/ng/filter/orderBy.js161 {name: 'Mary', phone: '555-9876', age: 19},CODE
LOW⚡src/ng/filter/orderBy.js162 {name: 'Mike', phone: '555-4321', age: 21},CODE
LOW⚡src/ng/filter/orderBy.js163 {name: 'Adam', phone: '555-5678', age: 35},CODE
LOW⚡src/ng/filter/orderBy.js164 {name: 'Julie', phone: '555-8765', age: 29}CODE
LOW⚡src/ng/filter/orderBy.js239 {name: 'John', phone: '555-1212', age: 10},CODE
LOW⚡src/ng/filter/orderBy.js240 {name: 'Mary', phone: '555-9876', age: 19},CODE
LOW⚡src/ng/filter/orderBy.js241 {name: 'Mike', phone: '555-4321', age: 21},CODE
LOW⚡src/ng/filter/orderBy.js242 {name: 'Adam', phone: '555-5678', age: 35},CODE
LOW⚡src/ng/filter/orderBy.js243 {name: 'Julie', phone: '555-8765', age: 29}CODE
LOW⚡src/ng/filter/orderBy.js371 {name: 'John', phone: '555-1212', age: 10},CODE
LOW⚡src/ng/filter/orderBy.js372 {name: 'Mary', phone: '555-9876', age: 19},CODE
LOW⚡src/ng/filter/orderBy.js373 {name: 'Mike', phone: '555-4321', age: 21},CODE
LOW⚡src/ng/filter/orderBy.js374 {name: 'Adam', phone: '555-5678', age: 35},CODE
LOW⚡src/ng/filter/orderBy.js375 {name: 'Julie', phone: '555-8765', age: 29}CODE
LOW⚡src/ng/filter/filter.js74 <div ng-init="friends = [{name:'John', phone:'555-1276'},CODE
LOW⚡src/ng/filter/filter.js76 {name:'Mike', phone:'555-4321'},CODE
LOW⚡src/ng/filter/filter.js77 {name:'Adam', phone:'555-5678'},CODE
LOW⚡src/ng/filter/filter.js78 {name:'Julie', phone:'555-8765'},CODE
LOW⚡src/ng/filter/filter.js79 {name:'Juliette', phone:'555-5678'}]"></div>CODE
Over-Commented Block25 hits · 25 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.md641 // responseInterceptor-1COMMENT
LOWCHANGELOG.md1501User.get({id: 1}, onSuccess, onError);COMMENT
LOWtest/ng/compileSpec.js12481 // <span ng-if="val1" class="ng-scope"></span>COMMENT
LOWtest/ng/compileSpec.js12501 expect(ngIf1Scope.$id).not.toEqual(ngIf2Scope.$id);COMMENT
LOWtest/ng/compileSpec.js12561 //COMMENT
LOWtest/ng/compileSpec.js12581COMMENT
LOWtest/ng/compileSpec.js12601 // <!-- end ngRepeat: val in val0 -->COMMENT
LOWtest/ng/sceSpecs.js601 describe('when $sanitize is available', function() {COMMENT
LOWdocs/config/processors/pages-data.js161 return page.docType !== 'componentGroup';COMMENT
LOWi18n/closure/datetimeSymbols.js1// Copyright 2011 The Closure Library Authors. All Rights Reserved.COMMENT
LOWi18n/closure/currencySymbols.js1// Copyright 2009 The Closure Library Authors. All Rights Reserved.COMMENT
LOWi18n/closure/numberSymbols.js1// Copyright 2011 The Closure Library Authors. All Rights Reserved.COMMENT
LOWi18n/closure/datetimeSymbolsExt.js1// Copyright 2011 The Closure Library Authors. All Rights Reserved.COMMENT
LOWi18n/closure/numberSymbolsExt.js1// Copyright 2011 The Closure Library Authors. All Rights Reserved.COMMENT
LOWi18n/closure/pluralRules.js1// Copyright 2012 The Closure Library Authors. All Rights Reserved.COMMENT
LOWi18n/src/closureI18nExtractor.js101 ///@@ is a crazy place holder to be replaced before writing to fileCOMMENT
LOW.circleci/config.yml1# Configuration file for https://circleci.com/gh/angular/angular.jsCOMMENT
LOW.circleci/env.sh61setPublicVar DIST_TAG $( cat package.json | grep distTag | sed -E 's/^\s*"distTag"\s*:\s*"([^"]+)"\s*,\s*$/\1/' )COMMENT
LOW.circleci/env-helpers.inc.sh1####################################################################################################COMMENT
LOW.circleci/env-helpers.inc.sh41# Create a function to set an environment variable, when called.COMMENT
LOW.circleci/env-helpers.inc.sh61#COMMENT
LOWsrc/ng/anchorScroll.js221 // top of the viewport.COMMENT
LOWsrc/ng/parse.js21// various means such as obtaining a reference to native JS functions like the Function constructor.COMMENT
LOWsrc/ng/directive/ngRepeat.js521 // iterator, and the value is objects with following properties.COMMENT
LOWsrc/ng/directive/select.js161COMMENT
Slop Phrases3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMsrc/ng/sce.js805 * That said, here's how you can completely disable SCE:COMMENT
MEDIUMsrc/ng/sce.js809 * // Completely disable SCE. For demonstration purposes only!COMMENT
MEDIUMsrc/ngResource/resource.js372 * It's worth noting that the success callback for `get`, `query` and other methods gets called withCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.circleci/env-helpers.inc.sh41# Create a function to set an environment variable, when called.COMMENT