Duplication Overall
  • 9% duplication:
    • 860 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 84 duplicated lines
  • 5 duplicates
system9% (84 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
swift9% (84 lines)
Duplication per Component (primary)
Sources9% (72 lines)
Example13% (6 lines)
ROOT16% (6 lines)
Plugins0% (0 lines)
Longest Duplicates
The list of 5 longest duplicates.
See data for all 5 duplicates...
Size#FoldersFilesLinesCode
11 x 2 Sources/SwiftBuffet
Sources/SwiftBuffet
53:65 (5%)
80:92 (5%)
view
10 x 2 Sources/SwiftBuffet
Sources/SwiftBuffet
107:116 (5%)
157:166 (5%)
view
9 x 2 Sources/SwiftBuffet
Sources/SwiftBuffet
122:131 (4%)
173:182 (4%)
view
6 x 2 Sources/SwiftBuffet
Sources/SwiftBuffet
10:17 (7%)
131:138 (7%)
view
6 x 2 Example
ROOT
6:11 (26%)
6:11 (16%)
view
About This Analysis
  • 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...