AI Slop Code Risk Monitor

GoogleChrome/chrome-extensions-samples

SlopCodeMonitor badge for GoogleChrome/chrome-extensions-samples Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Chrome Extensions Samples

1.2 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for GoogleChrome/chrome-extensions-samples, a JavaScript project with 17,832 GitHub stars. SynthScan examined 371,766 lines of code across 2353 source files, recording 310 pattern matches distributed across 16 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.

1.2
Adjusted Signal
1.2
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
17.8K
Stars
JavaScript
Language
371.8K
Lines of Code
2.4K
Files
310
Pattern Hits
2026-10-31
Scan Date
0.01
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-10-31.

Cognitive Ownership Risk 3.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.9/100 · LOW

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

Agent Over-Engineering Ratio 1.1/100 · LOW

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

PR Review Velocity Impact 5.9/100 · LOW

Which changes need focused human review? 310 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

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.

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 9HIGH 4MEDIUM 21LOW 276

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 310 distinct pattern matches across 16 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.

Over-Commented Block169 hits · 169 pts
SeverityFileLineSnippetContext
LOW…les/declarativeNetRequest/no-cookies/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOW…s/declarativeNetRequest/url-redirect/service_worker.js1// Copyright 2023 Google LLCCOMMENT
LOW…es/declarativeNetRequest/url-blocker/service_worker.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/scripting/index.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/scripting/content-script.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/scripting/sw.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/privacy/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/browsingData/popup.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/browsingData/popup.css1/**COMMENT
LOWapi-samples/readingList/index.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/readingList/sw.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/richNotification/popup.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/printing/background.js1// Copyright 2023 Google LLCCOMMENT
LOW…/fontSettings/fontSettings Advanced/pending_changes.js1/// Copyright 2023 Google LLCCOMMENT
LOW…-samples/fontSettings/fontSettings Advanced/options.js1/* eslint-disable no-unused-vars */COMMENT
LOW…i-samples/fontSettings/fontSettings Advanced/slider.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/fontSettings/fontSettings Advanced/js/cr.js1/* eslint-disable no-undef */COMMENT
LOW…samples/fontSettings/fontSettings Advanced/js/cr/ui.js1/* eslint-disable no-undef */COMMENT
LOW…fontSettings/fontSettings Advanced/js/cr/ui/overlay.js1/* eslint-disable no-undef */COMMENT
LOWapi-samples/fontSettings/fontSettings Basic/popup.js1// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
LOWapi-samples/bookmarks/popup.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/devtools/inspectedWindow/panel.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/devtools/inspectedWindow/devtools.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/devtools/panels/devtools.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/sandbox/sandboxed-content/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/sandbox/sandbox/mainpage.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/sandbox/sandbox/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/history/showHistory/popup.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/contentSettings/popup.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/commands/popup.js1// Copyright 2025 Google LLCCOMMENT
LOWapi-samples/commands/background.js1// Copyright 2025 Google LLCCOMMENT
LOWapi-samples/windows/background.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/topSites/magic8ball/newTab.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/webRequest/http-auth/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/contextMenus/basic/sample.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/userScripts/user-script.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/userScripts/options.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/userScripts/sw.js1// Copyright 2023 Google LLCCOMMENT
LOWapi-samples/webNavigation/basic/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOWfunctional-samples/sample.text-replacer/popup.js1// Copyright 2026 Google LLCCOMMENT
LOWfunctional-samples/sample.text-replacer/background.js1// Copyright 2026 Google LLCCOMMENT
LOWfunctional-samples/sample.text-replacer/content.js1// Copyright 2026 Google LLCCOMMENT
LOW…-samples/sample.bookmarks/third-party/jquery-1.12.4.js1201COMMENT
LOW…mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js8041 // Some browsers only repeat keydown events, not keypress events,COMMENT
LOWfunctional-samples/cookbook.file_handlers/view-file.js1// Copyright 2023 Google LLCCOMMENT
LOWfunctional-samples/tutorial.focus-mode/background.js1// Copyright 2022 Google LLCCOMMENT
LOW…onal-samples/cookbook.sidepanel-open/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOW…tional-samples/sample.tabcapture-recorder/offscreen.js1// Copyright 2023 Google LLCCOMMENT
LOW…l-samples/sample.tabcapture-recorder/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOWfunctional-samples/tutorial.tabs-manager/popup.js1// Copyright 2022 Google LLCCOMMENT
LOWfunctional-samples/tutorial.broken-color/popup.js1// Copyright 2023 Google LLCCOMMENT
LOWfunctional-samples/tutorial.broken-color/options.js1// Copyright 2023 Google LLCCOMMENT
LOW…tional-samples/tutorial.broken-color/service-worker.js1// Copyright 2018 Google LLCCOMMENT
LOW…ional-samples/tutorial.reading-time/scripts/content.js1// Copyright 2022 Google LLCCOMMENT
LOW…-samples/cookbook.sidepanel-multiple/service-worker.js1// Copyright 2023 Google LLCCOMMENT
LOWfunctional-samples/cookbook.offscreen-dom/background.js1// Copyright 2023 Google LLCCOMMENT
LOWfunctional-samples/cookbook.offscreen-dom/offscreen.js1// Copyright 2023 Google LLCCOMMENT
LOW…ookbook.permissions-addhostaccessrequest/background.js1// Copyright 2024 Google LLCCOMMENT
LOWfunctional-samples/sample.milestones/popup.js1// Copyright 2022 Google LLCCOMMENT
LOW…al-samples/tutorial.focus-mode-debugging/background.js1// Copyright 2023 Google LLCCOMMENT
109 more matches not shown…
Hallucination Indicators9 hits · 90 pts
SeverityFileLineSnippetContext
CRITICALapi-samples/printing/printers.js103 return printerInfo.capabilities.printer.media_size.option.find(CODE
CRITICALapi-samples/printing/printers.js121 printer.info.capabilities.printer.vendor_capability.some(CODE
CRITICALapi-samples/devtools/panels/devtools.js34 chrome.devtools.panels.elements.onSelectionChanged.addListener(CODE
CRITICAL…-samples/sample.bookmarks/third-party/jquery-1.12.4.js8517jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( i, name ) {CODE
CRITICAL…xtensions/proxy_configuration/proxy_form_controller.js424 t.parentNode.parentNode.parentNode.classList.contains('active')CODE
CRITICAL…chive/mv2/api/devtools/panels/chrome-query/devtools.js24 chrome.devtools.panels.elements.onSelectionChanged.addListener(CODE
CRITICAL…es/managed-in-app-payments/scripts/jquery-2.0.3.min.js5};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.CODE
CRITICAL…apps/samples/identity/sample_support/sample_support.js32 this.log_area.ownerDocument.defaultView.console.log(CODE
CRITICAL…ve/apps/samples/window-options/js/jquery-1.10.1.min.js5}),n=s=l=u=r=o=null,t}({});var B=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;function R(e,n,r,i){if(x.acceptData(e)){varCODE
Hyper-Verbose Identifiers63 hits · 65 pts
SeverityFileLineSnippetContext
LOWapi-samples/scripting/index.js17async function isDynamicContentScriptRegistered() {CODE
LOWapi-samples/privacy/service-worker.js25async function updateAutofillEnabledStatus(toggle = false) {CODE
LOW…i-samples/downloads/download_manager/service-worker.js24function drawUnknownProgressSpinner(ctx) {CODE
LOW…-samples/sample.bookmarks/third-party/jquery-1.12.4.js9115function addToPrefiltersOrTransports( structure ) {CODE
LOW…-samples/sample.bookmarks/third-party/jquery-1.12.4.js9149function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {CODE
LOW…amples/ai.gemini-on-device-calendar-mate/background.js108function extractTextBetweenCurlyBraces(str) {CODE
LOWfunctional-samples/cookbook.offscreen-dom/background.js24async function sendMessageToOffscreenDocument(type, data) {CODE
LOWfunctional-samples/cookbook.offscreen-dom/background.js63async function handleAddExclamationMarkResult(dom) {CODE
LOWfunctional-samples/cookbook.offscreen-dom/offscreen.js39function addExclamationMarksToHeadings(htmlString) {CODE
LOWfunctional-samples/cookbook.push/background.js19async function subscribeUserVisibleOnlyFalse() {CODE
LOWfunctional-samples/cookbook.push/background.js38function logSubscriptionDataToConsole(subscription) {CODE
LOW_archive/mv2/extensions/speak_selection/tabs.js20function loadContentScriptInAllTabs() {CODE
LOW…ve/mv2/extensions/irc/servlet/jstemplate/jstemplate.js914function jstLoadTemplateIfNotPresent(doc, name, loadHtmlFn, opt_target) {CODE
LOW_archive/mv2/extensions/talking_alarm_clock/common.js142function speakPhraseWithTimeString(timeString) {CODE
LOW_archive/mv2/extensions/talking_alarm_clock/common.js148function speakPhraseWithCurrentTime() {CODE
LOW_archive/mv2/extensions/buildbot/popup.js98function createPatchsetStatusElement(patchset) {CODE
LOW_archive/mv2/extensions/buildbot/popup.js121function getLastFullPatchsetWithTryJobs(issue) {CODE
LOW_archive/mv2/extensions/plugin_settings/domui/js/cr.js35 function enablePlatformSpecificCSSRules() {CODE
LOW_archive/mv2/api/tabs/inspector/jstemplate_compiled.js460function domCreateDocumentFragment(doc) {CODE
LOW…ve/mv2/api/preferences/allowThirdPartyCookies/popup.js114function setUseSeparateIncognitoSettings(value) {CODE
LOW_archive/mv2/api/preferences/enableReferrer/popup.js114function setUseSeparateIncognitoSettings(value) {CODE
LOW_archive/mv2/api/displaySource/tabCast/background.js51function captureTabAndStartSession(sink_id) {CODE
LOW…chive/mv2/api/downloads/download_manager/background.js36function drawUnknownProgressSpinner(ctx) {CODE
LOW_archive/mv2/api/cookies/manager.js153function scheduleReloadCookieTable() {CODE
LOW…rchive/apps/samples/webgl-pointer-lock/js/three.min.js15597 function materialNeedsSmoothNormals ( material ) {CODE
LOW…rchive/apps/samples/webgl-pointer-lock/js/three.min.js15625 function bufferGuessVertexColorType ( material ) {CODE
LOW…rchive/apps/samples/webgl-pointer-lock/js/three.min.js18752 function unrollImmediateBufferMaterial ( globject ) {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js6796 function getUnknownTagGenericBrowser(object, tag) {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js8300 function SecurityPolicyViolationEvent() {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js8912 function FEComponentTransferElement() {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js9146 function FESpecularLightingElement() {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js9746 function OfflineAudioCompletionEvent() {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js10635 function EfficientLengthMappedIterable(_iterable, _f) {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js11690 function ConcurrentModificationError(modifiedObject) {CODE
LOW…chive/apps/samples/dart/dart/clock.dart.precompiled.js11709 function CyclicInitializationError(variableName) {CODE
LOW…ive/apps/samples/webview-samples/user-agent/browser.js375 function findBoxObscuresActiveMatch(findBoxRect, matchRect) {CODE
LOW…bview-samples/multi-tab-browser/find_box_controller.js114 function containerElementObscuresActiveMatch(findBoxRect, matchRect) {CODE
LOW…bview-samples/multi-tab-browser/find_box_controller.js137 function setWebviewFindUpdateHandler() {CODE
LOW…rchive/apps/samples/webview-samples/browser/browser.js267function findBoxObscuresActiveMatch(findBoxRect, matchRect) {CODE
LOW_archive/apps/samples/diff/js/filesystem.js111function registerMenulistitemClicks() {CODE
LOW_archive/apps/samples/diff/lib/diff_match_patch_test.js161 function assertLinesToCharsResultEquals(a, b) {CODE
LOW_archive/apps/samples/diff/lib/diff_match_patch_test.js277function testDiffCleanupSemanticLossless() {CODE
LOW_archive/apps/samples/diff/lib/diff_match_patch_test.js378function testDiffCleanupEfficiency() {CODE
LOW_archive/apps/samples/gdrive/js/app.js71 function successCallbackWithFsCaching(resp, status, headers, config) {CODE
LOW⚡_archive/apps/samples/text-editor/editor.js75function replaceDocContentsFromString(string) {CODE
LOW⚡_archive/apps/samples/text-editor/editor.js79function replaceDocContentsFromFile(file) {CODE
LOW⚡_archive/apps/samples/text-editor/editor.js89function replaceDocContentsFromFileEntry() {CODE
LOW…/apps/samples/text-editor/lib/ace/edit_session_test.js377 function computeAndAssert(line, assertEqual, wrapLimit, tabSize) {CODE
LOW…e/apps/samples/text-editor/lib/ace/narcissus/parser.js70function pushDestructuringVarDecls(n, s) {CODE
LOW_archive/apps/samples/window-state/window.js226function updateCurrentStateReadout() {CODE
LOW_archive/apps/samples/weather/weather.js353function attemptAddCurrentLocation() {CODE
LOW_archive/apps/samples/appsquare/main.js29 function fetchCheckinsWithLocation(opt_location) {CODE
LOW⚡_archive/apps/samples/window-options/window.js112function updateCurrentStateReadout() {CODE
LOW_archive/apps/samples/image-edit/app.js222function getCropSquareHandlesInCanvasCoords() {CODE
LOW_archive/apps/samples/clock/script.js356function getCurrentPosSuccessFunction(position) {CODE
LOW_archive/apps/samples/clock/script.js375function getCurrentPosErrorFunction(error) {CODE
LOW_archive/apps/samples/clock/tests/lib/prototype.js2443 function getContentFromAnonymousElement(tagName, html, force) {CODE
LOW_archive/apps/samples/clock/tests/lib/prototype.js3251 function checkElementPrototypeDeficiency(tagName) {CODE
LOW_archive/apps/samples/clock/tests/lib/prototype.js6413 function destroyRegistryForElement(element, uid) {CODE
LOW_archive/apps/samples/clock/tests/lib/prototype.js6517 function stopObservingStandardEvent(element, eventName, responder) {CODE
3 more matches not shown…
Fake / Example Data27 hits · 30 pts
SeverityFileLineSnippetContext
LOWapi-samples/downloads/download_manager/popup.js21 setProperty('#q', 'placeholder', 'searchPlaceholder');CODE
LOW…mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js17347 element.data( dataSpace + "placeholder", placeholder );CODE
LOW…mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js17360 var dataKey = dataSpace + "placeholder",CODE
LOW_archive/mv2/extensions/gdocs/popup.html135 .attr('placeholder', 'N/A for presentations');CODE
LOW_archive/mv2/extensions/gdocs/popup.html138 .attr('placeholder', 'Enter document content');CODE
LOW_archive/mv2/api/downloads/download_manager/popup.js23 setProperty('#q', 'placeholder', 'searchPlaceholder');CODE
LOW…s/samples/webview-samples/local-resources/trusted.html8 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quisCODE
LOW…s/samples/webview-samples/local-resources/trusted.html8 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris quisCODE
LOW…pps/samples/text-editor/lib/ace/token_iterator_test.js107 "Lorem ipsum dolor sit amet, consectetur adipisicing elit,",CODE
LOW…pps/samples/text-editor/lib/ace/token_iterator_test.js107 "Lorem ipsum dolor sit amet, consectetur adipisicing elit,",CODE
LOW⚡…-editor/lib/ace/editor_highlight_selected_word_test.js52var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOW⚡…-editor/lib/ace/editor_highlight_selected_word_test.js52var lipsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. " +CODE
LOW⚡…-editor/lib/ace/editor_highlight_selected_word_test.js62 "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " +CODE
LOW⚡…-editor/lib/ace/editor_highlight_selected_word_test.js62 "accumsan.Lorem ipsum dolor sit amet, consectetur adipiscing " +CODE
LOW…ive/apps/samples/mini-code-edit/cm/mode/rst/index.html405 Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_CODE
LOW…ive/apps/samples/mini-code-edit/cm/mode/rst/index.html405 Lorem ipsum [#f1]_ dolor sit amet ... [#f2]_CODE
LOW…ive/apps/samples/mini-code-edit/cm/mode/rst/index.html423 Lorem ipsum [Ref]_ dolor sit amet.CODE
LOW…ive/apps/samples/mini-code-edit/cm/mode/rst/index.html423 Lorem ipsum [Ref]_ dolor sit amet.CODE
LOW…s/samples/bluetooth-samples/battery-service-demo/ui.js82 var placeHolder = document.getElementById('placeholder');CODE
LOW…mples/bluetooth-samples/battery-service-demo/main.html23 <option id="placeholder" value="" disabled selected>CODE
LOW…/apps/samples/bluetooth-samples/device-info-demo/ui.js104 var placeHolder = document.getElementById('placeholder');CODE
LOW…s/samples/bluetooth-samples/device-info-demo/main.html23 <option id="placeholder" value="" disabled selected>CODE
LOW…apps/samples/bluetooth-samples/heart-rate-sensor/ui.js87 var placeHolder = document.getElementById('placeholder');CODE
LOW…/samples/bluetooth-samples/heart-rate-sensor/main.html23 <option id="placeholder" value="" disabled selected>CODE
LOW_archive/apps/samples/window-options/window.js22 value = $('#' + numberEdit).attr('placeholder');CODE
LOW⚡_archive/apps/samples/window-options/window.js116 setBounds(win.innerBounds, 'inner', 'placeholder');CODE
LOW⚡_archive/apps/samples/window-options/window.js117 setBounds(win.outerBounds, 'outer', 'placeholder');CODE
AI Slop Vocabulary10 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUM…/fontSettings/fontSettings Advanced/pending_changes.js14// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
MEDIUM…-samples/fontSettings/fontSettings Advanced/options.js3// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
MEDIUM…i-samples/fontSettings/fontSettings Advanced/slider.js14// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
MEDIUMapi-samples/fontSettings/fontSettings Advanced/js/cr.js4// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
MEDIUM…samples/fontSettings/fontSettings Advanced/js/cr/ui.js2// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
MEDIUM…fontSettings/fontSettings Advanced/js/cr/ui/overlay.js2// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
MEDIUMapi-samples/fontSettings/fontSettings Basic/popup.js1// Ported from MV2 samples. Some coding practices are non-standard in MV3, but the sample remains a robust demonstrationCOMMENT
MEDIUM…-samples/sample.bookmarks/third-party/jquery-1.12.4.js10961// understands anonymous AMD modules. A named AMD is safest and most robustCOMMENT
MEDIUM…chive/apps/samples/mini-code-edit/cm/lib/codemirror.js33 '<pre class="CodeMirror-cursor">&#160;</pre>' + // Absolutely positioned blinky cursorCODE
MEDIUM…chive/apps/samples/mini-code-edit/cm/lib/codemirror.js33 '<pre class="CodeMirror-cursor">&#160;</pre>' + // Absolutely positioned blinky cursorCODE
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html40# --------------COMMENT
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html109# --------------------COMMENT
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html282# ---------------COMMENT
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html391# ------------------COMMENT
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html450# ----------------COMMENT
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html583# -----------------COMMENT
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html667# ---------------------COMMENT
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…l-samples/cookbook.wasm-helloworld-print/background.js12 print();CODE
HIGH…chive/apps/samples/dart/dart/clock.dart.precompiled.js6518 print(string);CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html92# Create a safe reference to the Underscore object for use below.COMMENT
MEDIUM…samples/mini-code-edit/cm/mode/coffeescript/index.html393# Create a function bound to a given object (assigning `this`, and arguments,COMMENT
MEDIUM…ve/apps/samples/mini-code-edit/cm/mode/ruby/index.html82# Create a string of the polynomial in sort-of-readable form.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js10941 // Format a name, short or long as requestedCOMMENT
Unused Imports6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ps/samples/appengine-channelapi/appengine/chatactoe.py13CODE
LOW…ps/samples/appengine-channelapi/appengine/chatactoe.py14CODE
LOW…ps/samples/appengine-channelapi/appengine/chatactoe.py15CODE
LOW…ps/samples/appengine-channelapi/appengine/chatactoe.py16CODE
LOW…ps/samples/appengine-channelapi/appengine/chatactoe.py19CODE
LOW…ps/samples/appengine-channelapi/appengine/chatactoe.py24CODE
Overly Generic Function Names5 hits · 5 pts
SeverityFileLineSnippetContext
LOW_archive/apps/samples/web-store/js/zip/zip.js186 function getData(callback, onerror) {CODE
LOW_archive/apps/samples/web-store/js/zip/zip.js295 function getData(callback, onerror) {CODE
LOW_archive/apps/samples/web-store/js/zip/zip.js333 function getData(callback) {CODE
LOW_archive/apps/samples/web-store/js/zip/zip.js366 function getData(callback) {CODE
LOW_archive/apps/samples/web-store/js/zip/zip.js394 function getData(callback) {CODE
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH_archive/apps/samples/gcm-notifications/register.js41 apiKey = "YOUR_API_KEY";CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…/apps/samples/text-editor/lib/ace/edit_session_test.js811 // TODO: Add test for inseration inside of folds.COMMENT
LOW…hive/apps/samples/io2012-presentation/js/slide-deck.js155 // TODO: implement refresh on main slides when popup is refreshed.COMMENT
LOW_archive/apps/samples/mdns-browser/dns.js217 // TODO: implement .bytes()COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOW.repo/sample-list-generator/src/libs/api-detector.ts135 // So we need to check if the first two parts combined is a valid namespace.COMMENT
LOW…mples/sample.bookmarks/third-party/jquery-ui-1.12.1.js14321 // IE sets focus asynchronously, so we need to check if focusCOMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM_archive/apps/samples/dojo/Markdown_1.0.1/Markdown.pl472 # Must come after _DoAnchors(), because you can use < and >COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ve/apps/samples/mini-code-edit/cm/mode/ruby/index.html87 # Assign exponents to each term, making pairs of coeff and exponent,COMMENT