facebookresearch / av_hubert
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:
    • 7,722 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 3,441 duplicated lines
  • 1,018 duplicates
system44% (3,441 lines)
Duplication per Extension
yaml98% (2,889 lines)
py11% (552 lines)
Duplication per Component (primary)
avhubert/conf/pretrain99% (1,383 lines)
avhubert/conf/finetune98% (1,065 lines)
avhubert/conf/av-finetune99% (441 lines)
avhubert9% (321 lines)
avhubert/clustering24% (121 lines)
avhubert/preparation11% (110 lines)
avhubert/misc0% (0 lines)
avhubert/conf0% (0 lines)

Duplication Between Components (50+ lines)

G avhubert/conf/av-finetune avhubert/conf/av-finetune avhubert/conf/finetune avhubert/conf/finetune avhubert/conf/av-finetune--avhubert/conf/finetune 1420 avhubert/conf/pretrain avhubert/conf/pretrain avhubert/conf/av-finetune--avhubert/conf/pretrain 216 avhubert/conf/finetune--avhubert/conf/pretrain 240 avhubert/clustering avhubert/clustering avhubert avhubert avhubert/clustering--avhubert 60

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 1,018 duplicates...
Size#FoldersFilesLinesCode
109 x 2 avhubert/conf/finetune
avhubert/conf/finetune
large_vox_30h.yaml
large_vox_433h.yaml
3:121 (100%)
3:121 (100%)
view
109 x 2 avhubert/conf/finetune
avhubert/conf/finetune
self_large_vox_30h.yaml
self_large_vox_433h.yaml
3:121 (100%)
3:121 (100%)
view
98 x 2 avhubert/conf/pretrain
avhubert/conf/pretrain
base_vox_iter2.yaml
base_vox_iter3.yaml
3:113 (100%)
3:113 (100%)
view
97 x 2 avhubert/conf/pretrain
avhubert/conf/pretrain
base_lrs3_iter2.yaml
base_lrs3_iter4.yaml
3:112 (100%)
3:112 (100%)
view
97 x 2 avhubert/conf/pretrain
avhubert/conf/pretrain
base_lrs3_iter2.yaml
base_lrs3_iter3.yaml
3:112 (100%)
3:112 (100%)
view
97 x 2 avhubert/conf/pretrain
avhubert/conf/pretrain
base_lrs3_iter3.yaml
base_lrs3_iter4.yaml
3:112 (100%)
3:112 (100%)
view
83 x 2 avhubert/conf/finetune
avhubert/conf/finetune
large_lrs3_433h.yaml
large_vox_30h.yaml
3:94 (76%)
3:94 (76%)
view
83 x 2 avhubert/conf/finetune
avhubert/conf/finetune
large_lrs3_433h.yaml
large_vox_433h.yaml
3:94 (76%)
3:94 (76%)
view
83 x 2 avhubert/conf/finetune
avhubert/conf/finetune
base_lrs3_30h.yaml
base_vox_30h.yaml
3:94 (78%)
3:94 (78%)
view
82 x 2 avhubert/conf/av-finetune
avhubert/conf/av-finetune
base_noise_pt_noise_ft_433h.yaml
large_noise_pt_noise_ft_433h.yaml
3:93 (75%)
3:93 (73%)
view
79 x 2 avhubert/conf/finetune
avhubert/conf/finetune
base_vox_30h.yaml
large_vox_30h.yaml
3:90 (74%)
3:90 (72%)
view
79 x 2 avhubert/conf/finetune
avhubert/conf/finetune
base_vox_30h.yaml
large_vox_433h.yaml
3:90 (74%)
3:90 (72%)
view
79 x 2 avhubert/conf/finetune
avhubert/conf/finetune
base_lrs3_30h.yaml
large_vox_433h.yaml
3:90 (74%)
3:90 (72%)
view
79 x 2 avhubert/conf/finetune
avhubert/conf/finetune
base_vox_30h.yaml
large_lrs3_433h.yaml
3:90 (74%)
3:90 (72%)
view
79 x 2 avhubert/conf/finetune
avhubert/conf/finetune
base_lrs3_30h.yaml
large_vox_30h.yaml
3:90 (74%)
3:90 (72%)
view
79 x 2 avhubert/conf/finetune
avhubert/conf/finetune
base_lrs3_30h.yaml
large_lrs3_433h.yaml
3:90 (74%)
3:90 (72%)
view
70 x 2 avhubert/conf/av-finetune
avhubert/conf/finetune
base_noise_pt_noise_ft_30h.yaml
base_vox_30h.yaml
46:121 (64%)
43:118 (66%)
view
69 x 2 avhubert/conf/pretrain
avhubert/conf/pretrain
large_vox_iter5.yaml
noise_large_vox_iter5.yaml
42:117 (67%)
44:119 (65%)
view
65 x 2 avhubert/conf/pretrain
avhubert/conf/pretrain
base_vox_iter5.yaml
noise_base_vox_iter5.yaml
42:113 (66%)
44:115 (64%)
view
64 x 2 avhubert/conf/pretrain
avhubert/conf/pretrain
base_vox_iter3.yaml
base_vox_iter4.yaml
3:77 (65%)
3:77 (65%)
view
Duplicated Units
The list of top 3 duplicated units.
See data for all 3 unit duplicates...
Size#FoldersFilesLinesCode
9 x 2 avhubert/preparation
avhubert/preparation
count_frames_slurm.py
count_frames.py
0:0 
0:0 
view
8 x 2 avhubert/preparation
avhubert/preparation
count_frames_slurm.py
count_frames.py
0:0 
0:0 
view
7 x 2 avhubert/preparation
avhubert/preparation
lrs3_noise.py
musan_prepare.py
0:0 
0:0 
view