aws-samples / aws-codepipeline-bitbucket-integration
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
  • 44% duplication:
    • 640 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 284 duplicated lines
  • 15 duplicates
system44% (284 lines)
Duplication per Extension
yaml53% (284 lines)
Duplication per Component (primary)
ROOT50% (142 lines)
infra57% (142 lines)
code0% (0 lines)

Duplication Between Components (50+ lines)

G infra infra ROOT ROOT infra--ROOT 284

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 15 longest duplicates.
See data for all 15 duplicates...
Size#FoldersFilesLinesCode
18 x 2 infra
ROOT
infra.yaml
package.yaml
196:215 (7%)
211:228 (6%)
view
16 x 2 infra
ROOT
infra.yaml
package.yaml
10:25 (6%)
8:23 (5%)
view
13 x 2 infra
ROOT
infra.yaml
package.yaml
229:242 (5%)
245:257 (4%)
view
12 x 2 infra
ROOT
infra.yaml
package.yaml
83:94 (4%)
91:102 (4%)
view
11 x 2 infra
ROOT
infra.yaml
package.yaml
103:113 (4%)
112:122 (3%)
view
9 x 2 infra
ROOT
infra.yaml
package.yaml
60:69 (3%)
70:78 (3%)
view
9 x 2 infra
ROOT
infra.yaml
package.yaml
185:194 (3%)
200:208 (3%)
view
8 x 2 infra
ROOT
infra.yaml
package.yaml
256:264 (3%)
274:281 (2%)
view
7 x 2 infra
ROOT
infra.yaml
package.yaml
139:145 (2%)
148:154 (2%)
view
7 x 2 infra
ROOT
infra.yaml
package.yaml
176:183 (2%)
192:198 (2%)
view
7 x 2 infra
ROOT
infra.yaml
package.yaml
115:122 (2%)
124:130 (2%)
view
7 x 2 infra
ROOT
infra.yaml
package.yaml
125:131 (2%)
133:139 (2%)
view
6 x 2 infra
ROOT
infra.yaml
package.yaml
249:254 (2%)
266:271 (2%)
view
6 x 2 infra
ROOT
infra.yaml
package.yaml
33:38 (2%)
35:40 (2%)
view
6 x 2 infra
ROOT
infra.yaml
package.yaml
169:174 (2%)
185:190 (2%)
view