clshortfuse/renodx
Renovation Engine for DirectX Games
HLSL★ 3,562+261 that day#9 on trending
69.46%duplicated code · 143,100 of 206,011 lines
9,322clones in code
638code files of 742 scanned
66.37%duplicated over all files · 9,409 clones
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 397 lines in 13 placescpp-header3,025 tokenssrc/games/botw/utils/shader_hotswap.hpp:1–397src/games/kirbyfl/utils/shader_hotswap.hpp:1–397src/games/lm3/utils/shader_hotswap.hpp:1–397src/games/metroiddread/utils/shader_hotswap.hpp:1–397src/games/metroidprime/utils/shader_hotswap.hpp:1–397and 8 more
1/* 2 * Copyright (C) 2024 Carlos Lopez 3 * SPDX-License-Identifier: MIT 4 */ 5 6#pragma once 7 8#include <windows.h> 9 10#include <cstdint>First 10 of 397 lines.
- 250 lines in 8 placescpp-header2,032 tokenssrc/games/kirbyfl/ryujinxlog.hpp:1–250src/games/lm3/ryujinxlog.hpp:1–250src/games/metroidprime/ryujinxlog.hpp:1–250src/games/mhgu/ryujinxlog.hpp:1–250src/games/mk8/ryujinxlog.hpp:1–250and 3 more
1#pragma once 2 3#include <algorithm> 4#include <array> 5#include <bit> 6#include <charconv> 7#include <cctype> 8#include <filesystem> 9#include <optional> 10#include <span>First 10 of 250 lines.
- 173 lines in 6 placescpp-header1,321 tokenssrc/games/botw/ryujinxlog.hpp:1–173src/games/metroiddread/ryujinxlog.hpp:1–174src/games/splatoon/ryujinxlog.hpp:1–173src/games/supermario3dworld/ryujinxlog.hpp:1–173src/games/totk/ryujinxlog.hpp:1–174and 1 more
1#pragma once 2 3#include <algorithm> 4#include <array> 5#include <bit> 6#include <cctype> 7#include <filesystem> 8#include <optional> 9#include <span> 10#include <string>First 10 of 173 lines.
7 more
- 57 lines in 5 placesc-header1,240 tokens
- 41 lines in 6 placescpp803 tokens
- 60 lines in 8 placescpp465 tokens
- 12 lines in 48 placescpp68 tokens
- 8 lines in 42 placescpp73 tokens
- 35 lines in 10 placescpp322 tokens
- 8 lines in 36 placescpp-header74 tokens
Largest clones over all files, tests and data included
- 397 lines in 13 placescpp-header3,025 tokenssrc/games/botw/utils/shader_hotswap.hpp:1–397src/games/kirbyfl/utils/shader_hotswap.hpp:1–397src/games/lm3/utils/shader_hotswap.hpp:1–397src/games/metroiddread/utils/shader_hotswap.hpp:1–397src/games/metroidprime/utils/shader_hotswap.hpp:1–397and 8 more
1/* 2 * Copyright (C) 2024 Carlos Lopez 3 * SPDX-License-Identifier: MIT 4 */ 5 6#pragma once 7 8#include <windows.h> 9 10#include <cstdint>First 10 of 397 lines.
- 250 lines in 8 placescpp-header2,032 tokenssrc/games/kirbyfl/ryujinxlog.hpp:1–250src/games/lm3/ryujinxlog.hpp:1–250src/games/metroidprime/ryujinxlog.hpp:1–250src/games/mhgu/ryujinxlog.hpp:1–250src/games/mk8/ryujinxlog.hpp:1–250and 3 more
1#pragma once 2 3#include <algorithm> 4#include <array> 5#include <bit> 6#include <charconv> 7#include <cctype> 8#include <filesystem> 9#include <optional> 10#include <span>First 10 of 250 lines.
- 173 lines in 6 placescpp-header1,321 tokenssrc/games/botw/ryujinxlog.hpp:1–173src/games/metroiddread/ryujinxlog.hpp:1–174src/games/splatoon/ryujinxlog.hpp:1–173src/games/supermario3dworld/ryujinxlog.hpp:1–173src/games/totk/ryujinxlog.hpp:1–174and 1 more
1#pragma once 2 3#include <algorithm> 4#include <array> 5#include <bit> 6#include <cctype> 7#include <filesystem> 8#include <optional> 9#include <span> 10#include <string>First 10 of 173 lines.
- 57 lines in 5 placesc-header1,240 tokens
- 41 lines in 6 placescpp803 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| cpp | 250 | 123,912 | 8,099 | 114,829 | 92.67% |
| c-header | 236 | 19,067 | 624 | 13,641 | 71.54% |
| cpp-header | 130 | 59,844 | 598 | 14,605 | 24.41% |
| javascript | 6 | 880 | 1 | 25 | 2.84% |
| powershell | 3 | 1,307 | 0 | 0 | 0% |
| bash | 9 | 644 | 0 | 0 | 0% |
| python | 3 | 183 | 0 | 0 | 0% |
| perl | 1 | 174 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| cpp | 270 | 127,333 | 8,152 | 115,421 | 90.65% |
| c-header | 236 | 19,067 | 624 | 13,641 | 71.54% |
| cpp-header | 131 | 59,921 | 598 | 14,605 | 24.37% |
| markup | 4 | 515 | 14 | 137 | 26.6% |
| yaml | 9 | 678 | 13 | 304 | 44.84% |
| txt | 10 | 1,880 | 4 | 39 | 2.07% |
| json | 23 | 1,342 | 2 | 36 | 2.68% |
| markdown | 27 | 3,007 | 1 | 15 | 0.5% |
| javascript | 6 | 880 | 1 | 25 | 2.84% |
| powershell | 6 | 1,323 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Sep 5, 2026 | #9 | 3,562 (+261) | 742 | 217,312 | 9,409 | 66.37% | 69.46% | — | 66f4a40 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.