amazon-connect / amazon-connect-salesforce-lambda
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:
    • 3,373 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 831 duplicated lines
  • 216 duplicates
system24% (831 lines)
Duplication per Extension
yaml41% (638 lines)
py10% (193 lines)
Duplication per Component (primary)
lambda_functions24% (831 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 216 duplicates...
Size#FoldersFilesLinesCode
27 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
1093:1119 (1%)
1125:1151 (1%)
view
19 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
509:527 (1%)
541:559 (1%)
view
18 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
936:953 (1%)
961:978 (1%)
view
18 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
626:643 (1%)
677:694 (1%)
view
18 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
601:618 (1%)
626:643 (1%)
view
18 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
601:618 (1%)
677:694 (1%)
view
17 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
320:336 (1%)
509:525 (1%)
view
17 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
320:336 (1%)
541:557 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
997:1012 (1%)
1136:1151 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
769:784 (1%)
811:826 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
1072:1087 (1%)
1104:1119 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
1072:1087 (1%)
1136:1151 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
769:784 (1%)
859:874 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
997:1012 (1%)
1072:1087 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
997:1012 (1%)
1104:1119 (1%)
view
16 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
811:826 (1%)
859:874 (1%)
view
15 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
677:691 (<1%)
811:825 (<1%)
view
15 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
626:640 (<1%)
811:825 (<1%)
view
15 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
677:691 (<1%)
769:783 (<1%)
view
15 x 2 sam-app/lambda_functions
sam-app/lambda_functions
template.yaml
template.yaml
626:640 (<1%)
769:783 (<1%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
10 x 2 sam-app/lambda_functions
sam-app/lambda_functions
sfProcessContactLens.py
sfProcessTranscriptionResult.py
0:0 
0:0 
view