🔍 Duplicate Detection Report - scan

Scan Type: Intra-Project Date: 11/11/2025, 9:40:33 PM Duration: 3.07s

📊 Scan Metrics

10226
Code Blocks Detected
2518
Duplicate Groups
0
Exact Duplicates
11762
Duplicated Lines
7806
Potential LOC Reduction
2188
Quick Wins

📈 Distribution

By Strategy

shared package
325
local util
2192
mcp server
1

By Complexity

simple
316
trivial
2188
complex
9
moderate
5

🎯 Top Duplicate Groups

#1
dg_14c21889962d logger-patterns
100% impact
📦 21 occurrences 📄 21 files 📏 126 lines
Affected files:
  • SumedhSite/sumedhjoshi.github.io/_site/golf/how-many-of-me-would-it-take-to-shoot-par-in-a-scramble/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/404.html
  • SumedhSite/sumedhjoshi.github.io/_site/meta/setup/setting-up-mathjax-latex-support/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/football/estimating-the-winning-team-in-a-college-football-game/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/index.html
  • ... and 16 more
#2
dg_8bd611289eb6 logger-patterns
87% impact
📦 48 occurrences 📄 4 files 📏 48 lines
Affected files:
  • assets/js/vendor/jquery-3.7.1.min.js
  • SumedhSite/sumedhjoshi.github.io/_site/assets/js/vendor/jquery-1.9.1.min.js
  • assets/js/vendor/jquery-1.9.1.min.js
  • SumedhSite/sumedhjoshi.github.io/assets/js/vendor/jquery-1.9.1.min.js
#3
dg_f17a763c8fa5 logger-patterns
87% impact
📦 23 occurrences 📄 23 files 📏 46 lines
Affected files:
  • SumedhSite/sumedhjoshi.github.io/_site/golf/how-many-of-me-would-it-take-to-shoot-par-in-a-scramble/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/404.html
  • _includes/_google_analytics.html
  • SumedhSite/sumedhjoshi.github.io/_site/meta/setup/setting-up-mathjax-latex-support/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/football/estimating-the-winning-team-in-a-college-football-game/index.html
  • ... and 18 more
#4
dg_b61c7f1ad85f logger-patterns
85% impact
📦 38 occurrences 📄 13 files 📏 38 lines
Affected files:
  • SumedhSite/sumedhjoshi.github.io/node_modules/glightbox/src/js/core/touch-navigation.js
  • SumedhSite/sumedhjoshi.github.io/node_modules/glightbox/src/js/core/zoom.js
  • SumedhSite/sumedhjoshi.github.io/assets/js/plugins/jquery.magnific-popup.js
  • SumedhSite/sumedhjoshi.github.io/_site/assets/js/plugins/jquery.magnific-popup.js
  • SumedhSite/sumedhjoshi.github.io/node_modules/glightbox/src/js/glightbox.js
  • ... and 8 more
#5
dg_9f18d5b9ee98 logger-patterns
85% impact
📦 38 occurrences 📄 4 files 📏 38 lines
Affected files:
  • assets/js/vendor/jquery-3.7.1.min.js
  • SumedhSite/sumedhjoshi.github.io/_site/assets/js/vendor/jquery-1.9.1.min.js
  • assets/js/vendor/jquery-1.9.1.min.js
  • SumedhSite/sumedhjoshi.github.io/assets/js/vendor/jquery-1.9.1.min.js
#6
dg_0f5ae42dbd7b logger-patterns
84% impact
📦 36 occurrences 📄 22 files 📏 36 lines
Affected files:
  • SumedhSite/sumedhjoshi.github.io/_site/golf/how-many-of-me-would-it-take-to-shoot-par-in-a-scramble/index.html
  • _includes/analytics-providers/google.html
  • SumedhSite/sumedhjoshi.github.io/_site/meta/setup/setting-up-mathjax-latex-support/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/football/estimating-the-winning-team-in-a-college-football-game/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/meta/setting-up-a-github-repository-for-hosting-on-github-pages/index.html
  • ... and 17 more
