3 views

bilawalsidhu/gods-eye-view

A spy satellite simulator in your browser, except the data is real. Live open source spatial intelligence on a photorealistic 3D globe.

JavaScript★ 55,732+1,961 that day#2 on trending

Analyzed October 14, 2026 at 132b9e9 (main) with jscpd v5 in 2.9s. Code duplication went from 5.33% on Sep 11 to 3.52% on Oct 14.

C62.2/100
Project health478,687 lines of code (L)
Duplication73
3.9% in javascript, bash, perl, python, sql
Dead code84
1.8%
Complexity39
67.5%

The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.

3.52%duplicated code · 10,539 of 299,103 lines
645clones in code
1,062code files of 1,712 scanned
3.86%duplicated over all files · 1,535 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.

Largest clones in the code

  • 203 lines in 2 placesjavascript809 tokens
    491    colorBlendAmount: flightState._irBoost ? 1.0 : spec.blendAmount,
    492    customShader: flightState._irBoost
    493      ? flightState._IR_UNLIT_SHADER
    494      : undefined,
    495    id: icao24, // so scene.pick returns the icao for click-to-track
    496  });
    497} catch {
    498  // asset/decode fail — stay billboard. Only touch this lifecycle's state if still current
    499  // (a destroy/re-init may have swapped the globals while this load was in flight).
    500  if (epoch === flightState._modelEpoch) {
    

    First 10 of 203 lines.

  • 32 lines in 6 placesjavascript108 tokens
    101const SHOTS_DIR = path.join(REPO_ROOT, 'qa-shots', 'cctv-v2');
    102
    103const CHROME_EXECUTABLE_CANDIDATES = [
    104  process.env.PUPPETEER_EXECUTABLE_PATH,
    105  // Prefer puppeteer's version-pinned Chrome-for-Testing over the system
    106  // Chrome: /Applications auto-updates underneath the harnesses, and its
    107  // software-GL behavior shifts across majors (system Chrome 150 blew the
    108  // tile-gated drain budget under SwiftShader on 2026-07-30 — six
    109  // false-negative qa-cctv-v2 runs against a healthy build). A deterministic
    110  // pinned browser beats the newest one for regression harnesses.
    

    First 10 of 32 lines.

  • 119 lines in 2 placesjavascript514 tokens
    798);
    799flightState._trackedModel.scale = trackedModelScaleForPixelCap({
    800  baseScale: spec.scale,
    801  nativeRadiusM: spec.nativeRadiusM,
    802  rangeM: Cesium.Cartesian3.distance(
    803    flightState._viewer.camera.positionWC,
    804    displayPos,
    805  ),
    806  viewportHeightPx: flightState._viewer.scene.canvas.clientHeight,
    807  fovyRad: flightState._viewer.camera.frustum.fovy,
    

    First 10 of 119 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
javascript1,047297,46964010,3903.49%
bash121,371514910.87%
perl1168000%
python184000%
sql111000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
javascript1,577477,0941,42218,6693.91%
css2817,279929025.22%
json1613,95394343.11%
bash201,52851499.75%
markdown4312,1984450.37%
markup161,5852201.26%
yaml42751134.73%
perl1168000%
txt1112000%
python184000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Oct 14, 2026#255,732 (+1,961)1,712524,3741,5353.86%3.52%C 62.2132b9e9
Oct 13, 2026#254,040 (+1,895)1,700520,0061,5293.88%3.55%C 62.18b8ccc9
Oct 12, 2026#352,074 (+886)1,700519,9761,5293.88%3.55%C 62.1591f299
Sep 14, 2026#232,312 (+2,680)920282,6431,0265.15%5.16%—a0a0128
Sep 13, 2026#130,328 (+2,265)571236,5599355.25%4.92%—78199c2
Sep 12, 2026#227,429 (+3,680)500228,5799265.39%5.01%—aacfa06
Sep 11, 2026#224,894 (+1,762)431218,2739125.67%5.33%—a458d27

Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.