android / tuningfork
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
  • For duplication, we look at places in code where there are 6 or more lines of code that are exactly the same.
  • Before duplication is calculated, the code is cleaned to remove empty lines, comments, and frequently duplicated constructs such as imports.
  • You should aim at having as little as possible (<5%) of duplicated code as high-level of duplication can lead to maintenance difficulties, poor factoring, and logical contradictions.
Learn more...
Duplication Overall
  • 2% duplication:
    • 3,488 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 98 duplicated lines
  • 14 duplicates
system2% (98 lines)
Duplication per Extension
cs2% (98 lines)
Duplication per Component (primary)
Editor/Scripts2% (53 lines)
Runtime/Scripts/Proto8% (45 lines)
Editor/Scripts/Proto0% (0 lines)
Runtime/Scripts0% (0 lines)

Duplication Between Components (50+ lines)

G Editor/Scripts Editor/Scripts Runtime/Scripts/Proto Runtime/Scripts/Proto Editor/Scripts--Runtime/Scripts/Proto 58

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 14 longest duplicates.
See data for all 14 duplicates...
Size#FoldersFilesLinesCode
12 x 2 Editor/Scripts
Editor/Scripts
ProtocCompiler.cs
ProtocCompiler.cs
77:94 (13%)
124:141 (13%)
view
9 x 2 Runtime/Scripts/Proto
Runtime/Scripts/Proto
Tuningfork.cs
Tuningfork.cs
616:624 (1%)
809:817 (1%)
view
9 x 2 Editor/Scripts
Runtime/Scripts/Proto
FileDescriptorSet.cs
Tuningfork.cs
130:138 (9%)
390:398 (1%)
view
8 x 2 Editor/Scripts
Runtime/Scripts/Proto
FileDescriptorSet.cs
Tuningfork.cs
130:137 (8%)
809:816 (1%)
view
8 x 2 Runtime/Scripts/Proto
Runtime/Scripts/Proto
Tuningfork.cs
Tuningfork.cs
390:397 (1%)
616:623 (1%)
view
8 x 2 Editor/Scripts
Runtime/Scripts/Proto
FileDescriptorSet.cs
Tuningfork.cs
130:137 (8%)
616:623 (1%)
view
8 x 2 Runtime/Scripts/Proto
Runtime/Scripts/Proto
Tuningfork.cs
Tuningfork.cs
390:397 (1%)
809:816 (1%)
view
7 x 2 Editor/Scripts
Editor/Scripts
ProtocCompiler.cs
ProtocCompiler.cs
56:66 (7%)
106:116 (7%)
view
6 x 2 Editor/Scripts
Runtime/Scripts/Proto
FileDescriptorSet.cs
Tuningfork.cs
102:111 (6%)
551:560 (1%)
view
6 x 2 Runtime/Scripts/Proto
Runtime/Scripts/Proto
Tuningfork.cs
Tuningfork.cs
551:560 (1%)
751:760 (1%)
view
6 x 2 Editor/Scripts
Runtime/Scripts/Proto
FileDescriptorSet.cs
Tuningfork.cs
102:111 (6%)
751:760 (1%)
view
6 x 2 Editor/Scripts
Runtime/Scripts/Proto
FileDescriptorSet.cs
Tuningfork.cs
102:111 (6%)
279:288 (1%)
view
6 x 2 Runtime/Scripts/Proto
Runtime/Scripts/Proto
Tuningfork.cs
Tuningfork.cs
279:288 (1%)
551:560 (1%)
view
6 x 2 Runtime/Scripts/Proto
Runtime/Scripts/Proto
Tuningfork.cs
Tuningfork.cs
279:288 (1%)
751:760 (1%)
view