3 views

XiaoYouChR/Ghost-Downloader-3

The only downloader you need. 下载器的集大成者。

Python★ 15,444+701 that day#9 on trending

Analyzed November 23, 2026 at ec3e071 (main) with jscpd v5 in 2.2s. Code duplication stayed at 1.55% across 4 appearances since Nov 20.

E14.5/100
Project health170,548 lines of code (L)
Duplication1
55.2% in typescript, python, tsx, c, javascript, bash, cmake
Dead code39
10.3%
Complexity66
30.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.

1.55%duplicated code · 829 of 53,581 lines
80clones in code
252code files of 405 scanned
51.04%duplicated over all files · 13,005 clones

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

Largest clones in the code

  • 23 lines in 2 placespython187 tokens
    166        parent.appendRow([nameItem, sizeItem, startItem, endItem])
    167
    168def _initLayout(self) -> None:
    169    actionsLayout = QHBoxLayout()
    170    actionsLayout.setContentsMargins(0, 0, 0, 0)
    171    actionsLayout.setSpacing(8)
    172    actionsLayout.addWidget(self.selectAllButton)
    173    actionsLayout.addWidget(self.clearButton)
    174    actionsLayout.addWidget(self.invertButton)
    175    actionsLayout.addStretch(1)
    

    First 10 of 23 lines.

  • 15 lines in 2 placespython160 tokens
    254self._trackBar.videoButton.setOptions(buildVideoTiers(mediaInfo, self.tr("最佳画质")))
    255self._trackBar.audioButton.setOptions(buildAudioTiers(mediaInfo, self.tr("最佳音质")))
    256self._audioLanguageChoices = buildAudioLanguageChoices(mediaInfo)
    257self._audioLanguageButton.setTrackEnabled(bool(self._audioLanguageChoices))
    258if self._audioLanguageChoices and not task.audioLanguages:
    259    task.setAudioLanguages(self._audioLanguageChoices[0][0])
    260    self._audioLanguageButton.setChecked(True)
    261choices, autoLangs = buildSubtitleChoices(mediaInfo, self.tr("自动"))
    262self._subtitleChoices = choices
    263self._autoLangs = autoLangs
    
    437self._trackBar.videoButton.setOptions(buildVideoTiers(mediaInfo, self.tr("最佳画质")))
    438self._trackBar.audioButton.setOptions(buildAudioTiers(mediaInfo, self.tr("最佳音质")))
    439self._audioLanguageChoices = buildAudioLanguageChoices(mediaInfo)
    440self._audioLanguageButton.setTrackEnabled(bool(self._audioLanguageChoices))
    441if self._audioLanguageChoices and not task.audioLanguages:
    442    task.setAudioLanguages(self._audioLanguageChoices[0][0])
    443    self._audioLanguageButton.setChecked(True)
    444
    445choices, autoLangs = buildSubtitleChoices(mediaInfo, self.tr("自动"))
    446self._subtitleChoices = choices
    

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

  • 20 lines in 2 placespython140 tokens
    39def parseTimeInput(text: str) -> int:
    40    text = text.strip()
    41    if not text:
    42        return 0
    43    parts = text.split(":")
    44    try:
    45        if len(parts) == 2:
    46            return int(parts[0]) * 60 + int(parts[1])
    47        if len(parts) == 3:
    48            return int(parts[0]) * 3600 + int(parts[1]) * 60 + int(parts[2])
    

    First 10 of 20 lines.

7 more
Largest clones over all files, tests and data included
By format, code only
FormatFilesLinesClonesDuplicated linesDuplication
python19140,901757631.87%
tsx163,1044601.93%
typescript408,040160.07%
c21,108000%
javascript2379000%
bash149000%
By format, all files
FormatFilesLinesClonesDuplicated linesDuplication
typescript57116,34812,87293,13580.05%
python24649,540979371.89%
json1610,235134023.93%
markdown442,35491626.88%
yaml142,3988943.92%
tsx163,1044601.93%
markup311024440%
c21,108000%
javascript2379000%
txt179000%

Trending appearances

DayRankStarsFilesLinesClonesAll filesCodeHealthCommit
Nov 23, 2026#915,444 (+701)405185,81113,00551.04%1.55%E 14.5ec3e071
Nov 22, 2026#914,577 (+779)398177,09512,24550.62%1.55%E 14.7e59c67a
Nov 21, 2026#913,871 (+1,082)398177,01712,24550.64%1.55%E 14.7aa5b375
Nov 20, 2026#912,972 (+341)393144,7627,89140.92%1.55%E 16.90c56e25

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