Duplication Overall
  • 5% duplication:
    • 1,306 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 72 duplicated lines
  • 4 duplicates
system5% (72 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go3% (38 lines)
yaml10% (34 lines)
Duplication per Component (primary)
cloudformation18% (22 lines)
cmd4% (19 lines)
internal4% (19 lines)
.github32% (12 lines)
k8s0% (0 lines)
pkg0% (0 lines)
Longest Duplicates
The list of 4 longest duplicates.
See data for all 4 duplicates...
Size#FoldersFilesLinesCode
11 x 2 cloudformation
cloudformation
53:63 (9%)
89:99 (9%)
view
11 x 2 cmd/api/handlers
internal/s3utils
16:35 (22%)
16:35 (29%)
view
8 x 2 cmd/api/handlers
internal/s3utils
40:48 (16%)
40:48 (33%)
view
6 x 2 .github
.github
19:24 (16%)
33:38 (16%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
9 x 2 cmd/api/handlers
internal/s3utils
39:49 
39:49 
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...