aws-samples / aws-dax-go-sample
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
  • 14% duplication:
    • 241 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 36 duplicated lines
  • 6 duplicates
system14% (36 lines)
Duplication per Extension
go17% (36 lines)
Duplication per Component (primary)
ROOT14% (36 lines)
Longest Duplicates
The list of 6 longest duplicates.
See data for all 6 duplicates...
Size#FoldersFilesLinesCode
6 x 2 ROOT
ROOT
try_dax.go
try_dax.go
207:214 (2%)
236:243 (2%)
view
6 x 2 ROOT
ROOT
try_dax.go
try_dax.go
194:203 (2%)
225:232 (2%)
view
6 x 2 ROOT
ROOT
try_dax.go
try_dax.go
225:232 (2%)
246:253 (2%)
view
6 x 2 ROOT
ROOT
try_dax.go
try_dax.go
175:182 (2%)
207:214 (2%)
view
6 x 2 ROOT
ROOT
try_dax.go
try_dax.go
175:182 (2%)
236:243 (2%)
view
6 x 2 ROOT
ROOT
try_dax.go
try_dax.go
194:203 (2%)
246:253 (2%)
view