aws-quickstart / quickstart-documentation-base-common
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
  • 57% duplication:
    • 857 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 497 duplicated lines
  • 32 duplicates
system57% (497 lines)
Duplication per Extension
adoc58% (497 lines)
Duplication per Component (primary)
ROOT57% (497 lines)
Longest Duplicates
The list of 20 longest duplicates.
See data for all 32 duplicates...
Size#FoldersFilesLinesCode
46 x 2 ROOT
ROOT
adoc
_layout_cfn.adoc
_layout_cfn_cdk_module.adoc
2:53 (45%)
1:52 (48%)
view
27 x 2 ROOT
ROOT
adoc
planning_deployment.adoc
planning_deployment_eks_module.adoc
48:82 (28%)
19:53 (48%)
view
19 x 2 ROOT
ROOT
adoc
_layout_cfn.adoc
_layout_cfn.lang.adoc
105:131 (18%)
101:127 (19%)
view
18 x 2 ROOT
ROOT
adoc
planning_deployment.adoc
planning_deployment.lang.adoc
10:34 (18%)
7:31 (19%)
view
15 x 2 ROOT
ROOT
adoc
_layout_cfn.adoc
_layout_cfn_cdk_module.adoc
77:96 (14%)
76:95 (15%)
view
14 x 2 ROOT
ROOT
adoc
planning_deployment.adoc
planning_deployment.lang.adoc
67:83 (14%)
64:80 (14%)
view
13 x 2 ROOT
ROOT
adoc
planning_deployment.lang.adoc
planning_deployment_eks_module.adoc
64:79 (13%)
38:53 (23%)
view
13 x 2 ROOT
ROOT
adoc
planning_deployment.lang.adoc
planning_deployment_eks_module.adoc
45:62 (13%)
19:36 (23%)
view
13 x 2 ROOT
ROOT
adoc
planning_deployment.adoc
planning_deployment.lang.adoc
48:65 (13%)
45:62 (13%)
view
12 x 2 ROOT
ROOT
adoc
planning_deployment.adoc
planning_deployment_eks_module.adoc
5:17 (12%)
5:17 (21%)
view
12 x 2 ROOT
ROOT
adoc
_layout_cfn.adoc
_layout_cfn_eks_module.adoc
83:96 (11%)
72:85 (14%)
view
12 x 2 ROOT
ROOT
adoc
_layout_cfn_cdk_module.adoc
_layout_cfn_eks_module.adoc
82:95 (12%)
72:85 (14%)
view
12 x 2 ROOT
ROOT
adoc
deployment_steps.adoc
deployment_steps_cdk_module.adoc
3:14 (36%)
1:12 (100%)
view
11 x 2 ROOT
ROOT
adoc
_layout_cfn.adoc
_layout_cfn.lang.adoc
88:102 (10%)
83:98 (11%)
view
11 x 2 ROOT
ROOT
adoc
planning_deployment.adoc
planning_deployment.lang.adoc
85:98 (11%)
82:95 (11%)
view
10 x 2 ROOT
ROOT
adoc
index.adoc
index.lang.adoc
10:21 (27%)
11:22 (45%)
view
10 x 2 ROOT
ROOT
adoc
planning_deployment.adoc
planning_deployment.lang.adoc
36:45 (10%)
33:42 (10%)
view
10 x 2 ROOT
ROOT
adoc
_layout_cfn.adoc
_layout_cfn_eks_module.adoc
33:43 (9%)
21:31 (11%)
view
10 x 2 ROOT
ROOT
adoc
_layout_cfn_cdk_module.adoc
_layout_cfn_eks_module.adoc
32:42 (10%)
21:31 (11%)
view
9 x 2 ROOT
ROOT
adoc
_layout_cfn.adoc
_layout_cfn_cdk_module.adoc
62:72 (8%)
65:75 (9%)
view