aws-samples / aws-datasync-verified-file-transfer-sqs-queue
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
  • 24% duplication:
    • 261 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 65 duplicated lines
  • 8 duplicates
system24% (65 lines)
Duplication per Extension
yml38% (65 lines)
Duplication per Component (primary)
ROOT38% (65 lines)
datasync_log_prep0% (0 lines)
datasync_log0% (0 lines)
Longest Duplicates
The list of 8 longest duplicates.
See data for all 8 duplicates...
Size#FoldersFilesLinesCode
13 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
20:32 (7%)
63:75 (7%)
view
9 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
47:55 (5%)
80:88 (5%)
view
6 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
34:39 (3%)
77:82 (3%)
view
6 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
34:39 (3%)
101:106 (3%)
view
6 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
34:39 (3%)
111:116 (3%)
view
6 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
77:82 (3%)
111:116 (3%)
view
6 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
77:82 (3%)
101:106 (3%)
view
6 x 2 ROOT
ROOT
datasynclog.yml
datasynclog.yml
101:106 (3%)
111:116 (3%)
view