1 view

willfaust/Madeira

Run x86-64 Windows PC games on jailed iOS via FEX-Emu + Wine + DXMT

C★ 1,135+81 that day#9 on trending

Analyzed September 30, 2026 at d5a8e0a (main) with jscpd 5.4.0 in 0.7s. Code duplication went from 4.77% on Sep 28 to 4.28% on Sep 30.

D46/100
Project health52,868 lines of code (M)
Duplication55
7.4% in c, swift, c-header, objectivec, bash, cpp, python, javascript, perl
Dead coden/a
the languages dead code reads are under 5% of the code
Complexity38
71.2%

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

4.28%duplicated code · 5,903 of 137,845 lines
634clones in code
239code files of 182 scanned
9.09%duplicated over all files · 262 clones

The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 8 generated files: app/Madeira/ConfigCatalog.generated.swift, build/crypto-unix/gnutls_symtab_ios.c, build/x64-tests/asmconf_tests.h, research/madeira-d3d12/src/pe/madeira_d3d12_stubs.h, research/madeira-d3d12/src/pe/tri_metallib.h, research/madeira-d3d12/tests/windows/tri_dxil.h, research/madeira-d3d12/tests/windows/vfetch_dxil.h, research/remote-metal/wmt_wire.h.

Largest clones in the code

  • 47 lines in 7 placesc1,679 tokens
    1780x26, 0x1e, 0xb0, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1790x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1800x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1810x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1820x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1830x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1840x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1850x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1860x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    1870x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    

    First 10 of 47 lines.

  • 6 lines in 101 placesc86 tokens
    344            STARTS_WITH( var, "XDG_" ));
    345}
    346
    347
    348/***********************************************************************
    349 *           is_ignored_env_var
    
    471    return ret;
    472}
    473
    474
    475/***********************************************************************
    476 *           ntdll_get_build_dir  (ntdll.so)
    
  • 60 lines in 3 placesc2,132 tokens
    2270x00, 0x06, 0x02, 0xc0, 0x69, 0xa0, 0x26, 0x25, 0xeb, 0x4e, 0x4e, 0x4e,
    2280x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2290x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2300x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2310x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2320x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2330x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2340x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2350x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    2360x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e, 0x4e,
    

    First 10 of 60 lines.

7 more
Largest clones over all files, tests and data included
  • 21 lines in 19 placesc-headertests953 tokens
    890x46,0x57,0x26,0x37,0x37,0x25,0x50,0x03,0x00,0x00,0x00,0x00,0x79,0x18,0x00,0x00,
    900x4c,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,
    910x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,
    920x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,
    930xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,
    940x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,
    950x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,
    960x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,
    970x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,
    980x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,
    
    2890x21,0xc3,0x73,0x19,0x7b,0xab,0x73,0xa3,0x2b,0x93,0x9b,0x9b,0x12,0xdc,0x01,0x00,
    2900x79,0x18,0x00,0x00,0x4c,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,
    2910x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,
    2920x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,
    2930xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,
    2940xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,
    2950x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,
    2960x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,
    2970x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,
    2980x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,
    

    First 10 of 21 lines, the second copy on the right.

  • 121 lines in 2 placesc-header5,768 tokens
    730x05,0x28,0x50,0x10,0x05,0x32,0x02,0x50,0x04,0xc5,0x50,0x06,0xa5,0x50,0x18,0x00,
    740x00,0x00,0xb1,0x18,0x00,0x00,0xa9,0x00,0x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,
    750x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,0x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,
    760x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,0xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,
    770x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,0x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,
    780x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,0x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,
    790x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,0x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,
    800x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,0x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,
    810xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,0xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,
    820xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,0x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,
    
    4330x04,0x65,0x50,0x0a,0xc5,0x50,0x18,0x00,0x00,0x00,0xb1,0x18,0x00,0x00,0xa9,0x00,
    4340x00,0x00,0x33,0x08,0x80,0x1c,0xc4,0xe1,0x1c,0x66,0x14,0x01,0x3d,0x88,0x43,0x38,
    4350x84,0xc3,0x8c,0x42,0x80,0x07,0x79,0x78,0x07,0x73,0x98,0x71,0x0c,0xe6,0x00,0x0f,
    4360xed,0x10,0x0e,0xf4,0x80,0x0e,0x33,0x0c,0x42,0x1e,0xc2,0xc1,0x1d,0xce,0xa1,0x1c,
    4370x66,0x30,0x05,0x3d,0x88,0x43,0x38,0x84,0x83,0x1b,0xcc,0x03,0x3d,0xc8,0x43,0x3d,
    4380x8c,0x03,0x3d,0xcc,0x78,0x8c,0x74,0x70,0x07,0x7b,0x08,0x07,0x79,0x48,0x87,0x70,
    4390x70,0x07,0x7a,0x70,0x03,0x76,0x78,0x87,0x70,0x20,0x87,0x19,0xcc,0x11,0x0e,0xec,
    4400x90,0x0e,0xe1,0x30,0x0f,0x6e,0x30,0x0f,0xe3,0xf0,0x0e,0xf0,0x50,0x0e,0x33,0x10,
    4410xc4,0x1d,0xde,0x21,0x1c,0xd8,0x21,0x1d,0xc2,0x61,0x1e,0x66,0x30,0x89,0x3b,0xbc,
    4420x83,0x3b,0xd0,0x43,0x39,0xb4,0x03,0x3c,0xbc,0x83,0x3c,0x84,0x03,0x3b,0xcc,0xf0,
    

    First 10 of 121 lines, the second copy on the right.

  • 502 lines in 2 placestxtdocs and examples4,778 tokens
    1          GNU LESSER GENERAL PUBLIC LICENSE
    2               Version 2.1, February 1999
    3
    4 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
    5 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    6 Everyone is permitted to copy and distribute verbatim copies
    7 of this license document, but changing it is not allowed.
    8
    9[This is the first released version of the Lesser GPL.  It also counts
    10 as the successor of the GNU Library Public License, version 2, hence
    

    First 10 of 502 lines.

  • 102 lines in 2 placesc-header4,693 tokens
  • 482 lines in 2 placestxtdocs and examples4,628 tokens
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
c6899,6745805,3495.37%
python438,918252893.24%
objectivec76,145131131.84%
bash483,64110972.66%
swift3215,0802170.11%
c-header362,9752190.64%
cpp39072192.09%
javascript1331000%
perl1174000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
c-header2310,2621823,43933.51%
c1917,136332441.42%
objectivec157,566221962.59%
txt253,191191,86358.38%
swift3315,3472170.11%
diff82,0692221.06%
markdown237,37511852.51%
bash211,117190.81%
cpp5630000%
python2343000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Sep 30, 2026#91,135 (+81)18265,7322629.09%4.28%D 46d5a8e0a
Sep 28, 2026#7868 (+83)14651,23226211.63%4.77%D 43.98c050d0

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