aws-samples / amazon-sagemaker-integration-with-snowflake
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
  • 32% duplication:
    • 1,183 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 383 duplicated lines
  • 74 duplicates
system32% (383 lines)
Duplication per Extension
yml44% (371 lines)
py3% (12 lines)
Duplication per Component (primary)
customer-stack32% (383 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 74 duplicates...
Size#FoldersFilesLinesCode
25 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
121:145 (3%)
193:217 (3%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
497:511 (1%)
532:546 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
462:476 (1%)
637:651 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
497:511 (1%)
672:686 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
462:476 (1%)
532:546 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
532:546 (1%)
602:616 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
462:476 (1%)
567:581 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
462:476 (1%)
672:686 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
497:511 (1%)
637:651 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
602:616 (1%)
637:651 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
602:616 (1%)
672:686 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
388:402 (1%)
497:511 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
497:511 (1%)
567:581 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
497:511 (1%)
602:616 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
388:402 (1%)
602:616 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
388:402 (1%)
567:581 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
388:402 (1%)
462:476 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
388:402 (1%)
672:686 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
388:402 (1%)
532:546 (1%)
view
15 x 2 customer-stack
customer-stack
customer-stack.yml
customer-stack.yml
637:651 (1%)
672:686 (1%)
view