5 views
JiaFeiMiao-K-Cat/DiscImageStudio
C#★ 7,405+984 that day#12 on trending
C62.4/100
Duplication83
2.3% in csharp, powershell, pythonDead coden/a
the languages dead code reads are under 5% of the codeComplexity47
55.4% 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.73%duplicated code · 913 of 52,847 lines
85clones in code
254code files of 463 scanned
4.42%duplicated over all files · 288 clones
Most complex files
- src/DiscImageStudio.App/Controls/CalibrationPhotoCanvas.cs370 cx
- src/DiscImageStudio.App/ViewModels/CalibrationViewModel.cs271 cx
- src/DiscImageStudio.App/ViewModels/LivePreviewViewModel.cs231 cx
- tests/DiscImageStudio.ArchitectureTests/CalibrationPhotoViewModelTests.cs227 cx
- src/DiscImageStudio.Core/Calibration/CalibrationTarget.cs209 cx
- src/DiscImageStudio.App/ViewModels/ShellViewModel.cs201 cx
- src/DiscImageStudio.Core/DvdTrackGeometry.cs200 cx
- src/DvdImageSolver/Program.cs197 cx
- src/DiscImageStudio.App/MainWindow.xaml.cs182 cx
- src/DiscImageStudio.Burning/WindowsImapiBurner.cs168 cx
Dead code 0% unused · 0 findings
No dead code found — everything here is reachable.
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 1 generated file: src/DvdImageSolver/Encoding/EfmPlusTables.Generated.cs.
Largest clones in the code
- 33 lines in 2 placescsharp273 tokens
779 destination[0] = checked((byte)(year - 1900)); 780 destination[1] = checked((byte)utc.Month); 781 destination[2] = checked((byte)utc.Day); 782 destination[3] = checked((byte)utc.Hour); 783 destination[4] = checked((byte)utc.Minute); 784 destination[5] = checked((byte)utc.Second); 785 destination[6] = 0; 786} 787 788private static void WriteVolumeDate(Span<byte> destination, DateTimeOffset timestamp)First 10 of 33 lines.
- 17 lines in 3 placescsharp94 tokenssrc/DiscImageStudio.App/Services/RecentJobStore.cs:102–118src/DiscImageStudio.App/Services/RecentProjectStore.cs:113–129src/DiscImageStudio.App/Services/RecentTemplateStore.cs:81–97
102private void Save(IReadOnlyList<RecentJobEntry> entries) 103{ 104 try 105 { 106 string? directory = Path.GetDirectoryName(_filePath); 107 if (!string.IsNullOrEmpty(directory)) 108 { 109 Directory.CreateDirectory(directory); 110 } 111First 10 of 17 lines.
- 14 lines in 2 placescsharp173 tokenssrc/DiscImageStudio.App/Controls/CalibrationPhotoCanvas.cs:646–659src/DiscImageStudio.App/Controls/CalibrationPhotoCanvas.cs:669–682
646 DrawRingSegment(dc, ring.RadiusMm, start - pad, sweep + 2 * pad, new Pen(DiscTheme.Trace, 1.6)); 647} 648for (int i = 0; i < points.Count; i++) 649{ 650 var position = WorldToView(new Point(points[i].X, points[i].Y)); 651 dc.DrawEllipse(DiscTheme.HubOutline, new Pen(DiscTheme.Outline, 1), position, 3.5, 3.5); 652 var label = Text((i + 1).ToString(CultureInfo.CurrentCulture), 11, DiscTheme.Handle); 653 Point at = position + new Vector(5, -label.Height); 654 dc.DrawRoundedRectangle(DiscTheme.Caption, null, new Rect(at.X - 2, at.Y, label.Width + 4, label.Height), 2, 2); 655 dc.DrawText(label, at);First 10 of 14 lines.
7 more
- 13 lines in 3 placescsharp75 tokens
- 18 lines in 2 placescsharp131 tokens
- 14 lines in 2 placescsharp124 tokens
- 19 lines in 2 placescsharp117 tokens
- 16 lines in 2 placescsharp106 tokens
- 8 lines in 2 placescsharp104 tokens
- 6 lines in 2 placescsharp103 tokens
Largest clones over all files, tests and data included
- 506 lines in 2 placestxtdocs and examples5,229 tokens
844-------------------------------------------------------------------- 845 846Developed by: 847 848 LLVM Team 849 850 University of Illinois at Urbana-Champaign 851 852 http://llvm.org 853First 10 of 506 lines.
- 383 lines in 2 placestxtdocs and examples3,971 tokens
461License notice for Mono 462------------------------------- 463 464http://www.mono-project.com/docs/about-mono/ 465 466Copyright (c) .NET Foundation Contributors 467 468MIT License 469 470Permission is hereby granted, free of charge, to any person obtaining a copyFirst 10 of 383 lines.
- 283 lines in 2 placestxtdocs and examples3,701 tokens
1350----------------------------------- 1351 1352Copyright 2019 LLVM Project 1353 1354Licensed under the Apache License, Version 2.0 (the "License") with LLVM Exceptions; 1355you may not use this file except in compliance with the License. 1356You may obtain a copy of the License at 1357 1358https://llvm.org/LICENSE.txt 1359First 10 of 283 lines.
- 17 lines in 15 placestxtdocs and examples191 tokens
- 19 lines in 5 placestxtdocs and examples234 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| csharp | 243 | 51,505 | 84 | 907 | 1.76% |
| python | 6 | 715 | 1 | 6 | 0.84% |
| powershell | 5 | 627 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| csharp | 361 | 79,872 | 176 | 1,831 | 2.29% |
| txt | 2 | 3,267 | 93 | 2,427 | 74.29% |
| markdown | 28 | 4,206 | 8 | 85 | 2.02% |
| powershell | 24 | 1,113 | 8 | 42 | 3.77% |
| json | 27 | 10,033 | 1 | 11 | 0.11% |
| python | 7 | 755 | 1 | 6 | 0.79% |
| yaml | 3 | 466 | 1 | 11 | 2.36% |
| text | 10 | 128 | 0 | 0 | 0% |
| mermaid | 1 | 16 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 6, 2026 | #12 | 7,405 (+984) | 463 | 99,856 | 288 | 4.42% | 1.73% | C 62.4 | b86404f |
| Nov 5, 2026 | #8 | 6,771 (+1,778) | 440 | 95,076 | 272 | 4.46% | 1.73% | C 63.5 | 3a5cde6 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.