A JavaScript checker and optimizer.
This report summarizes scanner evidence for google/closure-compiler, a JavaScript project with 7,700 GitHub stars. SynthScan examined 1,481,378 lines of code across 1766 source files, recording 481 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 390 finding(s).
Are imports declared and package/API names verified? 33 finding(s).
Are wrappers, guards, and repeated structures necessary? 244 finding(s).
Which changes need focused human review? 481 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 481 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/google/javascript/jscomp/FunctionTypeBuilderTest.java | 0 | inconsistent return type found : number required: string | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | inconsistent return type found : number required: string | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckNoTranspileTest.java | 0 | inconsistent return type found : number required: string | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckTemplatizedTest.java | 0 | inconsistent return type found : number required: string | STRING |
| HIGH | …/google/javascript/jscomp/FunctionTypeBuilderTest.java | 0 | initializing variable found : boolean required: (null|string) | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | initializing variable found : boolean required: (null|string) | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckNoTranspileTest.java | 0 | initializing variable found : boolean required: (null|string) | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckTemplatizedTest.java | 0 | initializing variable found : boolean required: (null|string) | STRING |
| HIGH | …com/google/javascript/jscomp/TypeCheckSymbolsTest.java | 0 | initializing variable found : boolean required: (null|string) | STRING |
| HIGH | …ogle/javascript/jscomp/TypeCheckBugsAndIssuesTest.java | 0 | initializing variable found : boolean required: (null|string) | STRING |
| HIGH | …com/google/javascript/jscomp/RemoveUnusedCodeTest.java | 0 | /** @constructor */ function foo() {} foo.prototype.handle = function(x, y) { alert(y); }; var x = goog.reflect.object(f | STRING |
| HIGH | …om/google/javascript/jscomp/CommandLineRunnerTest.java | 0 | /** @constructor */ function foo() {} foo.prototype.handle = function(x, y) { alert(y); }; var x = goog.reflect.object(f | STRING |
| HIGH | …le/javascript/jscomp/OptimizeCallsIntegrationTest.java | 0 | /** @constructor */ function foo() {} foo.prototype.handle = function(x, y) { alert(y); }; var x = goog.reflect.object(f | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckTemplatizedTest.java | 0 | restricted index type found : string required: number | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | restricted index type found : string required: number | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckNoTranspileTest.java | 0 | restricted index type found : string required: number | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckTemplatizedTest.java | 0 | initializing variable found : null required: (number|string) | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | initializing variable found : null required: (number|string) | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckNoTranspileTest.java | 0 | initializing variable found : null required: (number|string) | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckTemplatizedTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | …ogle/javascript/jscomp/TypeCheckBugsAndIssuesTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckNoTranspileTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | …ogle/javascript/jscomp/OptionalChainTypeCheckTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | …ipt/jscomp/TypeCheckAbstractClassesAndMethodsTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | …com/google/javascript/jscomp/TypeCheckSymbolsTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | …ascript/jscomp/integration/ClosureIntegrationTest.java | 0 | actual parameter 3 of tag does not match formal parameter found : string required: number | STRING |
| HIGH | …google/javascript/jscomp/ClosureRewriteModuleTest.java | 0 | goog.module('a.b.c'); goog.module.declarelegacynamespace(); exports = class {}; | STRING |
| HIGH | …ript/jscomp/ProcessClosureProvidesAndRequiresTest.java | 0 | goog.module('a.b.c'); goog.module.declarelegacynamespace(); exports = class {}; | STRING |
| HIGH | …javascript/jscomp/ijs/ConvertToTypedInterfaceTest.java | 0 | goog.module('a.b.c'); goog.module.declarelegacynamespace(); exports = class {}; | STRING |
| HIGH | …javascript/jscomp/Es6TranspilationIntegrationTest.java | 0 | /** @constructor */ var c = function() {}; /** @abstract */ c.prototype.foo = function() {}; | STRING |
| HIGH | …/com/google/javascript/jscomp/Es6RewriteClassTest.java | 0 | /** @constructor */ var c = function() {}; /** @abstract */ c.prototype.foo = function() {}; | STRING |
| HIGH | …ipt/jscomp/TypeCheckAbstractClassesAndMethodsTest.java | 0 | /** @constructor */ var c = function() {}; /** @abstract */ c.prototype.foo = function() {}; | STRING |
| HIGH | …javascript/jscomp/Es6TranspilationIntegrationTest.java | 0 | class object {} class foo extends object { /** @param {string} msg */ constructor(msg) { super(); this.msg = msg; } } | STRING |
| HIGH | …/com/google/javascript/jscomp/Es6RewriteClassTest.java | 0 | class object {} class foo extends object { /** @param {string} msg */ constructor(msg) { super(); this.msg = msg; } } | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckNoTranspileTest.java | 0 | class object {} class foo extends object { /** @param {string} msg */ constructor(msg) { super(); this.msg = msg; } } | STRING |
| HIGH | …javascript/jscomp/Es6TranspilationIntegrationTest.java | 0 | /** @constructor */ function externsclass() {} externsclass.m = function() {}; | STRING |
| HIGH | …jscomp/ConcretizeStaticInheritanceForInliningTest.java | 0 | /** @constructor */ function externsclass() {} externsclass.m = function() {}; | STRING |
| HIGH | …/com/google/javascript/jscomp/Es6RewriteClassTest.java | 0 | /** @constructor */ function externsclass() {} externsclass.m = function() {}; | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | no properties on this expression found : undefined required: object | STRING |
| HIGH | …ogle/javascript/jscomp/TypeCheckBugsAndIssuesTest.java | 0 | no properties on this expression found : undefined required: object | STRING |
| HIGH | …ogle/javascript/jscomp/OptionalChainTypeCheckTest.java | 0 | no properties on this expression found : undefined required: object | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | no properties on this expression found : null required: object | STRING |
| HIGH | …ogle/javascript/jscomp/TypeCheckBugsAndIssuesTest.java | 0 | no properties on this expression found : null required: object | STRING |
| HIGH | …ogle/javascript/jscomp/OptionalChainTypeCheckTest.java | 0 | no properties on this expression found : null required: object | STRING |
| HIGH | test/com/google/javascript/jscomp/TypeCheckTest.java | 0 | /** @constructor */ function element() {}; /** * @type {string} * @implicitcast */ element.prototype.innerhtml; | STRING |
| HIGH | test/com/google/javascript/jscomp/CheckJsDocTest.java | 0 | /** @constructor */ function element() {}; /** * @type {string} * @implicitcast */ element.prototype.innerhtml; | STRING |
| HIGH | …google/javascript/jscomp/TypeCheckNoTranspileTest.java | 0 | /** @constructor */ function element() {}; /** * @type {string} * @implicitcast */ element.prototype.innerhtml; | STRING |
| HIGH | test/com/google/javascript/jscomp/CompilerTest.java | 0 | var x = (function () { function x(input) { this.y = input; } return x; }()); console.log(new x(1)); //# sourcemappingurl | STRING |
| HIGH | …pt/jscomp/serialization/SerializeTypedAstPassTest.java | 0 | var x = (function () { function x(input) { this.y = input; } return x; }()); console.log(new x(1)); //# sourcemappingurl | STRING |
| HIGH | …comp/serialization/SerializeAndDeserializeAstTest.java | 0 | var x = (function () { function x(input) { this.y = input; } return x; }()); console.log(new x(1)); //# sourcemappingurl | STRING |
| HIGH | …t/com/google/javascript/jscomp/parsing/ParserTest.java | 0 | var x = (function () { function x(input) { this.y = input; } return x; }()); console.log(new x(1)); //# sourcemappingurl | STRING |
| HIGH | test/com/google/javascript/jscomp/AstValidatorTest.java | 0 | class c { } class d extends c { constructor() { super(); } } | STRING |
| HIGH | …/com/google/javascript/jscomp/Es6RewriteClassTest.java | 0 | class c { } class d extends c { constructor() { super(); } } | STRING |
| HIGH | …oogle/javascript/refactoring/ErrorToFixMapperTest.java | 0 | class c { } class d extends c { constructor() { super(); } } | STRING |
| HIGH | …javascript/jscomp/integration/IntegrationTestCase.java | 0 | expected no warnings or errors errors: %s warnings: %s | STRING |
| HIGH | …omp/integration/ClosureUnawareCodeIntegrationTest.java | 0 | expected no warnings or errors errors: %s warnings: %s | STRING |
| HIGH | …/integration/AdvancedOptimizationsIntegrationTest.java | 0 | expected no warnings or errors errors: %s warnings: %s | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | release.sh | 1 | #!/bin/bash -i | COMMENT |
| LOW | build_test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …google/javascript/jscomp/Es6RewriteGeneratorsTest.java | 401 | // When Es6RewriteGenerators recognizes that it is transpiling code that was | COMMENT |
| LOW | test/com/google/javascript/jscomp/JSChunkGraphTest.java | 201 | // / \ | COMMENT |
| LOW | …com/google/javascript/jscomp/RenamePropertiesTest.java | 1101 | #method() { return this.#field; } | COMMENT |
| LOW | test/com/google/javascript/jscomp/CodePrinterTest.java | 3661 | assertPrintSame("class C{static #f;static #m(){const t=this;t?.#f}}"); | COMMENT |
| LOW | …t/com/google/javascript/jscomp/MissingProvideTest.java | 41 | COMMENT | |
| LOW | …t/com/google/javascript/jscomp/MissingProvideTest.java | 61 | // module var goog.require module missing fail | COMMENT |
| LOW | …le/javascript/jscomp/FixedPointGraphTraversalTest.java | 61 | FixedPointGraphTraversal.newTraversal(callback); | COMMENT |
| LOW | …ogle/javascript/jscomp/InstrumentAsyncContextTest.java | 121 | options.setWarningLevel(DiagnosticGroups.MISSING_POLYFILL, CheckLevel.WARNING); | COMMENT |
| LOW | …ogle/javascript/jscomp/InstrumentAsyncContextTest.java | 161 | } finally { | COMMENT |
| LOW | …ogle/javascript/jscomp/InstrumentAsyncContextTest.java | 621 | """); | COMMENT |
| LOW | …com/google/javascript/jscomp/AstManipulationsTest.java | 81 | // NUMBER 1 | COMMENT |
| LOW | …jscomp/ConcretizeStaticInheritanceForInliningTest.java | 181 | @Test | COMMENT |
| LOW | test/com/google/javascript/jscomp/CompilerTest.java | 1641 | // Stage 3 | COMMENT |
| LOW | …script/jscomp/RemoveUnusedCodeClassPropertiesTest.java | 901 | class C { | COMMENT |
| LOW | …script/jscomp/RemoveUnusedCodeClassPropertiesTest.java | 961 | } | COMMENT |
| LOW | …javascript/jscomp/PeepholeReplaceKnownMethodsTest.java | 381 | @Test | COMMENT |
| LOW | …javascript/jscomp/PeepholeReplaceKnownMethodsTest.java | 401 | // - ''.at(-1) -> void 0 | COMMENT |
| LOW | …/com/google/javascript/jscomp/ReplaceMessagesTest.java | 61 | }; | COMMENT |
| LOW | …/com/google/javascript/jscomp/ReplaceMessagesTest.java | 2781 | builderB.appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.OTHER, "name"); | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 6401 | // defined by the specification to run immediately after super() returns and binds `this`. | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 6441 | COMMENT | |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 6501 | // ES2022 Specification: | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 6561 | } catch (e) { | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 6961 | public void testForwardPrivateFieldWrite_knownBug() { | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 7021 | // comma operator drops the receiver, so `(0, this.#m)` gets `undefined` as `this` when called | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 7081 | // throw a TypeError: "Cannot assign to private method #connect". | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 7101 | """, | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 7501 | // returns, and accessing a missing private field throws. | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 7541 | @Test | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 7581 | """); | COMMENT |
| LOW | …/google/javascript/jscomp/RewriteClassMembersTest.java | 7621 | return PRIVATE_MAP$0.get(o).later; | COMMENT |
| LOW | test/com/google/javascript/jscomp/AstAnalyzerTest.java | 741 | // but `#x in o` doesn't. A private read throws a TypeError if the object has no `#x`, | COMMENT |
| LOW | …script/jscomp/integration/TypedAstIntegrationTest.java | 121 | COMMENT | |
| LOW | …gle/javascript/jscomp/integration/IntegrationTest.java | 4881 | */ | COMMENT |
| LOW | …vascript/jscomp/integration/ES2022IntegrationTest.java | 1341 | checkTypes.setCheckTypes(true); | COMMENT |
| LOW | …cript/jscomp/disambiguate/AmbiguatePropertiesTest.java | 1741 | // `a`. Renaming `#field` to `a` would turn the private field into a public property that any | COMMENT |
| LOW | test/com/google/javascript/rhino/JSDocInfoTest.java | 461 | COMMENT | |
| LOW | test/com/google/javascript/rhino/jstype/JSTypeTest.java | 5581 | COMMENT | |
| LOW | …st/com/google/javascript/refactoring/MatchersTest.java | 121 | // TODO(mknichel): Make this test case work. | COMMENT |
| LOW | .github/workflows/run_tests.yaml | 1 | # Copyright 2020 Google LLC | COMMENT |
| LOW | .github/workflows/release.yaml | 1 | # Copyright 2025 Google LLC | COMMENT |
| LOW | .github/workflows/scorecard.yml | 41 | # - name: "Run analysis" | COMMENT |
| LOW | .github/ci_support/test_closure-compiler-npm.sh | 1 | #!/bin/bash | COMMENT |
| LOW | .github/ci_support/test_closure-compiler-npm.sh | 21 | # | COMMENT |
| LOW | .github/ci_support/tag_release_version.sh | 41 | # Expect input lines in the form: | COMMENT |
| LOW | …om/google/debugging/sourcemap/SourceMapConsumerV3.java | 101 | // and a separator, for a minimum of 6 characters. | COMMENT |
| LOW | …/com/google/javascript/jscomp/Es6NormalizeClasses.java | 401 | Node statement = NodeUtil.getEnclosingStatement(parent); | COMMENT |
| LOW | …/com/google/javascript/jscomp/Es6NormalizeClasses.java | 421 | // OR | COMMENT |
| LOW | …om/google/javascript/jscomp/OptionalChainRewriter.java | 181 | chainParent.addChildToFront(dotCallNode); | COMMENT |
| LOW | …/com/google/javascript/jscomp/DevirtualizeMethods.java | 341 | // `OptimizeCalls::ReferenceMap::isCallTarget`. | COMMENT |
| LOW | src/com/google/javascript/jscomp/DefaultPassConfig.java | 761 | /** | COMMENT |
| LOW | src/com/google/javascript/jscomp/DefaultPassConfig.java | 781 | // x = x + ' '; | COMMENT |
| LOW | src/com/google/javascript/jscomp/DefaultPassConfig.java | 1021 | // Place one-time marker passes around this loop to prevent the addition of a looping pass | COMMENT |
| LOW | src/com/google/javascript/jscomp/DefaultPassConfig.java | 1041 | if (!options.getReplaceStringsFunctionDescriptions().isEmpty()) { | COMMENT |
| LOW | …c/com/google/javascript/jscomp/TemplateAstMatcher.java | 421 | paramNodeMatches.set(paramIndex, ast); | COMMENT |
| LOW | …m/google/javascript/jscomp/InstrumentAsyncContext.java | 321 | // *m$jscomp$123(ᵃᶜfactory, a, {b: c=1}, d=2, ...e) { | COMMENT |
| LOW | …ogle/javascript/jscomp/AnalyzePrototypeProperties.java | 61 | ImmutableSet.of("length", "toString", "valueOf"); | COMMENT |
| LOW | …ogle/javascript/jscomp/AnalyzePrototypeProperties.java | 601 | // // externs.js | COMMENT |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | externs/browser/html5.js | 146 | function CanvasCaptureMediaStreamTrack() {} | CODE |
| LOW | externs/browser/html5.js | 1419 | function StructuredSerializeOptions() {} | CODE |
| LOW | externs/browser/html5.js | 1921 | function DedicatedWorkerGlobalScope() {} | CODE |
| LOW | externs/browser/html5.js | 4404 | function XMLHttpRequestEventTarget() {} | CODE |
| LOW | externs/browser/html5.js | 6705 | function SecurityPolicyViolationEvent( | CODE |
| LOW | externs/browser/html5.js | 6754 | function SecurityPolicyViolationEventInit() {} | CODE |
| LOW | externs/browser/w3c_anim_timing.js | 43 | function cancelRequestAnimationFrame(handle) {}; | CODE |
| LOW⚡ | externs/browser/nonstandard_anim_timing.js | 27 | function webkitRequestAnimationFrame(callback, opt_element) {}; | CODE |
| LOW⚡ | externs/browser/nonstandard_anim_timing.js | 33 | function webkitCancelRequestAnimationFrame(handle) {}; | CODE |
| LOW⚡ | externs/browser/nonstandard_anim_timing.js | 39 | function webkitCancelAnimationFrame(handle) {}; | CODE |
| LOW | externs/browser/nonstandard_anim_timing.js | 53 | function mozCancelRequestAnimationFrame(handle) {}; | CODE |
| LOW | externs/browser/nonstandard_anim_timing.js | 72 | function msCancelRequestAnimationFrame(handle) {}; | CODE |
| LOW | externs/browser/nonstandard_anim_timing.js | 91 | function oCancelRequestAnimationFrame(handle) {}; | CODE |
| LOW | externs/browser/wicg_attribution_reporting.js | 28 | function AttributionReportingRequestOptions() {} | CODE |
| LOW | externs/browser/whatwg_bitmap_context.js | 27 | function ImageBitmapRenderingContext() {} | CODE |
| LOW | externs/browser/streamsapi.js | 46 | function TransformStreamDefaultController() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 80 | function TransformStreamTransformer() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 187 | function ReadableStreamIteratorOptions() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 266 | function ReadableStreamDefaultReader() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 320 | function ReadableStreamBYOBReaderReadOptions() {} | CODE |
| LOW | externs/browser/streamsapi.js | 349 | function ReadableStreamDefaultController() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 385 | function ReadableByteStreamController() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 424 | function ReadableStreamBYOBRequest() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 509 | function WritableStreamDefaultWriter() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 563 | function WritableStreamDefaultController() {}; | CODE |
| LOW | externs/browser/streamsapi.js | 578 | function ByteLengthQueuingStrategy(config) {} | CODE |
| LOW | externs/browser/w3c_navigation_timing.js | 69 | function PerformanceResourceTiming() {} | CODE |
| LOW | externs/browser/w3c_navigation_timing.js | 117 | function PerformanceNavigationTiming() {} | CODE |
| LOW | externs/browser/w3c_navigation_timing.js | 182 | function PerformanceLongTaskTiming() {} | CODE |
| LOW | externs/browser/w3c_navigation_timing.js | 257 | function PerformanceMeasureOptions() {} | CODE |
| LOW | externs/browser/w3c_navigation_timing.js | 450 | function PerformanceObserverEntryList() {} | CODE |
| LOW | externs/browser/w3c_indexeddb.js | 82 | function IDBVersionChangeEventInit(){}; | CODE |
| LOW | externs/browser/w3c_dom2.js | 801 | function HTMLFormControlsCollection() {} | CODE |
| LOW | externs/browser/w3c_navigation.js | 250 | function NavigationCurrentEntryChangeEvent(type, eventInitDict) {} | CODE |
| LOW | externs/browser/w3c_navigation.js | 263 | function NavigationCurrentEntryChangeEventInit() {} | CODE |
| LOW | externs/browser/w3c_navigation.js | 334 | function NavigationPrecommitController() {} | CODE |
| LOW | externs/browser/w3c_navigation.js | 372 | function NavigationInterceptOptions() {} | CODE |
| LOW | externs/browser/w3c_navigation.js | 391 | function NavigationNavigateOptions() {} | CODE |
| LOW | externs/browser/w3c_navigation.js | 434 | function NavigationUpdateCurrentEntryOptions() {} | CODE |
| LOW | externs/browser/w3c_payment_request.js | 352 | function MerchantValidationEventInit() {}; | CODE |
| LOW | externs/browser/w3c_payment_request.js | 376 | function PaymentMethodChangeEventInit() {}; | CODE |
| LOW | externs/browser/w3c_payment_request.js | 389 | function PaymentRequestUpdateEvent(type, eventInitDict) {}; | CODE |
| LOW | externs/browser/w3c_payment_request.js | 401 | function PaymentRequestUpdateEventInit() {}; | CODE |
| LOW | externs/browser/w3c_rtc.js | 294 | function MediaTrackSupportedConstraints() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 679 | function RTCEncodedVideoFrameMetadata() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 737 | function RTCEncodedAudioFrameMetadata() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 833 | function RTCRtpHeaderExtensionParameters() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 1290 | function ConstrainBooleanParameters() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 1306 | function ConstrainDOMStringParameters() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 1321 | function ConstrainBooleanOrDOMStringParameters() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 1555 | function DisplayMediaStreamOptions() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 2020 | function RTCSessionDescriptionInit() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 2282 | function RTCPeerConnectionIceEvent(type, eventInitDict) {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 2301 | function RTCPeerConnectionIceErrorEvent(type, eventInitDict) {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 2519 | function RTCReceivedRtpStreamStats() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 2759 | function RTCRemoteInboundRtpStreamStats() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 2800 | function RTCOutboundRtpStreamStats() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 2909 | function RTCRemoteOutboundRtpStreamStats() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 3930 | function MediaStreamTrackProcessor() {} | CODE |
| LOW | externs/browser/w3c_rtc.js | 3953 | function MediaStreamTrackGenerator(kind) {} | CODE |
| 126 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …com/google/javascript/jscomp/CheckConformanceTest.java | 240 | error_message: 'placeholder' | CODE |
| LOW | …com/google/javascript/jscomp/CheckConformanceTest.java | 251 | error_message: "placeholder" | CODE |
| LOW | …com/google/javascript/jscomp/CheckConformanceTest.java | 266 | error_message: 'placeholder' | CODE |
| LOW | …com/google/javascript/jscomp/CheckConformanceTest.java | 277 | error_message: "placeholder" | CODE |
| LOW | …com/google/javascript/jscomp/CheckConformanceTest.java | 2413 | error_message: 'placeholder' | CODE |
| LOW | …com/google/javascript/jscomp/CheckConformanceTest.java | 2423 | error_message: "placeholder" | CODE |
| LOW | …ogle/javascript/jscomp/ConformanceAllowlisterTest.java | 45 | .setErrorMessage("Lorem Ipsum") | CODE |
| LOW | …ogle/javascript/jscomp/ConformanceAllowlisterTest.java | 68 | .setErrorMessage("Lorem Ipsum") | CODE |
| LOW | …ogle/javascript/jscomp/ConformanceAllowlisterTest.java | 78 | .setErrorMessage("Lorem Ipsum") | CODE |
| LOW | …ogle/javascript/jscomp/ConformanceAllowlisterTest.java | 101 | .setErrorMessage("Lorem Ipsum") | CODE |
| LOW | …ogle/javascript/jscomp/ConformanceAllowlisterTest.java | 112 | .setErrorMessage("Lorem Ipsum") | CODE |
| LOW | …ogle/javascript/jscomp/ConformanceAllowlisterTest.java | 139 | .setErrorMessage("Lorem Ipsum") | CODE |
| LOW | …ogle/javascript/jscomp/ConformanceAllowlisterTest.java | 150 | .setErrorMessage("Lorem Ipsum") | CODE |
| LOW | …com/google/javascript/jscomp/JsMessageVisitorTest.java | 145 | 'INTERPOLATION_1': 'Jane Doe', | STRING |
| LOW | …com/google/javascript/jscomp/JsMessageVisitorTest.java | 190 | 'INTERPOLATION_1': 'Jane Doe', | STRING |
| LOW | …/com/google/javascript/jscomp/ReplaceMessagesTest.java | 2551 | 'NAME': 'John Doe', | STRING |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 140 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.MASCULINE, "placeholder") | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 143 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.FEMININE, "placeholder") | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 146 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.NEUTER, "placeholder") | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 150 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.OTHER, "placeholder") | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 158 | assertThat(masculineParts.get(1).getJsPlaceholderName()).isEqualTo("placeholder"); | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 165 | assertThat(feminineParts.get(1).getJsPlaceholderName()).isEqualTo("placeholder"); | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 172 | assertThat(neuterParts.get(1).getJsPlaceholderName()).isEqualTo("placeholder"); | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 179 | assertThat(otherParts.get(1).getJsPlaceholderName()).isEqualTo("placeholder"); | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 244 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.MASCULINE, "placeholder") | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 247 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.FEMININE, "placeholder") | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 250 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.NEUTER, "placeholder") | CODE |
| LOW⚡ | test/com/google/javascript/jscomp/JsMessageTest.java | 254 | .appendJsPlaceholderReference(JsMessage.GrammaticalGenderCase.OTHER, "placeholder") | CODE |
| LOW | lib/base.js | 919 | * var MSG_NAME = goog.getMsg('Hello {$placeholder}', {'placeholder': 'world'}); | COMMENT |
| LOW | src/com/google/javascript/jscomp/JsMessageVisitor.java | 864 | * 'INTERPOLATION_1': 'Jane Doe', | COMMENT |
| LOW | src/com/google/javascript/jscomp/JsMessageVisitor.java | 1165 | * 'INTERPOLATION_1': 'Jane Doe', | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/com/google/javascript/jscomp/SymbolTableTest.java | 1568 | // a strange order. We need to make sure we're robust against this. | COMMENT |
| MEDIUM | test/com/google/javascript/jscomp/NodeUtilTest.java | 2400 | // Definitely not numeric | COMMENT |
| MEDIUM | test/com/google/javascript/jscomp/NodeUtilTest.java | 2489 | // Definitely not bigint | COMMENT |
| MEDIUM | test/com/google/javascript/jscomp/NodeUtilTest.java | 2547 | // Definitely not boolean | COMMENT |
| MEDIUM | test/com/google/javascript/jscomp/NodeUtilTest.java | 2823 | // Definitely objects | COMMENT |
| MEDIUM | …om/google/javascript/jscomp/CoalesceVariableNames.java | 690 | return false; // Definitely a read. | CODE |
| MEDIUM | src/com/google/javascript/jscomp/ConformanceRules.java | 131 | // Definitely a violation. | COMMENT |
| MEDIUM | src/com/google/javascript/jscomp/JsMessageVisitor.java | 356 | // TODO(bradfordcsmith): Make this check more robust, possibly building on ModuleMetadata or | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ipt/jscomp/TypeCheckAbstractClassesAndMethodsTest.java | 753 | ns.B.superClass_.foo.bar.call(this); | CODE |
| CRITICAL | …com/google/javascript/jscomp/parsing/ParserRunner.java | 182 | return new com.google.javascript.jscomp.parsing.parser.Parser.Config( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | release.sh | 90 | # Check if the global variable RELEASE_NUM exists | COMMENT |
| LOW | .github/ci_support/tag_release_version.sh | 82 | # Check if the version ID is already tagged. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ebugging/sourcemap/SourceMapConsumerGeneratorTest.java | 108 | // Don't forget to add mapping for word if there is no spaces after it. | COMMENT |
| LOW | …gle/javascript/jscomp/InlineAndCollapseProperties.java | 1994 | // Use the NodeUtil method so we don't forget to update this logic. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/com/google/javascript/jscomp/AstFactoryTest.java | 1317 | // NOTE: This method is testing both createCall() and createQName() | COMMENT |
| LOW | src/com/google/javascript/rhino/jstype/JSType.java | 293 | // NOTE: This method will return false for unions that mix the primitive and object types, e.g. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/javascript/jscomp/modules/ClosureModuleProcessor.java | 294 | // Note: the following two maps are mutable because in some cases, we need to check if a key has | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | license_check/third_party_license_test.py | 189 | # Create a dictionary of license names to maven jar files | STRING |