aws / eks-anywhere-prow-jobs
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
  • 79% duplication:
    • 2,719 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 2,159 duplicated lines
  • 2,463 duplicates
system79% (2,159 lines)
Duplication per Extension
yaml84% (2,159 lines)
Duplication per Component (primary)
jobs/aws/eks-anywhere-build-tooling88% (1,881 lines)
jobs/aws/eks-anywhere76% (261 lines)
jobs/aws/eks-anywhere-prow-jobs56% (17 lines)
config0% (0 lines)
jobs0% (0 lines)
scripts/lint_prowjobs0% (0 lines)

Duplication Between Components (50+ lines)

G jobs/aws/eks-anywhere-build-tooling jobs/aws/eks-anywhere-build-tooling jobs/aws/eks-anywhere jobs/aws/eks-anywhere jobs/aws/eks-anywhere-build-tooling--jobs/aws/eks-anywhere 1995 jobs/aws/eks-anywhere-prow-jobs jobs/aws/eks-anywhere-prow-jobs jobs/aws/eks-anywhere-build-tooling--jobs/aws/eks-anywhere-prow-jobs 519 jobs/aws/eks-anywhere-prow-jobs--jobs/aws/eks-anywhere 128

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 20 longest duplicates.
See data for all 2,463 duplicates...
Size#FoldersFilesLinesCode
55 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
build-tooling-attribution-files-perio...
build-tooling-attribution-files-perio...
41:95 (68%)
38:92 (71%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
cfssl-presubmits.yaml
kustomize-controller-presubmits.yaml
45:76 (51%)
43:74 (53%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
pbnj-presubmits.yaml
tink-presubmits.yaml
45:76 (51%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
hegel-presubmits.yaml
pbnj-presubmits.yaml
45:76 (51%)
45:76 (51%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
redis-presubmits.yaml
tink-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
boots-presubmit.yaml
pbnj-presubmits.yaml
46:77 (50%)
45:76 (51%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
cert-manager-presubmits.yaml
tink-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
cfssl-presubmits.yaml
flux-presubmits.yaml
45:76 (51%)
43:74 (53%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
etcdadm-controller-presubmits.yaml
source-controller-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
etcdadm-controller-presubmits.yaml
tink-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
cert-manager-presubmits.yaml
source-controller-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
flux-presubmits.yaml
tink-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
etcdadm-bootstrap-provider-presubmits...
source-controller-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
cfssl-presubmits.yaml
hegel-presubmits.yaml
45:76 (51%)
45:76 (51%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
boots-presubmit.yaml
etcdadm-controller-presubmits.yaml
46:77 (50%)
43:74 (53%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
etcdadm-bootstrap-provider-presubmits...
tink-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
boots-presubmit.yaml
redis-presubmits.yaml
46:77 (50%)
43:74 (53%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
flux-presubmits.yaml
source-controller-presubmits.yaml
43:74 (53%)
48:79 (49%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
etcdadm-bootstrap-provider-presubmits...
etcdadm-controller-presubmits.yaml
43:74 (53%)
43:74 (53%)
view
32 x 2 jobs/aws/eks-anywhere-build-tooling
jobs/aws/eks-anywhere-build-tooling
etcdadm-bootstrap-provider-presubmits...
redis-presubmits.yaml
43:74 (53%)
43:74 (53%)
view