Duplication Overall
  • 17% duplication:
    • 1,288 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 224 duplicated lines
  • 9 duplicates
system17% (224 lines)
dependency graphs: 2D graph | 2D graph (with duplicates)... | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
py80% (114 lines)
yaml7% (34 lines)
xml61% (34 lines)
rb22% (28 lines)
scala2% (14 lines)
Duplication per Component (primary)
scripts54% (142 lines)
src8% (48 lines)
cloudformation8% (34 lines)
ROOT0% (0 lines)
utils0% (0 lines)
Longest Duplicates
The list of 9 longest duplicates.
See data for all 9 duplicates...
Size#FoldersFilesLinesCode
57 x 2 scripts
scripts
15:96 (82%)
15:96 (79%)
view
12 x 2 src/main/resources
src/main/resources
27:40 (40%)
22:35 (48%)
view
10 x 2 cloudformation
src/main/resources
331:340 (2%)
10:19 (33%)
view
8 x 2 cloudformation
cloudformation
217:224 (2%)
228:235 (2%)
view
8 x 2 cloudformation
src/main/resources
351:358 (2%)
27:34 (32%)
view
8 x 2 scripts
scripts
14:24 (40%)
16:26 (18%)
view
8 x 2 cloudformation
src/main/resources
351:358 (2%)
32:39 (26%)
view
7 x 2 src/main/scala/PlutoNextGen
src/main/scala/PlutoNextGen
44:50 (12%)
55:61 (12%)
view
6 x 2 scripts
scripts
3:10 (30%)
3:10 (13%)
view
Most Frequent Duplicates
The list of 3 most frequently found duplicates.
Size#FoldersFilesLinesCode
6 x 3 cloudformation
src/main/resources
src/main/resources
351:356 (1%)
27:32 (24%)
32:37 (20%)
view
6 x 3 cloudformation
src/main/resources
src/main/resources
352:357 (1%)
28:33 (24%)
33:38 (20%)
view
6 x 3 cloudformation
src/main/resources
src/main/resources
353:358 (1%)
29:34 (24%)
34:39 (20%)
view
Duplicated Units
The list of top 2 duplicated units.
See data for all 2 unit duplicates...
Size#FoldersFilesLinesCode
20 x 2 scripts
scripts
37:60 
37:60 
view
15 x 2 scripts
scripts
63:79 
63:79 
view
About This Analysis
  • 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...