3 views
boykopovar/AnyPS5
Tool for automatic PS5 executables porting to Linux and Windows
C++★ 30,727+3,952 that day#2 on trending
D43.9/100
Duplication41
10.9% in cpp, cpp-header, python, bash, cmake, c, perl, c-headerDead coden/a
the languages dead code reads are under 5% of the codeComplexity47
55.1% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
2.94%duplicated code · 6,272 of 213,429 lines
571clones in code
1,062code files of 2,023 scanned
10.62%duplicated over all files · 3,293 clones
Most complex files
- core/libs/prx/libSceAgcDriver/Graphics/src/Texture.cpp1398 cx
- core/libs/prx/libSceAgcDriver/Graphics/src/ShaderResources.cpp1226 cx
- core/libs/prx/libSceAgcDriver/Graphics/src/GuestBufferMemory.cpp1103 cx
- core/libs/prx/libSceAgcDriver/tests/Graphics.cpp1082 cx
- core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp1056 cx
- core/libs/prx/libSceAgcDriver/Graphics/src/Recorder.cpp1035 cx
- core/shader/recompiler/RdnaDecoder/src/RdnaVectorOpDecoder.cpp1022 cx
- core/libs/prx/libSceAgcDriver/tests/Recorder.cpp966 cx
- core/shader/recompiler/RdnaDecoder/src/RdnaOpcode.cpp852 cx
- core/libs/prx/libSceAgcDriver/Graphics/src/Draw.cpp763 cx
Dead code 0.05% unused · 2 findings
- tools/stubgen.py:CHARSETunused-import
- tools/stubgen.py:SUFFIXunused-import
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 48 lines in 6 placescpp-header1,415 tokenscore/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:660–707core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1552–1598core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1839–1886core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2137–2184core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2417–2464and 1 more
660{0x017e, 0x00000000}, {0x017f, 0x00000000}, {0x0180, 0x00000000}, {0x0181, 0x00000000}, 661{0x0182, 0x00000000}, {0x0183, 0x00000000}, {0x0184, 0x00000000}, {0x0185, 0x00000000}, 662{0x0186, 0x00000000}, {0x0187, 0x00000000}, {0x0188, 0x00000000}, {0x0189, 0x00000000}, 663{0x018a, 0x00000000}, {0x018b, 0x00000000}, {0x018c, 0x00000000}, {0x018d, 0x00000000}, 664{0x018e, 0x00000000}, {0x010f, 0x3f800000}, {0x0111, 0x3f800000}, {0x0113, 0x3f800000}, 665{0x0110, 0x00000000}, {0x0112, 0x00000000}, {0x0114, 0x00000000}, {0x0094, 0x80000000}, 666{0x0095, 0x40004000}, {0x00b4, 0x00000000}, {0x00b5, 0x00000000}, {0x0115, 0x3f800000}, 667{0x0117, 0x3f800000}, {0x0119, 0x3f800000}, {0x0116, 0x00000000}, {0x0118, 0x00000000}, 668{0x011a, 0x00000000}, {0x0096, 0x80000000}, {0x0097, 0x40004000}, {0x00b6, 0x00000000}, 669{0x00b7, 0x00000000}, {0x011b, 0x3f800000}, {0x011d, 0x3f800000}, {0x011f, 0x3f800000},1552{0x0181, 0x00000000}, {0x0182, 0x00000000}, {0x0183, 0x00000000}, {0x0184, 0x00000000}, 1553{0x0185, 0x00000000}, {0x0186, 0x00000000}, {0x0187, 0x00000000}, {0x0188, 0x00000000}, 1554{0x0189, 0x00000000}, {0x018a, 0x00000000}, {0x018b, 0x00000000}, {0x018c, 0x00000000}, 1555{0x018d, 0x00000000}, {0x018e, 0x00000000}, {0x010f, 0x3f800000}, {0x0111, 0x3f800000}, 1556{0x0113, 0x3f800000}, {0x0110, 0x00000000}, {0x0112, 0x00000000}, {0x0114, 0x00000000}, 1557{0x0094, 0x80000000}, {0x0095, 0x40004000}, {0x00b4, 0x00000000}, {0x00b5, 0x00000000}, 1558{0x0115, 0x3f800000}, {0x0117, 0x3f800000}, {0x0119, 0x3f800000}, {0x0116, 0x00000000}, 1559{0x0118, 0x00000000}, {0x011a, 0x00000000}, {0x0096, 0x80000000}, {0x0097, 0x40004000}, 1560{0x00b6, 0x00000000}, {0x00b7, 0x00000000}, {0x011b, 0x3f800000}, {0x011d, 0x3f800000}, 1561{0x011f, 0x3f800000}, {0x011c, 0x00000000}, {0x011e, 0x00000000}, {0x0120, 0x00000000},First 10 of 48 lines, the second copy on the right.
- 41 lines in 5 placescpp-header1,199 tokenscore/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1007–1047core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1287–1327core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1899–1939core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2197–2237core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2477–2517
1007{0x008b, 0x00000000}, {0x010b, 0x00000000}, {0x000b, 0x00000000}, {0x0224, 0x00000000}, 1008{0x0225, 0x00000000}, {0x0226, 0x00000000}, {0x0227, 0x00000000}, {0x0107, 0xffff0000}, 1009{0x0087, 0x0000ffff}, {0x0007, 0x0000ffff}, {0x020c, 0x00000000}, {0x020d, 0x00000000}, 1010{0x00c8, 0x00000000}, {0x00c9, 0x00000000}, {0x0088, 0x00000000}, {0x0089, 0x00000000}, 1011{0x0108, 0x00000000}, {0x0109, 0x00000000}, {0x0148, 0x00000000}, {0x0149, 0x00000000}, 1012{0x0008, 0x00000000}, {0x0009, 0x00000000}, {0x0280, 0x00000000}, {0x00b2, 0x00000000}, 1013{0x00b3, 0x00000000}, {0x00b4, 0x00000000}, {0x00b5, 0x00000000}, {0x0132, 0x00000000}, 1014{0x0133, 0x00000000}, {0x0134, 0x00000000}, {0x0135, 0x00000000}, {0x0032, 0x00000000}, 1015{0x0033, 0x00000000}, {0x0034, 0x00000000}, {0x0035, 0x00000000}, {0x0082, 0x00000000}, 1016{0x0083, 0x00000000}, {0x0102, 0x00000000}, {0x0103, 0x00000000}, {0x0240, 0x00000000},1287{0x010b, 0x00000000}, {0x000b, 0x00000000}, {0x0224, 0x00000000}, {0x0225, 0x00000000}, 1288{0x0226, 0x00000000}, {0x0227, 0x00000000}, {0x0107, 0xffff0000}, {0x0087, 0x0000ffff}, 1289{0x0007, 0x0000ffff}, {0x020c, 0x00000000}, {0x020d, 0x00000000}, {0x00c8, 0x00000000}, 1290{0x00c9, 0x00000000}, {0x0088, 0x00000000}, {0x0089, 0x00000000}, {0x0108, 0x00000000}, 1291{0x0109, 0x00000000}, {0x0148, 0x00000000}, {0x0149, 0x00000000}, {0x0008, 0x00000000}, 1292{0x0009, 0x00000000}, {0x0280, 0x00000000}, {0x00b2, 0x00000000}, {0x00b3, 0x00000000}, 1293{0x00b4, 0x00000000}, {0x00b5, 0x00000000}, {0x0132, 0x00000000}, {0x0133, 0x00000000}, 1294{0x0134, 0x00000000}, {0x0135, 0x00000000}, {0x0032, 0x00000000}, {0x0033, 0x00000000}, 1295{0x0034, 0x00000000}, {0x0035, 0x00000000}, {0x0082, 0x00000000}, {0x0083, 0x00000000}, 1296{0x0102, 0x00000000}, {0x0103, 0x00000000}, {0x0240, 0x00000000}, {0x0241, 0x00000000},First 10 of 41 lines, the second copy on the right.
- 64 lines in 3 placescpp-header2,006 tokenscore/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:888–951core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1778–1841core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2076–2138
888{0x0309, 0x00000000}, {0x030a, 0x00000000}, {0x030b, 0x00000000}, {0x030c, 0x00000000}, 889{0x030d, 0x00000000}, {0x030e, 0xffffffff}, {0x030f, 0xffffffff}, {0x0311, 0x01fd2002}, 890{0x0312, 0x03ff0080}, {0x0105, 0x00000000}, {0x0106, 0x00000000}, {0x0107, 0x00000000}, 891{0x0108, 0x00000000}, {0x01e0, 0x20010001}, {0x01e1, 0x20010001}, {0x01e2, 0x20010001}, 892{0x01e3, 0x20010001}, {0x01e4, 0x20010001}, {0x01e5, 0x20010001}, {0x01e6, 0x20010001}, 893{0x01e7, 0x20010001}, {0x0020, 0x00000000}, {0x0021, 0x00000000}, {0x0084, 0x00000000}, 894{0x0085, 0x20002000}, {0x0086, 0x00000000}, {0x0087, 0x20002000}, {0x0088, 0x00000000}, 895{0x0089, 0x20002000}, {0x008a, 0x00000000}, {0x008b, 0x20002000}, {0x00db, 0x00000000}, 896{0x0008, 0x00000000}, {0x0009, 0x00000000}, {0x0010, 0x80000180}, {0x0011, 0x20000180}, 897{0x0012, 0x00000000}, {0x0013, 0x00000000}, {0x0014, 0x00000000}, {0x0015, 0x00000000},1778{0x0308, 0x00000000}, {0x0309, 0x00000000}, {0x030a, 0x00000000}, {0x030b, 0x00000000}, 1779{0x030c, 0x00000000}, {0x030d, 0x00000000}, {0x030e, 0xffffffff}, {0x030f, 0xffffffff}, 1780{0x0311, 0x01fd2002}, {0x0312, 0x03ff0080}, {0x0105, 0x00000000}, {0x0106, 0x00000000}, 1781{0x0107, 0x00000000}, {0x0108, 0x00000000}, {0x01e0, 0x20010001}, {0x01e1, 0x20010001}, 1782{0x01e2, 0x20010001}, {0x01e3, 0x20010001}, {0x01e4, 0x20010001}, {0x01e5, 0x20010001}, 1783{0x01e6, 0x20010001}, {0x01e7, 0x20010001}, {0x0020, 0x00000000}, {0x0021, 0x00000000}, 1784{0x0084, 0x00000000}, {0x0085, 0x20002000}, {0x0086, 0x00000000}, {0x0087, 0x20002000}, 1785{0x0088, 0x00000000}, {0x0089, 0x20002000}, {0x008a, 0x00000000}, {0x008b, 0x20002000}, 1786{0x00db, 0x00000000}, {0x0008, 0x00000000}, {0x0009, 0x00000000}, {0x0010, 0x80000180}, 1787{0x0011, 0x20000180}, {0x0012, 0x00000000}, {0x0013, 0x00000000}, {0x0014, 0x00000000},First 10 of 64 lines, the second copy on the right.
7 more
- 96 lines in 2 placescpp-header2,946 tokens
- 81 lines in 2 placescpp-header2,540 tokens
- 76 lines in 2 placescpp-header2,393 tokens
- 49 lines in 2 placescpp-header1,529 tokens
- 44 lines in 2 placescpp-header1,309 tokens
- 17 lines in 4 placescpp-header423 tokens
- 39 lines in 2 placescpp-header1,146 tokens
Largest clones over all files, tests and data included
- 30 lines in 32 placescpptests487 tokenscore/libs/prx/libSceAgcDriver/tests/execution/BufferAtomics.cpp:63–92core/libs/prx/libSceAgcDriver/tests/execution/BufferAtomicsFloat.cpp:131–160core/libs/prx/libSceAgcDriver/tests/execution/BufferAtomicsIncDec64.cpp:123–152core/libs/prx/libSceAgcDriver/tests/execution/DivisionOutputModifiers.cpp:138–167core/libs/prx/libSceAgcDriver/tests/execution/Dpp16Operands.cpp:130–159and 27 more
63 Require(actual == expected, std::string("buffer atomics: lane ") + std::to_string(tid) + " " + name + " is " + Hex(actual) + ", expected " + Hex(expected)); 64} 65 66void Run(AgcDriver::VulkanDevice& device) { 67 for (std::uint32_t tid = 0; tid < Threads; ++tid) Fill(tid, &Input[tid * Inputs]); 68 Output.fill(0xdeadbeefu); 69 std::vector<std::uint32_t> userData(8, 0u); 70 const auto input = BufferDescriptor(Input.data(), static_cast<std::uint32_t>(Input.size() * 4u)); 71 const auto output = BufferDescriptor(Output.data(), static_cast<std::uint32_t>(Output.size() * 4u)); 72 std::copy(input.begin(), input.end(), userData.begin());First 10 of 30 lines.
- 48 lines in 6 placescpp-header1,415 tokenscore/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:660–707core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1552–1598core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1839–1886core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2137–2184core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2417–2464and 1 more
660{0x017e, 0x00000000}, {0x017f, 0x00000000}, {0x0180, 0x00000000}, {0x0181, 0x00000000}, 661{0x0182, 0x00000000}, {0x0183, 0x00000000}, {0x0184, 0x00000000}, {0x0185, 0x00000000}, 662{0x0186, 0x00000000}, {0x0187, 0x00000000}, {0x0188, 0x00000000}, {0x0189, 0x00000000}, 663{0x018a, 0x00000000}, {0x018b, 0x00000000}, {0x018c, 0x00000000}, {0x018d, 0x00000000}, 664{0x018e, 0x00000000}, {0x010f, 0x3f800000}, {0x0111, 0x3f800000}, {0x0113, 0x3f800000}, 665{0x0110, 0x00000000}, {0x0112, 0x00000000}, {0x0114, 0x00000000}, {0x0094, 0x80000000}, 666{0x0095, 0x40004000}, {0x00b4, 0x00000000}, {0x00b5, 0x00000000}, {0x0115, 0x3f800000}, 667{0x0117, 0x3f800000}, {0x0119, 0x3f800000}, {0x0116, 0x00000000}, {0x0118, 0x00000000}, 668{0x011a, 0x00000000}, {0x0096, 0x80000000}, {0x0097, 0x40004000}, {0x00b6, 0x00000000}, 669{0x00b7, 0x00000000}, {0x011b, 0x3f800000}, {0x011d, 0x3f800000}, {0x011f, 0x3f800000},1552{0x0181, 0x00000000}, {0x0182, 0x00000000}, {0x0183, 0x00000000}, {0x0184, 0x00000000}, 1553{0x0185, 0x00000000}, {0x0186, 0x00000000}, {0x0187, 0x00000000}, {0x0188, 0x00000000}, 1554{0x0189, 0x00000000}, {0x018a, 0x00000000}, {0x018b, 0x00000000}, {0x018c, 0x00000000}, 1555{0x018d, 0x00000000}, {0x018e, 0x00000000}, {0x010f, 0x3f800000}, {0x0111, 0x3f800000}, 1556{0x0113, 0x3f800000}, {0x0110, 0x00000000}, {0x0112, 0x00000000}, {0x0114, 0x00000000}, 1557{0x0094, 0x80000000}, {0x0095, 0x40004000}, {0x00b4, 0x00000000}, {0x00b5, 0x00000000}, 1558{0x0115, 0x3f800000}, {0x0117, 0x3f800000}, {0x0119, 0x3f800000}, {0x0116, 0x00000000}, 1559{0x0118, 0x00000000}, {0x011a, 0x00000000}, {0x0096, 0x80000000}, {0x0097, 0x40004000}, 1560{0x00b6, 0x00000000}, {0x00b7, 0x00000000}, {0x011b, 0x3f800000}, {0x011d, 0x3f800000}, 1561{0x011f, 0x3f800000}, {0x011c, 0x00000000}, {0x011e, 0x00000000}, {0x0120, 0x00000000},First 10 of 48 lines, the second copy on the right.
- 17 lines in 45 placescpptests119 tokenscore/libs/prx/libSceAgcDriver/tests/execution/BufferAtomicsFloat.cpp:10–26core/libs/prx/libSceAgcDriver/tests/execution/BufferAtomicsIncDec64.cpp:10–26core/libs/prx/libSceAgcDriver/tests/execution/DivFixupF16.cpp:10–26core/libs/prx/libSceAgcDriver/tests/execution/DivisionOutputModifiers.cpp:10–26core/libs/prx/libSceAgcDriver/tests/execution/DivisionResultModifiers.cpp:10–26and 40 more
10#include <cstdio> 11#include <iostream> 12#include <string> 13#include <vector> 14 15namespace { 16 17using AgcDriver::Graphics::Require; 18using ShaderRecompiler::ShaderStage; 19First 10 of 17 lines.
- 41 lines in 5 placescpp-header1,199 tokenscore/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1007–1047core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1287–1327core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:1899–1939core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2197–2237core/libs/prx/libSceAgc/Command/include/RegisterDefaultsData.hpp:2477–2517
- 21 lines in 51 placescpptests90 tokenscore/libs/prx/libSceAgcDriver/tests/execution/BufferAtomics.cpp:1–21core/libs/prx/libSceAgcDriver/tests/execution/BufferAtomicsFloat.cpp:1–21core/libs/prx/libSceAgcDriver/tests/execution/BufferAtomicsIncDec64.cpp:1–21core/libs/prx/libSceAgcDriver/tests/execution/DivFixupF16.cpp:1–21core/libs/prx/libSceAgcDriver/tests/execution/DivisionOutputModifiers.cpp:1–21and 46 more
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| cpp | 625 | 173,825 | 443 | 4,228 | 2.43% |
| cpp-header | 412 | 36,257 | 127 | 2,037 | 5.62% |
| c | 1 | 165 | 1 | 7 | 4.24% |
| python | 11 | 2,206 | 0 | 0 | 0% |
| bash | 9 | 694 | 0 | 0 | 0% |
| perl | 1 | 168 | 0 | 0 | 0% |
| c-header | 3 | 114 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| cpp | 1,358 | 324,239 | 3,123 | 38,636 | 11.92% |
| cpp-header | 426 | 38,514 | 128 | 2,049 | 5.32% |
| python | 94 | 11,862 | 32 | 307 | 2.59% |
| txt | 87 | 8,232 | 6 | 72 | 0.87% |
| yaml | 12 | 836 | 3 | 35 | 4.19% |
| c | 3 | 215 | 1 | 7 | 3.26% |
| markdown | 12 | 1,396 | 0 | 0 | 0% |
| bash | 12 | 729 | 0 | 0 | 0% |
| cmake | 12 | 565 | 0 | 0 | 0% |
| perl | 1 | 168 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Oct 12, 2026 | #2 | 30,727 (+3,952) | 2,023 | 386,931 | 3,293 | 10.62% | 2.94% | D 43.9 | b42ef24 |
| Oct 11, 2026 | #2 | 27,387 (+5,805) | 1,865 | 344,928 | 2,818 | 10.55% | 3.02% | D 44.4 | f5c0fe0 |
| Oct 10, 2026 | #2 | 23,100 (+5,868) | 1,713 | 304,888 | 2,253 | 9.79% | 2.96% | D 46 | b7bb268 |
| Oct 9, 2026 | #1 | 16,667 (+4,669) | 1,592 | 281,307 | 2,160 | 10.19% | 3.03% | D 45.4 | f145139 |
| Oct 8, 2026 | #2 | 11,338 (+2,716) | 1,495 | 258,417 | 1,846 | 9.73% | 3.12% | D 46.3 | c8a2f06 |
| Oct 7, 2026 | #3 | 6,933 (+949) | 1,439 | 247,567 | 1,698 | 9.51% | 3.29% | D 46.6 | 9ab937b |
| Oct 6, 2026 | #4 | 5,099 (+997) | 1,404 | 243,889 | 1,651 | 9.41% | 3.46% | D 46.8 | 109a328 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.