An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
This report summarizes scanner evidence for CesiumGS/cesium, a JavaScript project with 15,901 GitHub stars. SynthScan examined 913,229 lines of code across 3784 source files, recording 1076 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 2.1 (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? 902 finding(s).
Are imports declared and package/API names verified? 147 finding(s).
Are wrappers, guards, and repeated structures necessary? 872 finding(s).
Which changes need focused human review? 1076 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 1076 distinct pattern matches across 12 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 |
|---|---|---|---|---|
| LOW | gulpfile.js | 472 | function websiteReleaseBuildMinified() { | CODE |
| LOW | gulpfile.js | 506 | function buildMinifiedCesiumForNode() { | CODE |
| LOW | gulpfile.js | 998 | function fixTypeScriptDefinitionsSource(source, includeKnockout) { | CODE |
| LOW | gulpfile.js | 1055 | function generateWorkspaceTypeScriptDefinitions( | CODE |
| LOW | gulpfile.js | 1207 | function generateCesiumTypeScriptDefinitions() { | CODE |
| LOW | gulpfile.js | 1249 | async function getLicenseDataFromThirdPartyExtra(path, discoveredDependencies) { | CODE |
| LOW | gulpfile.js | 1305 | async function getLicenseDataFromPackage( | CODE |
| LOW | Specs/createRendererMatchers.js | 147 | function contextRenderAndReadPixels(options) { | CODE |
| LOW | Specs/getWebGLStub.js | 183 | function checkFramebufferStatusStub(target) { | CODE |
| LOW | Specs/createDynamicGeometryUpdaterSpecs.js | 10 | function createDynamicGeometryUpdaterSpecs( | CODE |
| LOW | Specs/createGeometryUpdaterGroundGeometrySpecs.js | 12 | function createGeometryUpdaterGroundGeometrySpecs( | CODE |
| LOW | Specs/ImplicitTilingTester.js | 492 | function parseAvailabilityDescriptor(descriptor, includeAvailableCount) { | CODE |
| LOW | Specs/ImplicitTilingTester.js | 634 | function getPropertiesObjectFromPropertyTable( | CODE |
| LOW | Specs/createBaseMatchers.js | 4 | function createMissingFunctionMessageFunction( | CODE |
| LOW | Specs/Cesium3DTilesTester.js | 193 | function createDefaultImageBasedLighting() { | CODE |
| LOW | Specs/DomEventSimulator.js | 217 | function createDeviceOrientationEvent(type, options) { | CODE |
| LOW | Specs/equalsMethodEqualityTester.js | 3 | function equalsMethodEqualityTester(a, b) { | CODE |
| LOW | Specs/testMaterialDefinitionChanged.js | 3 | function testMaterialDefinitionChanged(property, name, value1, value2) { | CODE |
| LOW | Specs/createGeometryUpdaterSpecs.js | 21 | function createGeometryUpdaterSpecs( | CODE |
| LOW | Specs/createGeometryUpdaterSpecs.js | 271 | function validateGeometryInstanceAttributes(options) { | CODE |
| LOW | Specs/e2e/voxel-cameras.spec.js | 46 | function ProceduralSingleTileVoxelProvider(shape) { | CODE |
| LOW | Specs/e2e/voxel-cameras.spec.js | 173 | function ProceduralSingleTileVoxelProvider(shape) { | CODE |
| LOW | …/glTF-2.0/PropertyTextureWith32BitTypes/glTF/README.md | 13 | def float_to_rgba_bytes_array(f_arr): | CODE |
| LOW | scripts/build-utilities.js | 562 | export async function createSpecListForWorkspace(files, outputPath) { | CODE |
| LOW | scripts/build.js | 35 | async function getCombinedWorkspaceFiles() { | CODE |
| LOW | packages/core/Specs/EllipsoidalOccluderSpec.js | 20 | function createOccluderWithoutEllipsoid() { | CODE |
| LOW | packages/core/Specs/PolylineGeometrySpec.js | 278 | function attributeArrayEqualsColorArray( | CODE |
| LOW | packages/core/Specs/BoundingSphereSpec.js | 61 | function getPositionsAsEncodedFlatArray() { | CODE |
| LOW | packages/core/Specs/BoundingSphereSpec.js | 1012 | function expectBoundingSphereToContainPoint( | CODE |
| LOW | packages/core/Specs/CullingVolumeSpec.js | 50 | function testWithAndWithoutPlaneMask(culling, bound, intersect) { | CODE |
| LOW | packages/core/Source/EllipseGeometry.js | 46 | function computeTopBottomAttributes(positions, options, extrude) { | CODE |
| LOW | packages/core/Source/EllipseGeometry.js | 1251 | function textureCoordinateRotationPoints(ellipseGeometry) { | CODE |
| LOW | packages/core/Source/GeometryInstanceAttribute.js | 42 | function GeometryInstanceAttribute(options) { | CODE |
| LOW | packages/core/Source/EllipsoidRhumbLine.js | 306 | function interpolateUsingSurfaceDistance( | CODE |
| LOW | packages/core/Source/PolygonGeometry.js | 32 | function adjustPosHeightsForNormal(position, p1, p2, ellipsoid) { | CODE |
| LOW | packages/core/Source/PolygonGeometry.js | 428 | function createGeometryFromPositionsExtruded( | CODE |
| LOW | packages/core/Source/PolygonGeometry.js | 1532 | function textureCoordinateRotationPoints(polygonGeometry) { | CODE |
| LOW | packages/core/Source/CoplanarPolygonGeometry.js | 41 | function createGeometryFromPolygon( | CODE |
| LOW | packages/core/Source/PolygonGeometryLibrary.js | 494 | function computeEquatorIntersectionRhumb(start, end, ellipsoid) { | CODE |
| LOW | packages/core/Source/PolygonGeometryLibrary.js | 533 | function computeEquatorIntersection(start, end, ellipsoid, arcType) { | CODE |
| LOW | packages/core/Source/TimeIntervalCollection.js | 12 | function compareIntervalStartTimes(left, right) { | CODE |
| LOW | packages/core/Source/JulianDate.js | 129 | function computeJulianDateComponents( | CODE |
| LOW | packages/core/Source/ShowGeometryInstanceAttribute.js | 32 | function ShowGeometryInstanceAttribute(show) { | CODE |
| LOW | packages/core/Source/Check.js | 19 | function getFailedTypeErrorMessage(actual, expected, name) { | CODE |
| LOW | packages/core/Source/CoplanarPolygonOutlineGeometry.js | 18 | function createGeometryFromPositions(positions) { | CODE |
| LOW | packages/core/Source/CoplanarPolygonOutlineGeometry.js | 73 | function CoplanarPolygonOutlineGeometry(options) { | CODE |
| LOW | packages/core/Source/GeometryPipeline.js | 438 | function copyAttributesDescriptions(attributes) { | CODE |
| LOW | packages/core/Source/GeometryPipeline.js | 884 | function findAttributesInAllGeometries(instances, propertyName) { | CODE |
| LOW | packages/core/Source/GeometryPipeline.js | 1842 | function offsetTriangleFromXZPlane(p0, p1, p2) { | CODE |
| LOW | packages/core/Source/GeometryPipeline.js | 1874 | function getXZIntersectionOffsetPoints(p, p1, u1, v1) { | CODE |
| LOW | packages/core/Source/GeometryPipeline.js | 2083 | function generateBarycentricInterpolateFunction( | CODE |
| LOW | packages/core/Source/GeometryPipeline.js | 2168 | function computeTriangleAttributes( | CODE |
| LOW | packages/core/Source/GeometryPipeline.js | 2879 | function updateAdjacencyAfterSplit(geometry) { | CODE |
| LOW | packages/core/Source/EllipsoidalOccluder.js | 345 | function getPossiblyShrunkEllipsoid(ellipsoid, minimumHeight, result) { | CODE |
| LOW | packages/core/Source/EllipsoidalOccluder.js | 362 | function computeHorizonCullingPointFromPositions( | CODE |
| LOW | packages/core/Source/EllipsoidalOccluder.js | 402 | function computeHorizonCullingPointFromVertices( | CODE |
| LOW | packages/core/Source/EllipsoidalOccluder.js | 448 | function isScaledSpacePointVisible( | CODE |
| LOW | packages/core/Source/EllipsoidalOccluder.js | 527 | function computeScaledSpaceDirectionToPoint(ellipsoid, directionToPoint) { | CODE |
| LOW | packages/core/Source/RectangleGeometry.js | 447 | function addWallTextureCoordinates(wallTextures, stIndex, i, st) { | CODE |
| LOW | packages/core/Source/RectangleGeometry.js | 457 | function constructExtrudedRectangle(rectangleGeometry, computedOptions) { | CODE |
| 785 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/sandcastle/gallery/japan-buildings/main.js | 228 | viewer.homeButton.viewModel.command.beforeExecute.addEventListener((e) => { | CODE |
| CRITICAL | packages/sandcastle/gallery/aec-clipping/main.js | 60 | viewer.homeButton.viewModel.command.beforeExecute.addEventListener((e) => { | CODE |
| CRITICAL | packages/sandcastle/gallery/mars/main.js | 319 | viewer.homeButton.viewModel.command.beforeExecute.addEventListener( | CODE |
| CRITICAL | packages/sandcastle/gallery/high-dynamic-range/main.js | 121 | viewer.homeButton.viewModel.command.beforeExecute.addEventListener((e) => { | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5372 | entity.model.nodeTransformations.Mesh.scale.getValue(time), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5379 | entity.model.nodeTransformations.Mesh.translation.getValue(time), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5386 | entity.model.nodeTransformations.Mesh.rotation.getValue(time), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5513 | entity.model.nodeTransformations.Mesh.scale.getValue(validTime), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5520 | entity.model.nodeTransformations.Mesh.translation.getValue(validTime), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5527 | entity.model.nodeTransformations.Mesh.rotation.getValue(validTime), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5573 | entity.model.nodeTransformations.Mesh.scale.getValue(invalidTime), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5576 | entity.model.nodeTransformations.Mesh.translation.getValue( | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 5581 | entity.model.nodeTransformations.Mesh.rotation.getValue(invalidTime), | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 7290 | expect(e.model.nodeTransformations.prop.translation.getValue(date)).toEqual(new Cartesian3(18548, 48456, 21181)); | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 7291 | expect(e.model.nodeTransformations.prop.rotation.getValue(date)).toEqualEpsilon(new Quaternion(0.527960606328925, | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 7292 | expect(e.model.nodeTransformations.prop.scale.getValue(date)).toEqual(new Cartesian3(53739, 37841, 41107)); | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 8341 | expect(e.model.nodeTransformations.referenceProp.translation.getValue(date)).toEqual(constant.model.nodeTransforma | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 8342 | expect(e.model.nodeTransformations.referenceProp.rotation.getValue(date)).toEqual(constant.model.nodeTransformatio | CODE |
| CRITICAL⚡ | packages/engine/Specs/DataSources/CzmlDataSourceSpec.js | 8343 | expect(e.model.nodeTransformations.referenceProp.scale.getValue(date)).toEqual(constant.model.nodeTransformations. | CODE |
| CRITICAL | packages/engine/Specs/DataSources/KmlTourSpec.js | 144 | expect(mockWidget.scene.camera.flyTo.calls.count()).toEqual(0); | CODE |
| CRITICAL | packages/engine/Specs/DataSources/KmlTourSpec.js | 145 | expect(mockWidget.scene.camera.flyToBoundingSphere.calls.count()).toEqual( | CODE |
| CRITICAL | packages/engine/Source/Scene/Billboard.js | 1591 | this._billboardCollection._scene.globe._surface.removeTileCustomData( | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2272 | message.precipitationsOptions = $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOp | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2276 | message.captureOptions = $root.keyhole.dbroot.ClientOptionsProto.CaptureOptions.decode(r | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2304 | message.mapsOptions = $root.keyhole.dbroot.ClientOptionsProto.MapsOptions.decode(reader, | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2340 | var error = $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOptions.verify(message.precipi | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2345 | var error = $root.keyhole.dbroot.ClientOptionsProto.CaptureOptions.verify(message.captureOptions | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2368 | var error = $root.keyhole.dbroot.ClientOptionsProto.MapsOptions.verify(message.mapsOptions); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2396 | message.precipitationsOptions = $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOptions.fr | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2401 | message.captureOptions = $root.keyhole.dbroot.ClientOptionsProto.CaptureOptions.fromObject(objec | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2418 | message.mapsOptions = $root.keyhole.dbroot.ClientOptionsProto.MapsOptions.fromObject(object.maps | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2460 | object.precipitationsOptions = $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOptions.toO | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2462 | object.captureOptions = $root.keyhole.dbroot.ClientOptionsProto.CaptureOptions.toObject(message. | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2476 | object.mapsOptions = $root.keyhole.dbroot.ClientOptionsProto.MapsOptions.toObject(message.mapsOp | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2535 | message.weatherMapping.push($root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOp | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2573 | var error = $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOptions.WeatherMapping | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2606 | message.weatherMapping[i] = $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOption | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2641 | object.weatherMapping[j] = $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOptions | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2683 | var end = length === undefined ? reader.len : reader.pos + length, message = new $root.keyho | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 2775 | var message = new $root.keyhole.dbroot.ClientOptionsProto.PrecipitationsOptions.WeatherMappi | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 3724 | message.inputBox.push($root.keyhole.dbroot.SearchTabProto.InputBoxInfo.decode(reader, re | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 3761 | var error = $root.keyhole.dbroot.SearchTabProto.InputBoxInfo.verify(message.inputBox[i]); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 3796 | message.inputBox[i] = $root.keyhole.dbroot.SearchTabProto.InputBoxInfo.fromObject(object.inp | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 3831 | object.inputBox[j] = $root.keyhole.dbroot.SearchTabProto.InputBoxInfo.toObject(message.input | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 3987 | message.xCoord = $root.keyhole.dbroot.CobrandProto.Coord.decode(reader, reader.uint32()) | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 3991 | message.yCoord = $root.keyhole.dbroot.CobrandProto.Coord.decode(reader, reader.uint32()) | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 4018 | var error = $root.keyhole.dbroot.CobrandProto.Coord.verify(message.xCoord); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 4023 | var error = $root.keyhole.dbroot.CobrandProto.Coord.verify(message.yCoord); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 4057 | message.xCoord = $root.keyhole.dbroot.CobrandProto.Coord.fromObject(object.xCoord); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 4062 | message.yCoord = $root.keyhole.dbroot.CobrandProto.Coord.fromObject(object.yCoord); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 4121 | object.xCoord = $root.keyhole.dbroot.CobrandProto.Coord.toObject(message.xCoord, options); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 4123 | object.yCoord = $root.keyhole.dbroot.CobrandProto.Coord.toObject(message.yCoord, options); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5151 | message.searchConfig = $root.keyhole.dbroot.EndSnippetProto.SearchConfigProto.decode(rea | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5155 | message.searchInfo = $root.keyhole.dbroot.EndSnippetProto.SearchInfoProto.decode(reader, | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5191 | message.rocktreeDataProto = $root.keyhole.dbroot.EndSnippetProto.RockTreeDataProto.decod | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5197 | message.filmstripConfig.push($root.keyhole.dbroot.EndSnippetProto.FilmstripConfigProto.d | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5213 | message.starDataProto = $root.keyhole.dbroot.EndSnippetProto.StarDataProto.decode(reader | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5495 | var error = $root.keyhole.dbroot.EndSnippetProto.SearchConfigProto.verify(message.searchConfig); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5500 | var error = $root.keyhole.dbroot.EndSnippetProto.SearchInfoProto.verify(message.searchInfo); | CODE |
| CRITICAL | …engine/Source/ThirdParty/google-earth-dbroot-parser.js | 5539 | var error = $root.keyhole.dbroot.EndSnippetProto.RockTreeDataProto.verify(message.rocktreeDataPr | CODE |
| 43 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/sandcastle/gallery/vector-3d-tiles/main.js | 11 | // ── Style functions ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/sandcastle/gallery/vector-3d-tiles/main.js | 89 | // ── Toolbar ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 10 | // ─── Configuration ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 17 | // ─── Pre-built Queries ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 57 | // ─── Viewer Setup ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 74 | // ─── State ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 82 | // ─── UI References ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 88 | // ─── Utility Functions ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 101 | // ─── Element Properties Entity (for InfoBox display) ──────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 109 | // ─── Style ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 140 | // ─── Paginated Query Function ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 172 | // ─── Select Element: Highlight + Navigate + Element Properties ───────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 208 | // ─── Result Panel ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 229 | // ─── Run a Query ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 280 | // ─── Clear Query Results ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 297 | // ─── Input Handlers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 345 | // ─── Toolbar: Query Dropdown ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 368 | // ─── Camera Navigation ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/sandcastle/gallery/aec-elements-api-query/main.js | 388 | // ─── Load Tileset and Initialize ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 7 | // ─── Configuration ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 15 | // ─── Viewer Setup ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 25 | // ─── State ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 41 | // ─── Style ───────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 62 | // ─── Category Panel ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 257 | // ─── Hover Tooltip ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 265 | // ─── Event Handlers ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …dcastle/gallery/aec-tileset-metadata-filtering/main.js | 317 | // ─── Initialize ──────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 16 | - /** Lorem ipsum. */ const a = 1; export { a }; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 17 | - /** Lorem ipsum. */ const a = 1; export default Object.freeze(a); | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 23 | - /** Lorem ipsum. */ class A {}; export { A }; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 26 | - /** Lorem ipsum. */ function a () {}; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 27 | - /** Lorem ipsum. */ function a () {}; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 28 | - /** Lorem ipsum. */ function a () {}; export { b }; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 29 | - /** Lorem ipsum. */ function a () {}; export { b }; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 30 | - /** Lorem ipsum. */ function a () {}; export default b; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 31 | - /** Lorem ipsum. */ function a () {}; export default b; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 34 | - /** Lorem ipsum. */ const a = 1; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 35 | - /** Lorem ipsum. */ const a = 1; export { b }; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 38 | - /** Lorem ipsum. */ class A {}; | CODE |
| LOW⚡ | …tests/no-package-types-for-local-declarations.test.yml | 39 | - /** Lorem ipsum. */ class A {}; export { B }; | CODE |
| LOW | Tools/ast-grep/tests/require-jsdoc-extends.test.yml | 3 | - /** Lorem ipsum. */ class A {} | CODE |
| LOW | Tools/ast-grep/tests/require-jsdoc-extends.test.yml | 8 | - /** Lorem ipsum. */ class A extends B {} | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 3 | /** Lorem ipsum. */ class A {};: | COMMENT |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 17 | /** Lorem ipsum. */ class A {}; export { B };: | COMMENT |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 31 | /** Lorem ipsum. */ const a = 1;: | COMMENT |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 45 | /** Lorem ipsum. */ const a = 1; export { b };: | COMMENT |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 59 | /** Lorem ipsum. */ function a () {};: | COMMENT |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 73 | /** Lorem ipsum. */ function a () {}; export default b;: | COMMENT |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 87 | /** Lorem ipsum. */ function a () {}; export { b };: | COMMENT |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 9 | - source: /** Lorem ipsum. */ class A {}; | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 13 | - source: /** Lorem ipsum. */ | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 23 | - source: /** Lorem ipsum. */ class A {}; export { B }; | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 27 | - source: /** Lorem ipsum. */ | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 37 | - source: /** Lorem ipsum. */ const a = 1; | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 41 | - source: /** Lorem ipsum. */ | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 51 | - source: /** Lorem ipsum. */ const a = 1; export { b }; | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 55 | - source: /** Lorem ipsum. */ | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 65 | - source: /** Lorem ipsum. */ function a () {}; | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 69 | - source: /** Lorem ipsum. */ | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 79 | - source: /** Lorem ipsum. */ function a () {}; export default b; | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 83 | - source: /** Lorem ipsum. */ | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 93 | - source: /** Lorem ipsum. */ function a () {}; export { b }; | CODE |
| LOW⚡ | …_/no-package-types-for-local-declarations-snapshot.yml | 97 | - source: /** Lorem ipsum. */ | CODE |
| LOW | …tests/__snapshots__/require-jsdoc-extends-snapshot.yml | 17 | /** Lorem ipsum. */ class A extends B {}: | COMMENT |
| LOW | …tests/__snapshots__/require-jsdoc-extends-snapshot.yml | 27 | - source: /** Lorem ipsum. */ | CODE |
| LOW | packages/widgets/Source/Geocoder/Geocoder.js | 48 | textBox.setAttribute("placeholder", "Enter an address or landmark..."); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Documentation/CustomShaderGuide/README.md | 21 | } | COMMENT |
| LOW | Documentation/CustomShaderGuide/README.md | 341 | { | COMMENT |
| LOW | Documentation/CustomShaderGuide/README.md | 401 | // vsInput.featureIds.perVertex | COMMENT |
| LOW | packages/core/Source/EllipseGeometryLibrary.js | 141 | let numPts = 1 + Math.ceil(CesiumMath.PI_OVER_TWO / granularity); | COMMENT |
| LOW | packages/core/Source/Matrix4.js | 761 | const t1 = uX * -positionX + uY * -positionY + uZ * -positionZ; | COMMENT |
| LOW | packages/core/Source/WallGeometry.js | 561 | COMMENT | |
| LOW | …dcastle/gallery/khr-mesh-primitive-restart-dev/main.js | 1 | import * as Cesium from "cesium"; | COMMENT |
| LOW | packages/sandcastle/gallery/arcgis-mapserver/main.js | 1 | import * as Cesium from "cesium"; | COMMENT |
| LOW | packages/sandcastle/gallery/aec-snapping/main.js | 181 | serverPoint.show = false; | COMMENT |
| LOW | …dcastle/gallery/3d-tiles-batch-table-hierarchy/main.js | 1 | import * as Cesium from "cesium"; | COMMENT |
| LOW | …dcastle/gallery/3d-tiles-batch-table-hierarchy/main.js | 21 | // door4 - doorknob4 | COMMENT |
| LOW | …dcastle/gallery/3d-tiles-batch-table-hierarchy/main.js | 41 | // wall: | COMMENT |
| LOW | …kages/sandcastle/gallery/bing-maps-labels-only/main.js | 1 | import * as Cesium from "cesium"; | COMMENT |
| LOW | packages/sandcastle/gallery/hybrid-snapping-dev/main.js | 1 | import * as Cesium from "cesium"; | COMMENT |
| LOW | packages/sandcastle/gallery/hybrid-snapping-dev/main.js | 21 | // Scene.snap is used to find the element and seed the test point. | COMMENT |
| LOW | packages/sandcastle/gallery/hybrid-snapping-dev/main.js | 281 | // server may snap to other geometry). Instead, we will use surfacePosition, | COMMENT |
| LOW | packages/sandcastle/gallery/resolution-scaling/main.js | 1 | import * as Cesium from "cesium"; | COMMENT |
| LOW | packages/gltf/Source/updateVersion.js | 961 | // bufferView.byteLength and buffer.byteLength are required | COMMENT |
| LOW | packages/engine/Specs/Core/DoublyLinkedListSpec.js | 181 | // Before: | COMMENT |
| LOW | packages/engine/Specs/Core/DoublyLinkedListSpec.js | 201 | const list = new DoublyLinkedList(); | COMMENT |
| LOW | packages/engine/Specs/Core/DoublyLinkedListSpec.js | 321 | COMMENT | |
| LOW | packages/engine/Specs/Core/DoublyLinkedListSpec.js | 341 | const list = new DoublyLinkedList(); | COMMENT |
| LOW | …ages/engine/Specs/Scene/ImplicitTileCoordinatesSpec.js | 761 | }); | COMMENT |
| LOW | packages/engine/Specs/Scene/Cesium3DTilesetSpec.js | 1481 | tileset.skipLevelOfDetail = false; | COMMENT |
| LOW | packages/engine/Specs/Scene/QuadtreePrimitiveSpec.js | 1081 | // Verify that for each tile level recorded in pickCounters, the pick function was called only once. | COMMENT |
| LOW | …/engine/Specs/Scene/Model/ModelPrimitiveImagerySpec.js | 221 | gltf: url, | COMMENT |
| LOW | …ine/Specs/Scene/Model/PrimitiveOutlineGeneratorSpec.js | 101 | function createTrickyGeometry() { | COMMENT |
| LOW | packages/engine/Source/Scene/Scene.js | 3001 | // When the invert classification color is opaque: | COMMENT |
| LOW | packages/engine/Source/Scene/Scene.js | 3021 | // 3. Draw classification to FBO2 | COMMENT |
| LOW | packages/engine/Source/Scene/GltfSpzLoader.js | 1 | import { Check, Frozen, RuntimeError, defined } from "@cesium/core"; | COMMENT |
| LOW | packages/engine/Source/Scene/TerrainFillMesh.js | 961 | let i; | COMMENT |
| LOW | packages/engine/Source/Scene/Snapping.js | 41 | const scratchSnapRay = new Ray(); | COMMENT |
| LOW | packages/engine/Source/Scene/VoxelTraversal.js | 941 | // / \ | COMMENT |
| LOW | packages/engine/Source/Scene/ImageryLayer.js | 1501 | // Our solution was to reproject to Web Mercator in the vertex shader instead of the fragment shader. | COMMENT |
| LOW | …ges/engine/Source/Scene/Model/ModelPrimitiveImagery.js | 681 | const rectangle = tilingScheme.rectangle; | COMMENT |
| LOW | …Source/Scene/Model/ModelClippingPlanesPipelineStage.js | 121 | // view-independent part: | COMMENT |
| LOW | …s/engine/Source/Scene/Model/InstancingPipelineStage.js | 121 | // product. This means czm_modelView can't be used. Instead, we split the | COMMENT |
| LOW | …ene/Model/Extensions/Gpm/GltfMeshPrimitiveGpmLoader.js | 241 | index, | COMMENT |
| LOW | packages/widgets/Source/ThirdParty/knockout-es5.js | 21 | // var firstNameLength = myModel.user().firstName().length; // Read | COMMENT |
| LOW | packages/widgets/Source/ThirdParty/knockout-es5.js | 141 | // work for Knockout-ES5 because properties now return the underlying arrays, so the mutator runs | COMMENT |
| LOW | packages/widgets/Source/ThirdParty/knockout-es5.js | 241 | // | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CHANGES.md | 1084 | Cesium.GoogleMaps.defaultApiKey = "your-api-key"; | CODE |
| HIGH | packages/engine/Source/Scene/Google2DImageryProvider.js | 51 | * Cesium.GoogleMaps.defaultApiKey = "your-api-key"; | COMMENT |
| HIGH | packages/engine/Source/Scene/Google2DImageryProvider.js | 396 | * Cesium.GoogleMaps.defaultApiKey = "your-api-key"; | COMMENT |
| HIGH | packages/engine/Source/Scene/Google2DImageryProvider.js | 403 | * Cesium.GoogleMaps.defaultApiKey = "your-api-key"; | COMMENT |
| HIGH | …ne/Source/Scene/createGooglePhotorealistic3DTileset.js | 42 | * Cesium.GoogleMaps.defaultApiKey = "your-api-key"; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packages/sandcastle/gallery/multi-part-czml/main.js | 54 | // Helper function to mark a part as requested, and process it into the dataSource. | COMMENT |
| HIGH⚡ | packages/engine/Source/Core/PinBuilder.js | 128 | context2D.scale(size / 24, size / 24); //Added to auto-generated code to scale up to desired size. | CODE |
| HIGH⚡ | packages/engine/Source/Core/PinBuilder.js | 129 | context2D.fillStyle = color.toCssColorString(); //Modified from auto-generated code. | CODE |
| HIGH⚡ | packages/engine/Source/Core/PinBuilder.js | 130 | context2D.strokeStyle = color.brighten(0.6, colorScratch).toCssColorString(); //Modified from auto-generated code. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ine/Specs/Scene/Model/CustomShaderPipelineStageSpec.js | 900 | // Essentially the shader stage is skipped, so nothing should be updated | COMMENT |
| MEDIUM | packages/engine/Source/Scene/I3SGeometry.js | 212 | // Because of precision issues, we can't always reliably tell if the point lands directly on the face, so the most | COMMENT |
| MEDIUM | packages/engine/Source/Scene/Model/TextureManager.js | 90 | // Destroy the old texture once the new one is loaded for more seamless | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/core/Source/PolygonGeometryLibrary.js | 744 | // Step 1: Get all edges which intersect the split line, splciing any found intersections points into the list of po | COMMENT |
| LOW⚡ | packages/core/Source/PolygonGeometryLibrary.js | 753 | // Step 2: Sort the edges along the split line by the distance between their starting points and the starting point | COMMENT |
| LOW⚡ | packages/core/Source/PolygonGeometryLibrary.js | 758 | // Step 3: Rewire polygons, splicing each polygon into the array of results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | packages/core/Source/PolygonGeometryLibrary.js | 744 | // Step 1: Get all edges which intersect the split line, splciing any found intersections points into the list of po | COMMENT |
| LOW⚡ | packages/core/Source/PolygonGeometryLibrary.js | 753 | // Step 2: Sort the edges along the split line by the distance between their starting points and the starting point | COMMENT |
| LOW⚡ | packages/core/Source/PolygonGeometryLibrary.js | 758 | // Step 3: Rewire polygons, splicing each polygon into the array of results | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/engine/Source/Scene/VoxelTraversal.js | 936 | // (shown as binary tree instead of octree for demonstration purposes) | COMMENT |
| MEDIUM | …ages/widgets/Source/BaseLayerPicker/BaseLayerPicker.js | 19 | * By default, the BaseLayerPicker uses a default list of example providers for demonstration purposes. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/engine/Source/Scene/I3SNode.js | 190 | function processData() { | CODE |