#7
dg_d848c966356a logger-patterns
84% impact
📦 36 occurrences 📄 3 files 📏 36 lines
Affected files:
  • SumedhSite/sumedhjoshi.github.io/_site/assets/js/vendor/jquery-1.9.1.min.js
  • assets/js/vendor/jquery-1.9.1.min.js
  • SumedhSite/sumedhjoshi.github.io/assets/js/vendor/jquery-1.9.1.min.js
#8
dg_2023a4f25af9 logger-patterns
84% impact
📦 36 occurrences 📄 4 files 📏 36 lines
Affected files:
  • assets/js/vendor/jquery-3.7.1.min.js
  • SumedhSite/sumedhjoshi.github.io/_site/assets/js/vendor/jquery-1.9.1.min.js
  • assets/js/vendor/jquery-1.9.1.min.js
  • SumedhSite/sumedhjoshi.github.io/assets/js/vendor/jquery-1.9.1.min.js
#9
dg_a160bf641beb logger-patterns
84% impact
📦 34 occurrences 📄 4 files 📏 34 lines
Affected files:
  • assets/js/vendor/jquery-3.7.1.min.js
  • SumedhSite/sumedhjoshi.github.io/_site/assets/js/vendor/jquery-1.9.1.min.js
  • assets/js/vendor/jquery-1.9.1.min.js
  • SumedhSite/sumedhjoshi.github.io/assets/js/vendor/jquery-1.9.1.min.js
#10
dg_3948cd5a1273 logger-patterns
81% impact
📦 24 occurrences 📄 24 files 📏 24 lines
Affected files:
  • SumedhSite/sumedhjoshi.github.io/_site/golf/how-many-of-me-would-it-take-to-shoot-par-in-a-scramble/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/404.html
  • _includes/_google_analytics.html
  • SumedhSite/sumedhjoshi.github.io/_site/meta/setup/setting-up-mathjax-latex-support/index.html
  • SumedhSite/sumedhjoshi.github.io/_site/football/estimating-the-winning-team-in-a-college-football-game/index.html
  • ... and 19 more

💡 Top Consolidation Suggestions

#1
cs_dg_0f5ae42dbd7b shared package
ROI: 100%

Logger/config pattern used 36 times across 22 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 84% simple complexity low risk ~7h effort
#2
cs_dg_814b7d555666 shared package
ROI: 100%

Logger/config pattern used 14 times across 14 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 67% simple complexity low risk ~5h effort
#3
cs_dg_6d1ed55e12d6 shared package
ROI: 100%

Logger/config pattern used 20 times across 20 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 80% simple complexity low risk ~6.5h effort
#4
cs_dg_357438db3b28 shared package
ROI: 100%

Logger/config pattern used 15 times across 15 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 69% simple complexity low risk ~5.2h effort
#5
cs_dg_0c0f40e7e65d shared package
ROI: 100%

Logger/config pattern used 14 times across 14 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 67% simple complexity low risk ~5h effort
#6
cs_dg_1353eeace4c7 shared package
ROI: 100%

Logger/config pattern used 14 times across 14 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 67% simple complexity low risk ~5h effort
#7
cs_dg_c8031561c3ba shared package
ROI: 100%

Logger/config pattern used 14 times across 14 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 67% simple complexity low risk ~5h effort
#8
cs_dg_f17a763c8fa5 shared package
ROI: 100%

Logger/config pattern used 23 times across 23 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 87% simple complexity low risk ~7.2h effort
#9
cs_dg_6dcad5f4bf71 shared package
ROI: 100%

Logger/config pattern used 23 times across 23 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 81% simple complexity low risk ~7.2h effort
#10
cs_dg_3948cd5a1273 shared package
ROI: 100%

Logger/config pattern used 24 times across 24 files - centralize configuration

Target: shared/logging/logger-utils.js

Impact: 81% simple complexity low risk ~7.5h effort