facebookresearch / habitat-challenge
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
  • 45% duplication:
    • 455 cleaned lines of cleaned code (without empty lines, comments, and frequently duplicated constructs such as imports)
    • 209 duplicated lines
  • 11 duplicates
system45% (209 lines)
Duplication per Extension
yaml81% (209 lines)
Duplication per Component (primary)
configs81% (209 lines)
ROOT0% (0 lines)
Longest Duplicates
The list of 11 longest duplicates.
See data for all 11 duplicates...
Size#FoldersFilesLinesCode
20 x 2 configs
configs
challenge_pointnav2021.local.rgbd.yaml
challenge_pointnav2021.local.rgbd_tes...
32:54 (38%)
30:52 (40%)
view
19 x 2 configs
configs
ddppo_objectnav.yaml
ddppo_pointnav.yaml
1:20 (35%)
1:20 (35%)
view
18 x 2 configs
configs
challenge_pointnav2021.local.rgbd.yaml
challenge_pointnav2021.local.rgbd_tes...
1:18 (34%)
1:18 (36%)
view
17 x 2 configs
configs
ddppo_objectnav.yaml
ddppo_pointnav.yaml
33:51 (31%)
33:51 (31%)
view
10 x 2 configs
configs
challenge_pointnav2021.local.rgbd.yaml
challenge_pointnav2021.local.rgbd_tes...
20:30 (19%)
19:29 (20%)
view
8 x 2 configs
configs
ddppo_objectnav.yaml
ddppo_pointnav.yaml
55:68 (14%)
55:68 (14%)
view
7 x 2 configs
configs
challenge_objectnav2021.local.rgbd.yaml
challenge_pointnav2021.local.rgbd.yaml
9:15 (14%)
7:13 (13%)
view
7 x 2 configs
configs
challenge_objectnav2021.local.rgbd.yaml
challenge_pointnav2021.local.rgbd_tes...
9:15 (14%)
7:13 (14%)
view
6 x 2 configs
configs
challenge_objectnav2021.local.rgbd.yaml
challenge_pointnav2021.local.rgbd_tes...
1:6 (12%)
1:6 (12%)
view
6 x 2 configs
configs
challenge_objectnav2021.local.rgbd.yaml
challenge_pointnav2021.local.rgbd.yaml
1:6 (12%)
1:6 (11%)
view
6 x 2 configs
configs
ddppo_objectnav.yaml
ddppo_pointnav.yaml
24:31 (11%)
24:31 (11%)
view